Two chapters back, RLVR replaced a learned reward model with a verifier that just checks the answer. One chapter back, GRPO replaced a learned critic with the group's own mean and standard deviation. Training a reasoning model isn't a third idea on top of those two — it's just running both, back to back, on one batch of sampled responses.
What is 12 x 7? (correct answer: 84)
Five responses, sampled from the same policy, to one arithmetic problem. Step through them — each one gets checked against the true answer exactly, no reward model anywhere in the loop.
One training step, two formulas, no new machinery:
- — sampled response from the current policy, one of responses to the same prompt.
- — RLVR's reward for response : exactly if the verifier accepts it, otherwise.
- — GRPO's advantage for response : reward normalized against the group's own mean and standard deviation.
- Sample a group
Draw responses to one prompt from the policy being trained — here, responses to one arithmetic problem.
- Verify each one (RLVR)
Check every response against ground truth with an exact-match verifier. No reward model fit on preference data, nothing to reward-hack.
- Normalize within the group (GRPO)
Turn those binary rewards into advantages using the group's own mean and standard deviation as the baseline — no critic network trained anywhere.
Same 5 responses, two views. The reward bars are flat and binary — four s, one . The advantage bars are not: the four correct responses each get a modest , but the one wrong response gets — four times the magnitude, purely because being wrong was rare in this group. That reshaping is GRPO's entire contribution, applied directly to RLVR's output.
Five sampled responses to "What is 12 x 7?" (correct answer: ): four answer "", one answers "".
- Verify (RLVR)
- "" appears four times → reward each
- "" → wrong → reward
Rewards: .
- Group statistics
- Mean
- This is a Bernoulli group, so variance
- Advantage (GRPO)
- Each correct response:
- The one wrong response:
- Nothing else was trained
No reward model, no value network — every number above came from a verifier and five samples' own statistics.
Find the response the verifier marks wrong -- the one with the most negative GRPO advantage.
This is the whole recipe behind training a model like DeepSeek-R1 to reason: sample a group of responses, verify each one exactly wherever a verifier exists, and normalize those rewards against the group's own statistics instead of a trained critic's guess. Nothing here is new — it's RLVR's verifier feeding GRPO's advantage, on one batch of samples, repeated across many batches until the policy reliably produces verifiably correct reasoning.