Group Sequence Policy Optimization
Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "arXiv — non-exclusive licence to distribute" does not allow redistributing the text itself. Original — arxiv.org/pdf/2507.18071
Summary
Reinforcement learning is now central to building reasoning-capable LLMs. Yet GRPO, a widely used algorithm, often becomes unstable on large models and long outputs, and training can collapse irreversibly. The Qwen Team traces this to how GRPO uses importance weights. It computes a separate ratio for every token from just one sample, so the ratio fails to correct for the shift between policies. Instead, it adds noise that grows with response length and is amplified by clipping. Their remedy, GSPO, works on whole responses instead. The importance ratio is the length-normalized likelihood ratio of the full sequence, clipping removes entire off-policy responses, and advantages are group-normalized rewards as in GRPO. A variant called GSPO-token gives the same values but allows per-token advantages, for example in multi-turn RL. In experiments with a cold-start model built on Qwen3-30B-A3B-Base, GSPO trained more efficiently and reached better results than GRPO. It also kept MoE training stable without extra workarounds. The method underlies the gains in the latest Qwen3 models and gives a more robust base for scaling RL.
Key points
- GSPO computes its ratio from the geometric mean of the per-token likelihood ratios across a response, so every token in a response gets the same weight. Because the ratio is defined differently, its clipping range is orders of magnitude smaller than GRPO's.
- GSPO clips about 0.15 of tokens on average, compared with about 0.0013 for GRPO. Even though it learns from far fewer tokens, it is more sample-efficient, which suggests GRPO's token-level gradients are noisy.
- In the 48-layer Qwen3-30B-A3B MoE model, about 10% of the activated experts change after each gradient update. GRPO needs Routing Replay to cope with this, which costs memory and communication. GSPO does not need it.
- Sequence-level likelihoods are less affected by precision differences between training engines (Megatron) and inference engines (vLLM, SGLang). This could let training use the inference engine's likelihoods directly, without recomputing them.
- Evaluation covered training reward and benchmarks such as AIME'24, LiveCodeBench and CodeForces.
Cited by
- Arabic Sentence Segmentation Across Genres and Punctuation Conditions
- InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiency
- Qwen3-Omni Technical Report
Cite
@misc{zheng2025group,
title = {{Group Sequence Policy Optimization}},
author = {Zheng, Chujie and Liu, Shixuan and Li, Mingze and Chen, Xiong-Hui and Yu, Bowen and Gao, Chang and Dang, Kai and Liu, Yuqiong and Men, Rui and Yang, An and Zhou, Jingren and Lin, Junyang},
year = {2025},
doi = {10.48550/arxiv.2507.18071},
eprint = {2507.18071},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2507.18071}
}References
- DeepSeek-AI. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025. find our card
- MiniMax. Minimax-m1: Scaling test-time compute efficiently with lightning attention. arXiv preprint arXiv:2506.13585, 2025. find
- OpenAI. Learning to reason with LLMs, learning-to-reason-with-llms/. Team Qwen. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025a. find our card
- Team Qwen. Qwq-32b: Embracing the power of reinforcement learning, March 2025b. URL https: //qwenlm.github.io/blog/qwq-32b/. find
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. find
- Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. find our card
- Chujie Zheng, Pei Ke, Zheng Zhang, and Minlie Huang. Click: Controllable text generation with sequence likelihood contrastive learning. In Findings of the Association for Computational Linguistics: ACL 2023, 2023. URL https://aclanthology.org/2023.findings-acl.65/.2024. URL https://openai.com/index/ ↗