Reinforcement Learning with Verifiable Rewards
A post-training reinforcement learning regime where rewards come from externally checkable task outcomes rather than human preference labels alone.
Reinforcement Learning with Verifiable Rewards, usually shortened to RLVR, is a post-training method that uses reinforcement learning when a task outcome can be checked by an external verifier instead of relying only on human preference labels.
At a glance
Released
January 2025
Authors
DeepSeek-AI
Regime type
Training
Related modules
No related modules listed yet.
What It Is
Reinforcement Learning with Verifiable Rewards is a post-training regime for language models. The model acts as a policy, samples candidate answers or reasoning traces, and receives reward from deterministic checks on whether those outputs satisfy task rules. RLVR is most natural when the answer or behavior can be checked by an external verifier, such as exact-answer math grading, code unit tests, formal proof checkers, or other rule-based validators.Why It Exists
Many reasoning-heavy tasks have objectively checkable success criteria. A math problem may have one exact final answer, a programming task may pass or fail a test suite, and a logic puzzle may satisfy a rule-based grader. Those checks provide reward signals without asking humans to rank every model output. RLVR exists so teams can optimize models on those tasks with reinforcement learning while keeping the reward grounded in verifiable outcomes rather than subjective preference alone. Public work such as DeepSeek-R1 shows how verifier-based reinforcement learning can strengthen math and code reasoning when checkable rewards are available.How It Works
Training usually starts from a capable checkpoint, often after supervised fine-tuning. Each training step follows the same observable loop. First, a task prompt is drawn from a verifiable task distribution. The model samples a candidate response for that prompt. An external verifier checks whether the response passes the task rules, such as exact-answer grading, unit tests, or formal checks. The verifier outcome is turned into a reward signal, often a pass-or-fail score or a shaped numeric reward. A reinforcement learning optimizer then applies a policy update so higher-reward responses become more likely. The loop repeats across many prompts until the model improves on the verifiable task distribution.RLVR training flow
Task promptModel responseVerifier checkReward assignmentPolicy updateTask prompt to Model responseModel response to Verifier checkVerifier check to Reward assignmentReward assignment to Policy update
Request and reward flow