Reinforcement Learning from Verifiable Rewards › Why Verifiable Rewards

Michael BrenndoerferNovember 29, 20265 min read
Language AI HandbookAll chapters
Part 40 of 67Reasoning Post-Training and Verifiable Rewards
Chapter 300Reinforcement Learning from Verifiable Rewards › Why Verifiable Rewards
Reading section 2 of 12 · Why Verifiable Rewards · 5 minSection 2 of 12 · 5 min

Section 2 of 12 · 5 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

In a conventional preference-based pipeline, human comparisons can train a scoring model. The fitted model supplies a proxy for the objective used to update the policy. Annotator disagreement, poor predictions, and overoptimization can be examined separately.

The cost of a preference label

In the handbook’s RLHF pipeline, annotators compare two responses to a prompt. A Bradley–Terry-style likelihood can fit a reward model rϕr_\phi to those comparisons. A subsequent PPO stage can optimize its scores while penalizing divergence from a reference policy.

  • Marginal labeling cost. On a task poorly covered by the existing preferences, some new comparisons may be needed.
  • Reward model error. A reward model fitted to finite preference data can be inaccurate on responses that differ from its training examples.
  • Optimization pressure. In a controlled synthetic experiment, Gao et al. (2023) used a fixed learned reward model to supply labels for a training proxy. Their gold model's score could fall as optimization continued against the proxy. This evaluates the divergence of two models' scores under optimization. An optimizer can use a scalar reward without differentiating the reward model itself.

The available labels and model fit jointly determine how much you can trust the resulting scores. A shift in which responses the policy samples can expose inaccuracies that were uncommon in validation.

A verifier can replace per-response preference labeling when you already have a usable specification and reference data. The response is scored by executing the check. The check's output can still differ from the intended label, for example because a parser treats an intermediate number as the answer.

What a verifier replaces

Write the checker’s scalar score as V(x,y)V(x,y), with its answer key and evaluation configuration held fixed. In the binary deterministic case its score is an indicator. It is one when the check passes.

V(x,y)=1[Check⁡(x,y)=true]V(x, y) = \mathbb{1}\left[\operatorname{Check}(x, y) = \text{true}\right]

where:

  • x∈Xx \in \mathcal{X}: the prompt drawn from the task distribution
  • y∈Yy \in \mathcal{Y}: the response string produced by the policy
  • Check⁡(x,y)\operatorname{Check}(x, y): a deterministic program that returns whether the response passes the check
  • 1[⋅]\mathbb{1}[\cdot]: the indicator function, returning 11 when its argument is true and 00 otherwise

A check can compare an extracted answer with a gold value, run a bounded test suite, ask a proof assistant to check a proof term, or validate JSON against a schema. Each checks a specified property of the response.

RLVR

Reinforcement learning from verifiable rewards uses a checkable property of a response to supply a reward during post-training. The check can depend on fixed side information such as an answer key, validation fixtures or a simulator configuration. Binary deterministic verification is the simplest case. The checker and the choice of policy optimizer are separate decisions.

A deterministic checker gives repeatable scores when its input, reference data and environment are fixed. Approximate or randomized evaluation needs its own protocol, with a record of the data and randomness used. Some aspects of quality, such as the usefulness of an open-ended explanation, lack a reliable automatic check.

A reproducible verifier helps isolate failures. If the same cached response changes its score after a checker update, compare the two checker versions before interpreting a change in the policy. Rerunning the whole policy introduces a separate source of variation through sampling.

A practical first question is whether checking a candidate is cheaper or easier to automate than producing a good one. Arithmetic and proof checking illustrate the distinction. A rule for checking a story's word count is easy to write, but a check on its overall quality is a different specification.

The scatter plot uses invented coordinates to illustrate verification cost and generation difficulty as separate dimensions. The shaded rectangle highlights tasks assigned a verification cost of at most 0.4 and a generation difficulty of at least 0.5. The boundary is a teaching device.

VisualizationOut [3]
CollapseExpand
Scatter plot of task types by verification cost and generation difficulty.
Illustrative task coordinates. Integer arithmetic, unit-tested code and formal proof fall in the shaded region of low verification cost and higher generation difficulty, using plot thresholds of 0.4 and 0.5. JSON schema is below the generation threshold. The coordinates do not represent measurements.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy