Group Relative Policy Optimization

Aa Appearance
Text size
Reading width
Contents

Group Relative Policy Optimization (GRPO) is a reinforcement-learning method described in the 2024 DeepSeekMath paper. It uses rewards from groups of responses to estimate their relative value during training. The paper presents it as a variant of Proximal Policy Optimization.[1][2]

Group-relative estimates

For a given prompt the method considers several responses generated by the policy and compares their rewards within the group. The relative comparison provides a training signal. The DeepSeekMath paper uses that group estimate in place of the separate learned critic used in the PPO approach it describes. The Hugging Face TRL implementation exposes the method in a trainer that can be used with language models outside the original DeepSeekMath study.[1][2]

DeepSeekMath application

The authors apply GRPO while training a language model on mathematical reasoning. They evaluate the resulting model on mathematics benchmarks and discuss the effect of the reinforcement-learning stage in the context of continued pretraining. Reported improvements are tied to that study’s models and evaluation setup.[2]

Related articles

View connections on the graph
Graph neighborhood · Open full Graph Explorer
Reinforcement learni…Group Relative Policy …

References

  1. ↑GRPO Trainer · Hugging Face TRL huggingface.co
  2. ↑DeepSeekMath introduces group relative policy optimization arxiv.org
Revision history
Time view Latest revision

Event dates describe the subject. The knowledge cutoff controls which editorial revisions you can see.