GRPO (Group Relative Policy Optimization) has largely replaced PPO in 2025-2026 reasoning post-training recipes (DeepSeek-R1, Qwen2.5/3-Math, several open reasoning models). Explain the single biggest structural change GRPO makes versus PPO, the concrete memory and infrastructure win that follows, and one trade off you give up by dropping that component.
GRPO drops PPO's critic network and uses the mean reward across N rollouts per prompt as the baseline. Big memory and infra savings at scale, the trade is higher variance unless N is large enough.
Picture grading a class of essays without a fixed answer key. With a key, every essay gets compared to one ideal and you mark each one above or below it. With no key, you instead read several essays on the same topic, take the class average, and grade each essay as better or worse than the rest of the batch. The class becomes its own benchmark. The first method needs a teacher who has spent ages writing keys; the second method needs only a stack of essays per topic. It is cheaper and faster, but the grades wobble if the batch is small and the topic is unusually easy or hard. GRPO is the second method applied to model rollouts.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Between 2024 and 2026, the default RL stage for reasoning post-training quietly switched from PPO to GRPO. The published recipes for DeepSeek-R1, Qwen 2.5 Math, Qwen 3 Math, and the open-source reproductions like Open-R1 all use GRPO, and the major training stacks now ship it as a first-class trainer next to PPOTrainer and DPOTrainer. The switch was not driven by marginal accuracy gains. It was driven by scale.
PPO works fine at the 7B and 13B scales most RLHF was first developed at, but it carries a heavy fixed cost: a learned value function, the critic, which is a second neural network roughly the size of the policy. At 70B and beyond, the critic plus its Adam optimizer state was eating roughly half the model-side VRAM budget, and the distributed training graph had to coordinate two models in lockstep. GRPO removes the critic entirely and replaces it with a baseline computed from samples you already had to generate. The memory savings unlock the next scale class of reasoning models, and the simpler training graph cuts the failure surface of multi-GPU runs.
This deep dive walks the exact change, accounts for the memory and infrastructure savings, explains the variance trade-off that the change imposes, and covers the practical settings that 2026 recipes have converged on.
What PPO needs the critic for
PPO's policy update multiplies the policy gradient by an advantage estimate. The advantage is the difference between the reward observed for a sampled action and an expectation of what the reward would have been on average from that state, the baseline.
Using raw reward as the advantage gives an unbiased policy gradient but with very high variance, because rewards vary widely across states even for the same policy. Subtracting any baseline that does not depend on the action keeps the gradient unbiased while reducing variance. The ideal baseline is the true value function V(s), the expected reward from state s under the current policy.
PPO learns V(s) with a critic network. The critic takes the state, the prompt and any generated prefix, and outputs a scalar value estimate. It is trained alongside the policy using a regression loss against observed returns. At LLM scale the critic is typically the same architecture as the policy with a small value head replacing the language-modelling head, so it is roughly the same parameter count as the policy.
This architecture works and is well understood, but it has two scaling problems. First, the critic doubles the model-side memory budget. Its weights, its Adam moments, and its gradient buffers all live alongside the policy's. Second, the critic doubles the distributed-training coordination burden. The training graph runs forward and backward through two models on every step, with sharding configs, weight syncs, and checkpoint saves doubled. At 70B and above this becomes the bottleneck.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- DeepSeek-R1 used GRPO as its core RL stage in 2025, and the published recipe became the reference implementation for open reasoning models.
- Qwen 2.5 Math and Qwen 3 Math reasoning families adopted GRPO and showed it scales cleanly to 70B-class policies with group sizes of 16.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does GRPO normalise the advantage by the group standard deviation rather than just subtracting the mean?
Normalisation keeps the advantage scale roughly constant across prompts of different difficulty. Without it, easy prompts where all rollouts score high produce tiny advantages and hard prompts produce huge ones, which destabilises the policy gradient. The std normalisation gives every prompt a roughly comparable signal.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Calling GRPO a small tweak to PPO. The defining change is removing the critic entirely, which is what unlocks the memory and infra savings. Without that, you do not have GRPO.
60 second bullets to scan on the way to the call.
Why PPO needs a critic and what role it plays in the advantage estimate
What GRPO replaces the critic with and how the baseline is computed
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.