Skip to content
DAH

RL with verifiable rewards and GRPO for reasoning models

Training language models with reinforcement learning against rewards a program can check, such as exact answers or unit tests, usually with Group Relative Policy Optimization (GRPO). It drives current reasoning models.

On this page16 sections
Why other work relies on it

Open and proprietary reasoning models (DeepSeek-R1, Kimi k1.5, Tulu 3 and their descendants) are post-trained this way; the recipe also underlies the open RL training frameworks that other labs build on.

Training AI to reason by rewarding answers a computer can check, like correct maths results.

  1. 1Model writes several answers
  2. 2Program checks each answer
  3. 3Compare answers within the group
  4. 4Reinforce the better ones
  5. 5Does it learn new skills?

What it is for. For many maths and programming tasks a computer can check the answer: compare a final number with the known solution, or run unit tests on generated code. Reinforcement learning with verifiable rewards (RLVR) uses that check as the reward. This removes the learned reward model of RLHF and the risk of the model exploiting its flaws. It is how current reasoning models are post-trained to write long step-by-step solutions (chains of thought) before answering.

Example. The prompt is a competition maths problem whose answer is 204. The model writes eight attempts; the three ending in 204 get reward 1, the other five get 0.

GRPO. PPO needs a critic, a second network as large as the language model that predicts how good each partial answer is, which roughly doubles the memory needed. Group Relative Policy Optimization (GRPO, introduced in DeepSeekMath, 2024) drops it. It samples a group of GG answers to the same prompt and gives answer ii the advantage A^i=ri−mean(r1,…,rG)std(r1,…,rG),\hat A_i=\frac{r_i-\mathrm{mean}(r_1,\dots,r_G)}{\mathrm{std}(r_1,\dots,r_G)}, its reward minus the group average, divided by the standard deviation (the typical spread of the rewards). In words: an answer is reinforced if it beat its siblings. In the example the three correct answers get a positive advantage and the five wrong ones a negative one. The update then uses PPO's clipped objective plus a KL penalty that keeps the model near a reference copy.

R1-Zero and refinements. DeepSeek-R1-Zero (2025) applied this to a pretrained base model with no example reasoning and reported self-checking behaviour emerging during training; the work appeared in Nature in September 2025. DAPO (2025) changed four details (separate clip ranges, discarding groups where all answers score the same and therefore carry no signal, a token-level loss, and length shaping) and reported 50 points on AIME 2024 with Qwen2.5-32B. Dr. GRPO argues that GRPO's normalisations bias it toward long wrong answers.

The open question. pass@kk is the probability that at least one of kk samples is correct. If RL only sharpens what the base model could already do, the RL model wins at k=1k=1 but the base model catches up at large kk. Yue et al. (2025, preprint) report exactly this pattern; ProRL (2025, preprint) reports the opposite after much longer training. A 2025 preprint (ScaleRL, more than 400,000 GPU-hours) fits S-shaped curves of performance against compute and predicted a single run scaled to 100,000 GPU-hours.

Go deeper

The full technical text.

What changed

RLHF needs a learned reward model, which can be exploited. For maths, code and some logic tasks, correctness can be checked by a program: compare a final answer, run unit tests. Reinforcement learning with verifiable rewards (RLVR; the name was introduced in the Tulu 3 report, 2024) optimises the model directly on such a binary or rule-based reward. DeepSeek-R1-Zero (DeepSeek-AI, 2025) applied RL with rule-based accuracy and format rewards to a pretrained base model with no supervised reasoning demonstrations and reported emergent behaviours such as self-reflection and verification; the final paper appeared in Nature in September 2025.

GRPO

PPO needs a learned value network the size of the policy to compute advantages, which is costly for large language models. Group Relative Policy Optimization, introduced in DeepSeekMath (Shao et al., 2024), samples a group of GG responses per prompt, scores them, and uses the group-normalised reward as the advantage of every token in a response:

A^i=ri−mean⁡(r1,…,rG)std⁡(r1,…,rG).\hat A_i=\frac{r_i-\operatorname{mean}(r_1,\dots,r_G)}{\operatorname{std}(r_1,\dots,r_G)}.

It then applies a PPO-style clipped objective with a KL penalty to a reference model. No critic is trained.

Known refinements and criticisms

  • DAPO (Yu et al., 2025) lists four changes: decoupled clip ranges, dynamic sampling that discards groups with all-correct or all-wrong rewards, token-level loss, and overlong-response reward shaping. It reports 50 points on AIME 2024 with Qwen2.5-32B and releases code built on verl.
  • Dr. GRPO (Liu et al., 2025) argues that the length normalisation and the standard-deviation term bias GRPO toward longer incorrect responses, and proposes an unbiased variant. The same study finds that some Qwen2.5 base models already show strong reasoning behaviour without a prompt template, which complicates attribution of gains to RL.
  • Kimi k1.5 (2025) reports a critic-free long-context RL recipe with comparable results.

