Jargonautica
Training and Post-training

Group Relative Policy Optimisation

Also called: GRPO

A training method that improves a model by having it answer the same question several times, scoring each answer, and nudging it towards the answers that scored better than the group’s average. Because it compares answers with each other rather than with a separate judge of expected quality, it needs less computing power. It became widely used for teaching models to reason through maths and coding problems.

Technical view

Introduced by DeepSeek in the 2024 DeepSeekMath paper as a variant of Proximal Policy Optimisation (‘PPO’). For each prompt it samples a group of completions, computes rewards, and uses each completion’s reward normalised against the group mean and standard deviation as its advantage. This removes the separate value model PPO needs, cutting memory and compute. A Kullback-Leibler (‘KL’) penalty keeps the policy near a reference model. It pairs naturally with verifiable rewards. Reported issues include length biases from how losses are normalised and weak signal when all samples in a group score the same, which later variants address.


Part of AI Terminology Index, section: Training and Post-training.

How it connects

Group Relative Policy Optimisation links to 5 other terms. The faint lines are links between those terms. See it in the full graph.

Reward ModelReward ModelReinforcement Learning with Verifiable RewardsReinforcement Learn…Proximal Policy OptimisationProximal Policy Opt…Reasoning Models and Test-Time ComputeReasoning Models an…Kullback-Leibler DivergenceKullback-Leibler Di…Group Relative Policy Optimisation