NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Group Sequence Policy Optimization

Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu, Rui Men, An Yang, Jingren Zhou, Junyang LinarXiv 2025 · OpenReview

Abstract: This paper introduces Group Sequence Policy Optimization (GSPO), our stable, efficient, and performant reinforcement learning algorithm for training large language models. Unlike previous algorithms that adopt token-level importance ratios, GSPO defines the importance ratio based on sequence likelihood and performs sequence-level clipping, rewarding, and optimization. We demonstrate that GSPO achieves superior training efficiency and performance compared to the GRPO algorithm, notably stabilizes Mixture-of-Experts (MoE) RL training, and has the potential for simplifying the design of RL infrastructure. These merits of GSPO have contributed to the remarkable improvements in the latest Qwen3 models.

Introduction

Reinforcement learning (RL) has become the primary driver for enhancing the reasoning capabilities of large language models (LLMs), as seen in recent breakthroughs like DeepSeek-R1 and Qwen-2.5-Math. However, scaling RL to massive models remains a significant challenge. The current industry standard, Group Relative Policy Optimization (GRPO), frequently encounters "model collapse"—a state where performance degrades suddenly and irreversibly.

We identify a fundamental flaw in GRPO: it is "ill-posed" because it applies importance sampling weights at the token level while rewards are granted at the sequence level. This mismatch introduces high-variance noise that accumulates over long responses, particularly in Mixture-of-Experts (MoE) models where expert activation can be highly volatile. GSPO addresses this by aligning the unit of optimization with the unit of reward.

Methodology

GSPO shifts the focus from individual tokens to the entire sequence likelihood. Its core innovations include:

  1. Sequence-Level Importance Ratio: Instead of per-token weights, GSPO calculates a ratio based on the likelihood of the entire response sequence.
  2. Length Normalization: To stabilize numerical ranges for long sequences, the algorithm employs length normalization on the importance ratios.
  3. Sequence-Level Clipping: Clipping is applied to the entire response rather than individual tokens, ensuring the model does not deviate too drastically from the reference policy in a single update.
  4. Efficiency without a Critic: Like GRPO, GSPO eliminates the need for a separate "critic" or value model, significantly reducing memory overhead during training.

For tasks requiring more granular control, such as multi-turn RL, we also developed a GSPO-token variant that maintains the theoretical stability of sequence-level optimization while allowing for token-wise advantage adjustments.

Experimental Setup

We evaluated GSPO using a cold-start model fine-tuned from Qwen3-30B-A3B-Base. Performance was measured across three rigorous reasoning benchmarks:

  • AIME’24: High-school level mathematics competition.
  • LiveCodeBench (202410-202502): Real-world coding challenges.
  • CodeForces: Competitive programming (Elo rating).

Results and Discussion

GSPO demonstrates superior stability and efficiency compared to GRPO. Most notably, it avoids the catastrophic model collapse that often plagues MoE training. While token-level ratios in MoE models can explode or vanish due to expert-activation volatility, the overall sequence likelihood remains stable, allowing GSPO to maintain robust training progress.

Training reward and benchmark performance (AIME'24, LiveCodeBench, CodeForces) of GSPO vs GRPO as a function of training compute.

The Clipping Paradox

An interesting finding is the "clipping paradox." As shown in the figure below, GSPO clips a significantly larger fraction of tokens than GRPO—roughly two orders of magnitude more. Counter-intuitively, this higher clipping rate leads to better training efficiency. This suggests that many of the unclipped tokens in GRPO were actually providing noisy, low-quality gradients that hindered the learning process rather than helping it.

Comparison of clipping fractions between GSPO and GRPO, highlighting that GSPO clips significantly more tokens while achieving better results.

Infrastructure Simplification

Beyond performance, GSPO offers practical advantages for RL infrastructure. Because it is more tolerant of precision discrepancies, it may allow for the direct use of inference engines (like vLLM or SGLang) for RL training, bypassing the computationally expensive step of recomputing token likelihoods within the training engine.

Conclusion

Group Sequence Policy Optimization provides a more stable and efficient framework for training reasoning-heavy LLMs. By aligning the optimization objective with sequence-level rewards, GSPO solves the volatility issues inherent in token-level methods, particularly for MoE architectures. As a foundational component of the Qwen3 series, GSPO represents a significant step forward in scaling reinforcement learning for the next generation of artificial intelligence.

Summary updated

BibTeX
@misc{zheng2025group,
  author = {Chujie Zheng and Shixuan Liu and Mingze Li and Xiong-Hui Chen and Bowen Yu and Chang Gao and Kai Dang and Yuqiong Liu and Rui Men and An Yang and Jingren Zhou and Junyang Lin},
  title = {{Group Sequence Policy Optimization}},
  year = {2025},
  eprint = {2507.18071},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.18071},
}
Figure