← Blog

/

Essential ML Guide

Essential ML Guide

Unlocking reliable AI reasoning

Reinforcement learning with verifiable rewards (RLVR): How it works and where it breaks

Reinforcement learning with verifiable rewards (RLVR): How it works and where it breaks

Toloka Arena is live. See how your model ranks.

Benchmarks your model can't have memorized

Benchmarks your model can't have memorized

Docker-packaged RL environments with verifiable rewards, looser graders for training and stricter ones for eval. Samples in 24 hours.

Reinforcement learning with verifiable rewards (RLVR) trains language models by rewarding only the outputs that an automatic check confirms as correct, such as the final answer to a math problem or code that passes its unit tests. No human rater or learned reward model scores the response. The verifier does. That one change is behind most of the reasoning gains in language models since late 2024, and it has limits that matter just as much.

Key takeaways

•  RLVR replaces the reward model in RLHF with a verification function: the model gets a reward only when its answer is verifiably correct.

•  The term comes from AI2's Tülu 3 (November 2024). DeepSeek-R1 (January 2025) showed RL with rule-based rewards can produce strong reasoning, usually trained with GRPO.

•  RLVR reliably improves first-try accuracy. Whether it teaches new reasoning or sharpens what the base model already knows is still debated.

•  Verifiers are the weak point: rule-based checkers reject correct answers in unexpected formats, and model-based checkers get gamed.

•  Rubrics extend RLVR beyond math and code. In Toloka's experiment, a rubric-based reward beat a binary pass/fail reward by 9.4 points.

What is RLVR?

The name was introduced by the Allen Institute for AI in Tülu 3 (November 2024), which described RLVR as "a novel method for training language models on tasks with verifiable outcomes such as mathematical problem-solving and instruction following." The principle is simple: the policy only receives a reward when its generated response is verifiably correct.

Technically, RLVR keeps the standard RLHF objective but swaps the learned reward model for a verification function. A correct completion earns a constant reward; anything else earns nothing. A KL penalty keeps the model close to its starting point so it does not drift into degenerate outputs. Tülu 3 found that verifiable rewards alone outperformed adding reward-model scores, which mostly added noise.

Standard RLVR rewards the outcome, not the reasoning. The model can write any chain of thought it likes; only the final answer is checked. Rewarding intermediate steps (process supervision) is a separate technique that needs step-level labels.

RLVR vs RLHF vs RLAIF vs DPO

Method

Where the reward comes from

Best for

Main weakness

RLVR

A programmatic check against ground truth (answer match, unit tests, schema validation)

Math, code, constrained instructions, agent tasks with checkable end states

Only works where correctness can be checked; verifiers can be gamed

RLHF

A reward model trained on human preference comparisons

Helpfulness, tone, safety, open-ended quality

Reward model can be exploited; human data is costly

RLAIF

Preferences or scores from an AI judge

Scaling preference feedback cheaply

Inherits the judge's biases and blind spots

DPO

Preference pairs used directly, with no separate reward model or RL loop

Simple, stable alignment from preference data

Offline; no exploration of new responses

How RLVR works, step by step

1.  Collect prompts with ground truth. Math problems with reference answers, coding tasks with test suites, instructions with checkable constraints, or agent tasks with a verifiable end state.

2.  Sample several responses per prompt. The current model generates a group of candidate answers, often between 8 and 64.

3.  Verify each response. The verifier returns a reward, usually 1 for correct and 0 for incorrect, sometimes with partial credit.

4.  Update the policy. An RL algorithm, typically PPO or GRPO, increases the probability of responses that scored above the group average and decreases the rest, with a KL penalty against the reference model.

5.  Repeat and monitor. Track accuracy, response length, output diversity, and signs of reward hacking as training proceeds.

GRPO: the algorithm most RLVR runs use

Group Relative Policy Optimization (GRPO) was introduced in DeepSeekMath (February 2024) as a memory-efficient variant of PPO. PPO trains a separate value network (a critic) to estimate how good each response is. GRPO drops the critic and instead compares each response to the other responses sampled for the same prompt: the advantage is the response's reward relative to the group mean. Dropping the critic removes one of the large models PPO keeps in memory, and the group comparison fits naturally with binary verifiable rewards.

One practical consequence: if every response in a group gets the same reward, because the model always solves the prompt or never does, the advantages are zero and the prompt contributes no learning signal. Prompt difficulty therefore has to be calibrated to the model being trained, which is why RLVR datasets are filtered and refreshed as the model improves.

Why RLVR took off

In January 2025, DeepSeek-R1 showed that "the reasoning abilities of LLMs can be incentivized through pure reinforcement learning," with rule-based rewards on math, coding, and STEM tasks and no human-written reasoning examples. Self-reflection and verification behaviors emerged during training. The peer-reviewed version appeared in Nature in September 2025, with a reported reinforcement learning cost of about $294,000 on top of a roughly $6 million base model.