The central scientific question

Does RLVR give a model reasoning ability it did not have, or does it make the model sample already-latent solutions more reliably? Yue et al. (2025, preprint) evaluate pass@kk with kk up to 128, 256 or 1024 depending on the benchmark and report that RL-trained models win at small kk but base models catch up and sometimes overtake at large kk, concluding that RLVR "narrows coverage" and that distillation from a stronger teacher, unlike RL, does extend the boundary. ProRL (NVIDIA, 2025, preprint) reports that prolonged RL with KL control and reference resets does expand the boundary, including problems the base model never solves. The "invisible leash" analysis (2025, preprint) finds, question by question, that lost verified successes outweigh new ones at the tested budgets. The question is unsettled and depends on base model, task, training length and sampling budget.

Compute and scaling

The Art of Scaling RL Compute (Khatri et al., 2025, preprint) fits sigmoidal compute-to-performance curves over more than 400,000 GPU-hours and reports that stable recipes extrapolate from small runs to a single 100,000 GPU-hour run.

Practice

The main open training stacks are verl, TRL and the Open-R1 reproduction effort.

Words on this page (12)
Words on this page
language model
A neural network trained to predict the next piece of text, which can then write answers, code and essays.
reward
A number the environment gives after each action, telling the agent how well it is doing.
PPO
Proximal Policy Optimization: a popular RL algorithm that limits how far each update can move the policy.
KL divergence
A measure of how different one probability distribution is from another. Used to keep a new policy close to an old one.
chain of thought
Step-by-step reasoning written out by the model before it gives a final answer.
pass@k
The chance that at least one of k tries at a problem is correct.
base model
A language model after pretraining on text but before the extra training that makes it follow instructions or reason.
distillation
Training a model to imitate a stronger model's outputs.
critic
A second network that estimates how good a situation is, used by some RL methods.
standard deviation
A measure of spread: roughly the typical distance of values from their average.
unit test
A small automatic program that checks whether a piece of code gives the expected output on a given input.
advantage
How much better an action turned out than the average or expected outcome; positive advantages are reinforced, negative ones discouraged.
New to this? Read first (3)

Understanding map

map of the whole wiki →

What to read before RL with verifiable rewards and GRPO for reasoning models (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then

Open problems & questions

Progress timeline

  1. Oct 15, 2025
    RL scaling study

    A 400,000 GPU-hour study (preprint) fits sigmoidal compute curves and extrapolates to a 100,000 GPU-hour run.

    source
  2. Oct 15, 2025
    Sigmoidal RL scaling study
    Related to: Do RL compute-performance curves for LLMs extrapolate across models, domains and recipes?

    A 400,000 GPU-hour preprint fits compute curves and predicts a 100,000 GPU-hour run.

    source
  3. Jul 20, 2025
    Support-dynamics analysis
    Related to: Does RLVR create new reasoning ability or only sharpen the base model? A pass@k protocol that separates the two

    Question-level matching finds shrinkage of verified support outweighs expansion at tested budgets (preprint).

    source
  4. May 30, 2025
    ProRL counter-evidence

    NVIDIA researchers (preprint) report that prolonged RL expands the reasoning boundary on tasks where base models fail entirely.

    source
  5. May 30, 2025
    ProRL evidence for expansion
    Related to: Does RLVR create new reasoning ability or only sharpen the base model? A pass@k protocol that separates the two

    Prolonged RL is reported to solve problems that base models fail regardless of sampling (preprint).

    source
  6. Apr 18, 2025
    Pass@k evidence against expansion
    Related to: Does RLVR create new reasoning ability or only sharpen the base model? A pass@k protocol that separates the two

    Yue et al. report base models matching or exceeding RL models at large k (preprint).

    source
  7. Apr 18, 2025
    Pass@k challenge to RLVR

    Yue et al. (preprint) report that RLVR-trained models do not exceed base models at large pass@k.

    source
  8. Mar 18, 2025
    DAPO open system

    ByteDance Seed and collaborators release an open large-scale RL system reporting 50 AIME 2024 points with Qwen2.5-32B.

    source
  9. Jan 22, 2025
    DeepSeek-R1 and Kimi k1.5

    Two technical reports describe RL against verifiable rewards producing long chain-of-thought reasoning; R1-Zero uses no supervised reasoning data.

    source
  10. Nov 22, 2024
    RLVR named

    The Tulu 3 report describes RL with verifiable rewards as a post-training stage for an open model family.

    source
  11. Feb 5, 2024
    GRPO introduced

    DeepSeekMath proposes Group Relative Policy Optimization, a PPO variant without a value network.

    source