NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Reinforcement Learning from Verifiable Rewards (eBook) (rlvrbook.com)
Buttons840 5 hours ago [-]
I know RL generally. An important part of it is designing good reward functions, because ultimately the RL algorithm is simply trying to maximize the reward function. If you design a bad reward function, it might get stuck in a local optimum or optimize the wrong things.

What does this book teach beyond "create good reward functions"? I mean, that's a broad and important topic if that's all it teaches.

Or are "verifiable rewards" something more specific?

mlmonkey 5 hours ago [-]
I think "verifiable rewards" are rewards (outcomes) which can be objectively verified: like the answer to a math calculation, or a boolean ("xxx is true").
porridgeraisin 3 hours ago [-]
The term verifiable rewards is used in LLM-RL to refer to deterministically computed rewards as opposed to other commonly used techniques like human feedback driven rewards or LLM-as-a-judge-driven rewards.
Buttons840 3 hours ago [-]
Oh, is it specifically related to LLMs?
mkl 3 hours ago [-]
> Fortunately, we live in a world where AI slop writing is as intelligible as black from white.

What is this sentence trying to say? It seems like "intelligible" is meant to be "distinguishable" or something.

anon373839 3 hours ago [-]
Identifiable, I think.
pstrlabs 7 hours ago [-]
[dead]
docshock 9 hours ago [-]
I am reading your book.
Onavo 8 hours ago [-]
What's the difference between this and self supervised learning? And also have you had your code checked by another AI given Claude's propensity to sabotage anything machine learning related.
bigmadshoe 1 hours ago [-]
Self-supervised learning is generally about learning latent representations of the inherent structure of a large dataset without explicit labels. You are learning from a static dataset without generating new data.

RLVR is doing reinforcement learning on verifiable rewards. Reinforcement learning is a training paradigm where the system learns to maximize the expected return - defined as the expectation over the sum of discounted (rewards far ahead in time matter less) future rewards. Verifiable rewards mean that these rewards come from a verifiable source of truth for the task, for example a type checker, a compiler, known-correct static test cases, or formal verification systems like lean. Generally, the model will do online RLVR, which means it is generating new trajectories (tokens/tool calls in the case of LLMs), which are graded by the reward function and in turn update the model.

You can intuitively understand the difference by considering where the signal comes from in each process:

In self-supervised learning, the signal all comes from the data (and arguably the choice of algorithm) - in a sense we are uncovering structure that was already present in the data.

In RLVR, the signal primarily comes from the environment via the reward function - we are learning how observations and actions relate to success in a given task.

Let me know if that makes sense!

shw1n 7 hours ago [-]
Self-supervised learning - you know the correct answer and “learn” that (eg next token)

RL - you don’t know the answer but have a scoring function that grades your guess (operates on the semantic meaning of token sequences rather than the token itself)

I actually just published a post yday on this:

https://shwin.co/blog/boosting-small-model-token-efficiency-...

mlmonkey 5 hours ago [-]
If you already have a model that knows right from wrong (the on that "grades your guess"), why not just use that instead?

My guess is that in RLVR, you want to also learn how to get to the reward. So you also rate the process (the so-called "Process Reward Model" or PRM). e.g., if you want to train a theorem proof generator, it's not enough to just say "theorem is true" or "theorem is false", you also want to generate a sequence of tokens that constitutes the proof.

Maybe I'm just displaying my ignorance here; happy to be corrected. :-)

kbwal7 4 hours ago [-]
There are problems easy to verify but hard to solve. E.g. seeing a leetcode problem was solved correctly (ignoring formalization) is as simple as throwing a bunch of test cases and seeing if the outputs of the function match (this is really simple to implement!). Actually making a model that can generally solve leetcode problems, however, is far more difficult.

Or, on the formalization aspect, it is easy to give reward signal on whether a math proof is correct: did the lean compile (and perhaps some LLM judge determines whether you proved the wrong statement / snuck in something bad). Lean, however, is not itself something that can create proofs, it's a verifier

adw 4 hours ago [-]
Training a smaller student model, transferring capabilities more generally (from specialists to generalists), etc etc etc.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 01:25:02 GMT+0000 (Coordinated Universal Time) with Vercel.