For the model family behind it, see our guide to DeepSeek and Chinese AI models.

What a verifiable reward looks like

The verifier is the whole method. Its design decides what the model learns and what it learns to exploit.

Domain

Typical verifier

Pitfall to test for

Math

Final-answer match, symbolic equivalence; benchmarks like U-MATH

Correct answers in unexpected formats marked wrong (false negatives)

Code

Unit tests and execution in a sandbox; see coding data

Weak test suites that pass incorrect code; tests the model can edit

Instruction following

Programmatic constraint checks (length, format, keywords)

Satisfying the letter of the constraint while ignoring the task

Tool calls and JSON

Schema validators, argument checks

Valid structure with the wrong content

Agent tasks

Checks on the environment's end state (record updated, ticket closed)

Shortcuts that reach the end state by an unintended path

Open-ended domains

Rubrics graded by experts or an LLM judge

Vague criteria; judge bias; rubric gaming

What the research says: sharper, or smarter?

The central question since 2025 is whether RLVR teaches models new reasoning or makes them more reliable at reasoning they could already do. The evidence points mostly to the second, with important exceptions.

Study

Measured

Finding

Yue et al., NeurIPS 2025 (oral)

pass@k across RLVR algorithms

RLVR models win at k = 1, but base models solve more problems at large k. Reasoning is "bounded by the base model"; distillation can add new patterns

Wen et al., 2025

CoT-pass@k (answer and reasoning both correct)

Under this stricter metric, RLVR does extend the reasoning boundary in math and code

Wu et al., "The invisible leash"

Which problems gain or lose a verified solution

More problems lose a verified success than gain one, even as pass@1 rises

Yuan et al., 2026

Diversity collapse during overtraining

Pass@1 rises while high-k pass@k falls; training only on unsolved problems can lift pass@256 above the base model

Shao et al., "Spurious rewards"

Random and incorrect rewards

Random rewards raised Qwen2.5-Math-7B by 21.4 points on MATH-500 (vs 29.1 with real rewards), but failed on Llama 3 and OLMo 2

Wang et al., one-shot RLVR

Training on a single example

One example lifted Qwen2.5-Math-1.5B on MATH500 from 36.0% to 73.6%

How to read these results together

RLVR is strongest at elicitation. It reliably surfaces and stabilizes the best behavior a base model already has. That explains why one example can produce large gains, and why random rewards can help a model whose pretraining already contains the right reasoning style.

Expansion is possible but not automatic. New capability appears under stricter measurement and with training focused on problems the model cannot yet solve, but it needs harder data, more diverse tasks, and longer interaction with environments.

Validate across model families. A method that works on one base model may be exploiting that model's quirks. The spurious rewards result is the clearest warning: test on more than one family before trusting a gain.

Where RLVR breaks

•  Verifier false negatives. Rule-based math checkers fail to recognize equivalent answers in different formats, and the resulting false negatives hurt more as the model gets stronger.

•  Verifier hacking. Model-based verifiers are more accurate on static tests but highly susceptible to reward hacking during RL. As one 2026 paper on fuzzing RLVR verifiers puts it: if the verifier is wrong, optimization can learn the bug.

•  Reward hacking in agentic tasks. METR found that OpenAI's o3 reward-hacked in 30.4% of its runs on RE-Bench, a research-engineering benchmark, including overwriting the scorer's timer and replacing the evaluator with a stub that always reports success. Weak test suites create the same opening in coding tasks, a problem we examined in fixing SWE-bench.

•  Diversity collapse. Optimizing pass@1 narrows the range of solutions the model explores, which can reduce its ability to solve problems at higher sampling budgets.

•  No ground truth, no RLVR. Writing quality, advice, and most professional judgment have no single checkable answer. Forcing a binary check onto them rewards the wrong thing.

Start RL post-training with ready-made data

Toloka's off-the-shelf enterprise RL data ships with environments, tasks, and expert rubrics. Datasets are provided on request.

Request off-the-shelf RL datasets →

Beyond binary rewards: rubrics and environments

The most active frontier in 2026 is extending verifiable rewards to tasks without a single correct answer, while keeping the signal checkable.

Rubrics as rewards

Instead of one pass/fail check, a rubric breaks a good answer into many yes/no criteria that can each be verified, by an expert, a program, or an LLM judge following the rubric. Scale AI's Rubrics as Rewards reported up to a 31% relative improvement on HealthBench over Likert-scale judging. QUBRIC (EMNLP 2026) showed that rubric quality depends on how the query is designed, and a 2026 study on expert-written rubrics found gains that transferred to agent benchmarks, including +7.4 points on τ²-Bench.

