What is reinforcement learning with verifiable rewards (RLVR)?
Reinforcement learning with verifiable rewards is a reinforcement learning approach that trains a language model on rewards computed automatically by a verifier program, such as whether a maths answer is correct or code passes its tests, rather than by a learned reward model.
Unlike a reward model, a fallible scorer learned from human preferences, a verifiable reward rests on an exact rule. Algorithms such as Group Relative Policy Optimisation or Proximal Policy Optimisation update the model with this reward; RLVR defines how the reward is obtained.
- Topic
- Machine learning, models and training
- Also known as
- RLVR
- Origin
- 2024, Lambert et al.
How reinforcement learning with verifiable rewards (RLVR) works
- Tasks are chosen whose correct answer is known or whose output can be checked automatically.
- The model produces one or more answers to each task.
- A verifier checks the answer: does it match, do tests pass, is the format right; the outcome becomes the reward.
- The model is updated with this reward using a policy optimisation algorithm.
In more detail
The emergence of long reasoning
A landmark finding of RLVR research (exemplified by DeepSeek-R1) is that training purely with outcome-based verifiable rewards induces emergent test-time reasoning behaviours, such as generating longer chains of thought, backtracking and self-verifying intermediate steps, without explicit step-level supervision. This directly links RLVR to inference-time compute scaling.
Multi-turn agentic RLVR and semi-verifiable tasks
Recent extensions broaden RLVR beyond isolated single-turn maths and coding into multi-turn agentic environments (such as resolving repository-level issues or interacting with enterprise APIs in a sandbox) and rubric-based semi-verifiable tasks where deterministic checks are paired with structured LLM-as-a-Judge criteria.
Commonly confused terms
| Term | How it differs |
|---|---|
| RLHF and RLAIF | RLVR uses rule-based, verifiable ground-truth checks (math equivalence, compilers, unit tests) and avoids learned reward bias on objective tasks, whereas RLHF and RLAIF rely on learned preference models or LLM judges for subjective qualities like helpfulness, tone and safety. |
| Inference-time verification | Best-of-N or verifier reranking filters candidate outputs at inference time without updating model weights, whereas RLVR uses verifier outcomes during training to permanently improve the model's reasoning policy. |
Why reinforcement learning with verifiable rewards (RLVR) matters for on-premises AI
RLVR enables reinforcement learning without human labelling where rewards follow an exact rule; verifiers run in-house using the organisation's own rules and test data. Exploitation risk is lower than with learned reward models but not zero: if the verifier checks only format, the model can learn wrong answers that look right. It suits only tasks with checkable answers; on its own it does not cover qualities such as tone or helpfulness.
A software company trains its in-house coding assistant with reinforcement learning on verifiable rewards drawn from unit tests in its own codebase; answers passing tests are rewarded while test coverage is reviewed regularly.
Common questions
Which tasks is RLVR used for?
Tasks whose answers can be checked automatically: maths, code generation, query generation and compliance with format rules.
Does RLVR fully prevent reward hacking?
No. It lowers the risk, but blind spots in the verifier can be exploited. The verifier must be tested while outputs are evaluated separately.
Related terms
- Reinforcement learning
- Group Relative Policy Optimisation
- Proximal Policy Optimisation
- Reward model
- Reward hacking
- Reasoning model
Sources
- Lambert et al., Tulu 3: Pushing Frontiers in Open Language Model Post-Training, 2024
- Shao et al., DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models, 2024
In the glossary: Glossary, R to Z