Zenaique

How GRPO computes advantages without a critic model.

Short answer·Medium·4.0 · 0·~3 min·Asked atArize AiDatadogNetflix·Relevant atGoogleMeta
Attempt it

How does GRPO compute advantages without a critic model?

Free · 2 AI evals / day
TL;DR

GRPO samples K completions per prompt, z-scores their rewards within the group, and uses relative standing as the advantage — no critic network.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

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.

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 πθ\pi_\theta with a value network VϕV_\phi that estimates expected return from each token position. The advantage At=RtVϕ(st)A_t = R_t - V_\phi(s_t) 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.

The group advantage computation
Why RLVR domains are a natural fit
Failure modes and production-adjacent concerns
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

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.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow does DAPO stabilize GRPO on long reasoning RL runs?
A

Cover dynamic sampling when groups tie, clip tweaks, and reward shaping for format/length.

1 more follow-up an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Saying GRPO needs a critic like PPO — the whole point is group-relative advantages replace the value baseline.

Sign in to see all red flags and common mistakes.

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

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Match each RL algorithm trait to PPO or GRPO.
Match pairs·Medium