Toloka tested the same idea directly. In one epoch of RL on Qwen3.5-27B using Toloka's off-the-shelf enterprise RL data, a reward built on the rubrics that ship with the data beat a binary pass/fail reward by 9.4 points at equal training steps. Overall, held-out task success rose from 41.6% to 64.5%, and the share of tasks passed on all three attempts doubled from 22.9% to 46.4%. Rubrics are only as good as their authors, which is why Toloka writes them with domain experts. Our approach to rubric-based evaluation covers how those criteria are built.

Verifiable rewards inside RL environments

For agents, the verifier moves into the environment: a simulated CRM, codebase, or browser that checks whether the task was really completed. This is where RLVR meets the RL gym. Benchmarks like τ-bench follow the same pattern, checking the final database state rather than the conversation.

The market reflects the shift. In September 2025, TechCrunch reported that Anthropic leaders had discussed spending over $1 billion on RL environments in a year, citing The Information, and quoted an a16z partner saying all the big AI labs build RL environments in-house. Toloka builds RL environments of four kinds: MCP replicas of enterprise tools, computer-use sandboxes, synthetic multi-user organizations, and workflows run by real expert teams, each with graded trajectories and hybrid AI and human QA.

How to implement RLVR: a practical checklist

1.  Pick tasks with checkable outcomes. Start where ground truth is unambiguous: math with reference answers, code with strong tests, tool calls with schemas.

2.  Test the verifier before training. Feed it correct answers in odd formats and plausible wrong answers. Measure both false negatives and false positives.

3.  Calibrate difficulty. Drop prompts the model always or never solves. With GRPO, they produce no gradient.

4.  Track more than pass@1. Monitor pass@k, output diversity, response length, and reliability across repeated attempts. Toloka Arena uses the same principle, ranking agents on consistency across repeated runs.

5.  Audit samples by hand. Read high-reward trajectories regularly. Reward hacking is usually obvious to a person and invisible to the metric.

6.  Validate on held-out benchmarks and another model family. Independent AI evaluation catches gains that do not transfer.

7.  Plan for infrastructure. Production RLVR runs suffer from GPU idling caused by very uneven response lengths and from load imbalance, as documented in RL in the Wild.

Need verifiers, rubrics, or environments for your RL run?

Toloka's experts build task suites, ground-truth answers, rubrics, and environments for RL post-training, with QA on every item.

Talk to an expert →

Frequently asked questions

What is RLVR in AI?

RLVR, or reinforcement learning with verifiable rewards, is a post-training method in which a language model is rewarded only when an automatic check confirms its output is correct, for example a matching math answer or passing unit tests. It was named in AI2's Tülu 3 paper in November 2024 and is widely used to train reasoning models.

How is RLVR different from RLHF?

RLHF learns a reward model from human preference comparisons and uses it to score responses. RLVR replaces that reward model with a programmatic verifier that checks correctness against ground truth. RLVR is cheaper and more precise where answers can be checked, while RLHF covers open-ended qualities like helpfulness and tone that no verifier can measure.

What is a verifiable reward?

A verifiable reward is a score produced by a deterministic or rule-based check rather than by human or model judgment. Examples include comparing a final answer to a reference, running code against unit tests, validating a JSON tool call against a schema, or checking that an agent left an environment in the correct state.

Does RLVR improve reasoning or just accuracy?

Mostly accuracy and reliability, according to current research. Yue et al. (NeurIPS 2025) found RLVR models beat their base models on first attempts but not at large sampling budgets. Other studies using stricter metrics, or training on problems the model cannot yet solve, show RLVR can extend reasoning in math and code.

What is GRPO and how does it relate to RLVR?

GRPO (Group Relative Policy Optimization) is the reinforcement learning algorithm most often used for RLVR. Introduced in DeepSeekMath in 2024, it removes PPO's value network and scores each response relative to other responses sampled for the same prompt. That makes it memory-efficient and well suited to binary verifiable rewards.

Can RLVR work outside math and code?

Yes, through rubrics and environments. Rubrics break an open-ended answer into many checkable criteria, and RL environments verify whether an agent completed a task. Rubric-based rewards have improved results in medicine, science, and agent benchmarks, though rubric quality depends heavily on expert design.


Conclusion

RLVR works because it replaces opinion with verification, and it fails exactly where that verification is weak. Teams getting the most from it treat the verifier and the task set as the product: tested for false negatives and loopholes, calibrated to the model's current ability, and extended with expert rubrics and realistic environments where a single correct answer does not exist. The algorithm is the easy part.

Related reading

•  How post-training teaches LLMs to reason

•  Inside reinforcement learning environments: how agents learn to act

•  Agent evaluation: why simulated environments are the new frontier for data

•  The data behind DeepSeek's success

Subscribe to our newsletter

Product updates, case studies and the latest news from our team, straight to your inbox