Reinforcement Learning from Verifiable Rewards

Michael BrenndoerferNovember 29, 20263 min read
Language AI HandbookAll chapters
Part 40 of 67Reasoning Post-Training and Verifiable Rewards
Chapter 300Reinforcement Learning from Verifiable Rewards
Reading section 1 of 12 · Reinforcement Learning from Verifiable Rewards · 3 minSection 1 of 12 · 3 min

Section 1 of 12 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Suppose a math model answers 3 + 4 with “7, but I will go with 8.” A verifier that reads the first integer gives that answer full credit. If training increases the probability of responses the verifier rewards, the dashboard can report progress even when the model is giving more wrong answers than a policy trained on a sound check. The same measurement problem appears with learned reward models in reinforcement learning from human feedback (RLHF): training targets the score it sees, which can diverge from the quality people care about.

In reinforcement learning from verifiable rewards (RLVR), a checker scores each sampled response against a specification. The resulting score helps drive a policy update. Tülu 3 used PPO with deterministic verification functions for math answers and checkable instructions. DeepSeek-R1-Zero used rules for accuracy and format. These methods use different policy updates. They share a reward signal derived from a check.

For tasks with reliable automated checks, RLVR can reduce the need to collect labels for individual responses. A comparator over bounded integer sums, for example, is inexpensive and reproducible. Running a program against a large test suite can cost much more than checking a single integer. A timeout can also make the observed result depend on the execution environment. A learned reward model can also produce deterministic scores at inference, but changing a rule-based check gives you a direct way to test the changed behavior.

Three quantities distinguish the reward signal from the behavior it is meant to encourage.

  • The verifier score V(x,y)V(x,y) is a number a program returns after reading the response string.
  • Genuine correctness C(x,y)C(x,y) is whether the response actually solves the problem.
  • The policy update is what gradient ascent does to πθ\pi_\theta given a stream of VV values.

The reward objective in this chapter uses VV. When VV gives a high score to a response with low CC, optimization can shift probability toward that response if the policy can sample it and the update favors it. In the arithmetic experiment, a flawed checker rewards the hedged answer. A separate correctness label exposes where the two signals disagree.

We will formalize the training objective, trace the stages of an automatic check, and run a small arithmetic experiment where the checker gives the same maximum reward to correct and incorrect outputs.

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