Glossary

What is Group relative policy optimization?

In Turkish: Grup göreli politika optimizasyonu (GRPO) · Topic: Models and training

A reinforcement learning algorithm that generates several answers per prompt and learns by comparing each answer to the group's average, without needing a separate value model.

How does it work?

The model produces, say, eight different answers to the same question at once. Each answer gets a reward, and its score is then compared with the group average. Answers above the average are reinforced and those below it are discouraged. Because the group average does the job of PPO's separate value model, training saves memory and compute. A constraint that keeps the model from drifting too far from its starting point is still used.

Why does it matter?

The DeepSeek team introduced the method in 2024 in its math-focused DeepSeekMath work and later used it to train the reasoning model DeepSeek-R1. Being lighter made reinforcement learning with large models more accessible, and the method now appears in open-source training tools too.

Example

If three of eight solutions to a math problem reach the right answer, those three score above the group average, and the model becomes more inclined toward that kind of solution.

FAQ

What is the main difference between GRPO and PPO?

PPO uses a separate value model to estimate the expected reward of answers. GRPO instead uses the average score of the answers given to the same question as its reference.

Is GRPO only used for areas like math?

It was introduced in a math paper and is often mentioned alongside verifiable rewards. But it can be applied to any task where answers can be scored, even if the reward comes from a reward model.

All terms