Reproduce “Group Sequence Policy Optimization” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu and 4 more
GSPO moves policy importance ratios and clipping from individual tokens to whole responses, while retaining group-relative reward comparisons among responses to the same query. It length-normalizes each response’s likelihood ratio. In reported training, GSPO improves reward and benchmark curves over GRPO at matched compute and consumed queries, while clipping a smaller fraction of tokens; the comparison does not isolate why.
Key insights
- The instability of prior RL algorithms like GRPO is rooted in the misapplication of importance sampling at the token level, creating high-variance noise in gradient estimates.
- Aligning importance sampling and policy optimization with the entire sequence unit provides a more stable and effective learning signal, addressing challenges unique to Mixture-of-Experts models.
- High-quality, sequence-level gradient signals can lead to superior training efficiency even when fewer individual tokens contribute to gradient estimation, demonstrating the importance of principled importance sampling.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.