How does GRPO compute advantages without a critic model?
GRPO samples K completions per prompt, z-scores their rewards within the group, and uses relative standing as the advantage — no critic network.
Imagine a teacher gives five students the same math problem and grades each answer. Instead of predicting how good each student is in general, the teacher compares their scores on this one problem only. Whoever did best relative to the others gets encouraged; whoever did worst gets nudged down. GRPO works the same way: sample several completions for one prompt, score them, normalize within that sibling group, and update the policy from those relative ranks — no separate value model needed.
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.
Interviewers ask about GRPO because reasoning post-training moved from heavyweight PPO stacks to critic-free group sampling. You need to explain the mechanism, not just name the acronym.
This walkthrough covers sampling, advantage math, why memory drops, and where the approximation fails — the same arc DeepSeek-R1 documentation follows.
From PPO critic to group-relative baseline
Classic PPO for language models pairs a policy with a value network that estimates expected return from each token position. The advantage tells the policy whether an action beat expectation.
Training two large networks on 32k-token reasoning traces is expensive. The critic also drifts when rewards are sparse — common in math RL where only the final boxed answer is checked.
GRPO asks a simpler question: among several completions for the same prompt, which ones are better? If all samples share identical context, their rewards are directly comparable without learning a global value function.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- DeepSeek-R1 uses GRPO-style group sampling with verifiable math rewards during RL post-training.
- DeepSeekMath popularized GRPO as a memory-efficient alternative to PPO critics on long CoT.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow does DAPO stabilize GRPO on long reasoning RL runs?
Cover dynamic sampling when groups tie, clip tweaks, and reward shaping for format/length.
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.
Saying GRPO needs a critic like PPO — the whole point is group-relative advantages replace the value baseline.
60 second bullets to scan on the way to the call.
What K completions are sampled per prompt
How rewards are normalized within the group
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.