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?
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").
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.
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)
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. :-)
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?
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").
I am reading your book.
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.
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-...
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. :-)