AI Infra
0%
Part III · Chapter 21

Verifiable Rewards and Reasoning Transfer

AuthorChangkun Ou
Reading time~9 min

The previous chapters treated reward as a learned proxy for preference. That is the right tool for open-ended behavior: helpfulness, taste, tone, refusal calibration, and many forms of judgment. But some domains contain a different kind of signal. A code solution passes the tests or it does not. A math answer matches the checker or fails it, and a verifier either accepts a proof or rejects it. In those domains, post-training can train against an outcome rather than a person's estimate of quality.

That distinction is the hinge between this part and Part IV. Here the question is what kind of reward source enters the post-training loop. Chapter 28 then follows the algorithms that exploit that reward to train reasoning behavior.

A reward that is not a judge

A learned reward model estimates a preference:

rϕ(x,y)human or AI judgment of y for x.r_\phi(x,y) \approx \text{human or AI judgment of } y \text{ for } x.

Here, by contrast, a verifiable reward is a predicate:

rver(x,y)=1[check(x,y)=pass].r_{\text{ver}}(x,y) = \mathbf{1}[\operatorname{check}(x,y)=\text{pass}].

Here rverr_{\text{ver}} is one when the task checker passes and zero otherwise. The difference looks small in notation and large in practice. A learned reward can be wrong because it liked the style, missed the factual error, or never saw that region of the response distribution. A verifier can still be incomplete or mis-specified, but where it is sound it does not care whether the answer sounds confident. The model either satisfies the check or it does not.

prompt Prompt x sample Sample responses y_1 ... y_n prompt->sample learned Learned reward preference proxy sample->learned verifier Verifier unit test, answer check, proof checker sample->verifier pref Preference training RLHF, DPO, filtering learned->pref rlvr RL with verifiable rewards RLVR / rejection sampling verifier->rlvr eval Held-out evaluation human and checker pref->eval rlvr->eval
Figure 21.1. Two reward sources in post-training. Learned rewards cover open-ended behavior but are proxy signals; verifiable rewards are narrower but give direct pass/fail supervision. Mixed systems often use both.

This is why verifiable domains have become the proving ground for reasoning post-training. The expensive part of reasoning data is not merely the trace. It is knowing whether the trace got to a correct endpoint. Where a checker exists, the model can generate many candidates, the system can keep only those that pass, and training can move probability mass toward behavior the model already occasionally produced.

Figure 21.2. More selection pressure helps when the selector is reliable and can hurt when the selector is a proxy. Increase the selector reliability and the best-of-n curve stays useful longer; lower it and over-optimization appears earlier. Idealized.

From selection to training

The first step is selection. Cobbe et al. showed that sampling many reasoning solutions and using a trained verifier to choose among them could substantially improve math word-problem performance (Cobbe et al. 2021). The mechanism is simple: if a model has a nonzero chance of producing a correct solution, then best-of-nn (sample nn candidates and keep the best) can expose that latent capability, provided the selector can find it. Chapter 24 describes the inference-time version of that idea.

The second step is to train on the selected behavior. Rejection sampling fine-tunes on candidates that pass a scorer or verifier, which Chapter 23 treats as a data flywheel. Reinforcement learning with verifiable rewards, reinforcement learning with verifiable rewards (RLVR), goes further: sample on-policy completions (responses generated by the current model, not a fixed dataset), assign rewards from the checker, and update the policy. DeepSeekMath introduced GRPO, a lighter policy-gradient method for this setting that Chapter 28 takes up in detail (Shao et al. 2024). Tülu 3 coined the name RLVR and demonstrated it as one component of an open post-training recipe alongside SFT and DPO (Lambert et al. 2024), and DeepSeek-R1 then made the recipe visible at frontier scale: a base or cold-started model generates reasoning traces, receives rewards from answer checkers, and acquires longer deliberative behavior through RL (Guo et al. 2025).

The object being optimized can be sparse. A final answer checker gives a single bit at the end of a long trace. If the model never stumbles into a correct answer, no gradient can teach it where to go. If it sometimes gets there, the reward can amplify those paths. This is why cold-start data, curriculum, and prompt distributions matter. They place the policy close enough to successful trajectories that the verifier can begin selecting them.

Outcome rewards and process rewards

Outcome rewards score only the final answer. Process rewards score steps. For a trace z1,,zTz_1, \ldots, z_T ending in answer yy, an outcome reward is

rout(x,z1:T,y)=1[check(x,y)=pass].r_{\text{out}}(x,z_{1:T},y) = \mathbf{1}[\operatorname{check}(x,y)=\text{pass}].

Here the outcome reward ignores the intermediate path except for its final answer. A process reward is denser:

rproc(x,z1:T,y)=t=1Tγt1rt(x,zt).r_{\text{proc}}(x,z_{1:T},y) = \sum_{t=1}^{T} \gamma^{t-1} r_t(x,z_{\le t}).

