Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
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.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: critic removal as the defining change + group-mean baseline formula + normalisation by group std + memory and infra accounting + variance trade-off at small N + adoption in DeepSeek-R1 and Qwen + when PPO is still preferred.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes 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.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.