What is GRPO? Group Relative Policy Optimization, Explained

November 3, 2026 · Guide
GRPO — Group Relative Policy Optimization — is the reinforcement learning algorithm behind the reasoning-model boom. For each prompt, the model writes a group of answers; each answer gets a reward; the ones that beat the group's average get reinforced. There is no separate value network, no critic, no GAE — which is exactly why it scales to the very long chain-of-thought rollouts that PPO struggles with. It debuted in DeepSeekMath (2024), and DeepSeek-R1-Zero used it to reach contest-level math with no supervised fine-tuning at all.

Why it exists: the critic was the expensive part

Classic PPO needs a second model — the critic — trained alongside the policy to estimate how good each state is. That's roughly half the training compute, a whole second set of hyperparameters, and on very long rollouts the critic's estimates get unstable. For reasoning models that emit thousands of tokens per answer, the critic was becoming the bottleneck of the whole pipeline.

DeepSeek's insight was almost embarrassingly simple: if you're already sampling a group of answers per prompt, the samples ARE the baseline. You don't need a learned value function to know which answer was good — you can compare the answers to each other. The best of the group becomes the target, the worst becomes the cautionary tale.

How GRPO works, step by step

The loop is short once the critic is gone:

GRPO vs PPO: the quick comparison

The rule of thumb: if your rollouts are long and your rewards are verifiable, GRPO (or a variant) is the default choice — the critic buys you very little there. PPO still earns its keep when rewards are sparse or delayed enough that you need a learned value function to assign credit within a rollout.

The fine print: GRPO's built-in biases

Critic-free doesn't mean bias-free. Three gotchas show up in practice:

The family: Dr. GRPO, DAPO, GSPO

Since 2025, GRPO has become a family rather than a single algorithm. The variants differ in where the advantage comes from, how the loss is averaged, and how the update is clipped:

Worth knowing: the largest controlled comparisons (including an October 2026 survey) suggest the algorithm choice mostly changes how fast you converge, not the final ceiling. The reward signal and the data mix matter more than the acronym.

The takeGRPO's real lesson is that the critic was optional all along — the field spent years assuming RL on language models needed a value network, and it turns out the batch already contains its own baseline. That's a recurring pattern: every generation of RL algorithms removes one learned component and replaces it with more sampling. The uncomfortable corollary: if the optimizer barely changes the ceiling, the "secret sauce" of the reasoning era is the reward function. Your leverage is in verifier design, not algorithm choice — which is exactly what the RLVR guide is about.

How to try GRPO yourself

You don't need a frontier cluster. The dynamics show up at small scale:

Frequently asked questions

What does GRPO stand for?

GRPO stands for Group Relative Policy Optimization. It is a critic-free reinforcement learning algorithm introduced in DeepSeekMath (2024) that trains a language model by sampling a group of completions per prompt and reinforcing the ones that score above the group's average reward.

How is GRPO different from PPO?

PPO learns a separate value network (a critic) to estimate advantages for each token. GRPO drops the critic entirely and computes advantages from group-relative normalization: each answer's advantage is its reward minus the group mean, divided by the group standard deviation. It keeps PPO's clipped surrogate objective and KL regularization.

Why doesn't GRPO need a value network?

Because the baseline can come from the batch itself. GRPO samples G completions for the same prompt, scores each, and measures every answer against the group's average — so there is no critic to train, no GAE, and one fewer optimizer. This also removes the critic's instability and memory cost on the very long rollouts that reasoning models produce.

What are Dr. GRPO and DAPO?

Two 2025 fixes for GRPO's built-in biases. Dr. GRPO removes the per-response length normalization and the standard-deviation division, fixing a verbosity bias (wrong answers growing longer) and a difficulty bias (over-weighting trivial or impossible prompts). DAPO adds decoupled clipping, dynamic sampling that drops zero-gradient groups, token-level loss, and drops the KL term — stabilizing long chain-of-thought RL.

Which models were trained with GRPO?

DeepSeek-R1-Zero used pure GRPO with rule-based rewards and no supervised fine-tuning to reach contest-level math, and the R1 family, Qwen, Kimi, and most open reasoning models followed. Open-source implementations exist in TRL, verl, and OpenRLHF.

Tagged: GRPO RLHF RLVR PPO
Anil Tiwari — MS CS student building rlenvlab, a directory of RL environments. About the author · GitHub

What do you think?

Have you trained with GRPO — or watched a PPO critic eat your GPU budget? Tell us what you ran and what the reward curve looked like — the best stories get featured in a future briefing.

Reply by email → · Subscribe via RSS →

The lab notebook is rlenvlab's blog — guides and the daily RL Briefing on the environments ecosystem. More from the lab notebook →