Here rtr_t scores a prefix step and γ\gamma discounts later step scores. Lightman et al.'s "Let's Verify Step by Step" showed that process supervision can outperform outcome supervision on math reasoning, and released PRM800K, roughly 800,000 step-level labels (Lightman et al. 2023). The appeal is obvious: the model gets a training signal before the final answer. The cost is just as important. Step labels are harder to define, harder to collect, and more likely to encode a style of reasoning rather than correctness itself. A learned PRM is also a reward model, so it can reintroduce the proxy failures that verifiable outcome rewards tried to avoid. Chapter 27 covers that boundary in more detail.

The practical rule is to separate the source of truth from the density of the signal. An exact final checker is sparse but grounded. A learned process model is dense but fallible. A strong system may use both: a verifier to anchor final correctness and a process model to guide search or credit assignment, with held-out checks to make sure the dense signal has not become the target.

What verifiers buy, and what they do not

Verifiers buy four things.

  • Less reward hacking. A unit test or exact answer checker is harder to flatter than a learned judge. It can still be incomplete, but it is not impressed by style.
  • Cheaper data. Correct traces can be discovered by sampling and filtering rather than written by humans.
  • On-policy improvement. The model trains on its own successful samples, not only on a teacher's distribution.
  • A bridge to inference. The same checker can train the policy, select among samples at inference, and evaluate held-out performance.

They do not buy universality. Many important tasks are not checkable. A helpful legal explanation, a nuanced research synthesis, and a product-support answer do not have a single executable truth predicate. Even in code, tests can be weak or leaked; in math, a final answer can be right for the wrong reason. Recent work on CoT-Pass@K, a stricter score that also requires the reasoning path to be sound, makes this point directly: ordinary pass@k (the fraction of problems solved within kk attempts) can count a sample as successful when the final answer is right but the reasoning path is not (Wen et al. 2025).

Between the checkable reward and the learned preference reward now sits a third option. Rubric-based rewards decompose an open-ended judgment into per-criterion checks, each graded by a model against a written rubric, and train on the aggregate score (Gunjal et al. 2025). That extends RLVR-style training into domains with no executable checker: medicine, law, research synthesis. It is how frontier labs grade such work, OpenAI's HealthBench among the examples; the price is that the grader is a model again, so each criterion re-imports a measure of the proxy risk the checker had removed.

The result is a mixed post-training stack. Use verifiable rewards where the world supplies a checker. Use learned rewards where it does not. Keep the boundary explicit, because the failure mode changes when the reward changes.

What's contested

Verifiable rewards are sometimes described as if they solve alignment by removing the human from the loop. They solve a narrower problem: how to train on tasks with checkable outcomes. The moment the task asks for judgment, taste, policy, or harm reduction, the system returns to specifications, rubrics, human labels, AI judges, and the proxy failures of the earlier chapters.

Constraint Arrow

A verifiable reward is only as strong as the environment that supplies the check. For math the check may be an answer equivalence test, for code a unit test suite, for agents a state transition in the environment. That ties this chapter downward to Chapter 27 and Chapter 52, and sideways to Chapter 31: sampling many candidates is useful only if the checker is reliable and cheap enough to run at the required scale.

  • Cobbe et al., “Training Verifiers to Solve Math Word Problems” (best-of-N reranking with a trained verifier), 2021. arXiv:2110.14168
    Training Verifiers introduces GSM8K and shows that sampling many solutions then selecting with a verifier can outperform directly fine-tuning the generator on math word problems.
  • Shao et al., “DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models” (introduces GRPO), 2024. arXiv:2402.03300
    DeepSeekMath combines a curated 120B-token math corpus with GRPO, a PPO variant that removes the critic and normalizes rewards within sampled groups.
  • Guo et al., “DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning” (peer-reviewed version of arXiv:2501.12948, published 17 September 2025; DOI 10.1038/s41586-025-09422-z), 2025. arXiv:2501.12948
    DeepSeek-R1 shows that large-scale RL with verifiable rewards can elicit long reasoning behavior, with R1-Zero using RL without supervised cold start and R1 adding multi-stage training for readability and stability.
  • Lightman et al., “Let's Verify Step by Step” (process reward models / PRMs), 2023. arXiv:2305.20050
    Let's Verify Step by Step compares outcome and process supervision for math reasoning and releases PRM800K, about 800,000 step-level labels.
  • Lambert et al., “Tulu 3: Pushing Frontiers in Open Language Model Post-Training” (open post-training recipe with RLVR), 2024. arXiv:2411.15124
    Tulu 3 is a fully open post-training recipe for Llama 3.1 base models, combining SFT, DPO, and RLVR with released data, weights, and training code.
  • Wen et al., “Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMs” (introduces CoT-Pass@K for the RLVR capability-boundary debate), 2025. arXiv:2506.14245
    This paper argues that ordinary Pass@K can credit correct answers with flawed reasoning and proposes CoT-Pass@K, requiring both reasoning path and final answer to be correct.
  • Gunjal et al., “Rubrics as Rewards: Reinforcement Learning Beyond Verifiable Domains” (rubric-based rewards extend RLVR-style training into non-verifiable domains), 2025. arXiv:2507.17746
    Rubrics as Rewards decomposes open-ended judgments into per-criterion, checklist-style rubrics graded by a model and used as the reward for on-policy RL, outperforming LLM-as-judge Likert baselines on HealthBench and GPQA-Diamond.

Comments

Log in to comment