GRPO、Dr. GRPO 与 DAPO 是对同一个数的三种操作:组标准差恒等式 GRPO, Dr. GRPO, and DAPO Are Three Operations on One Number: The Group-Standard-Deviation Identity 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-30
👁️ 预览文献
💡 AI 中文简介
训练语言模型进行推理的三种流行方法看似不同,实则都在调整同一个数:标准差,它反映同一问题下模型各答案的分歧程度。当答案对错各半时分歧最大,全对或全错时为零。GRPO 除以该数,Dr. GRPO 去掉除法,DAPO 丢弃分歧为零的组。本文证明三者只是同一旋钮的不同设置,并揭示该旋钮并非无关紧要:对二元对错奖励,训练更新量恰好等于组内分歧(组标准差恒等式)。分歧大的组学习效果最好,全一致的组则无学习信号。研究在 Big-Math 数据集和受控训练中验证了这一观点。
领域强化学习、大语言模型推理
适合谁读需要一定专业背景,适合对 RLHF/RLVR 有了解的读者
核心贡献["揭示 GRPO、Dr. GRPO 和 DAPO 三种方法在数学上等价于对组标准差的不同处理,统一了看似不同的算法。", "提出组标准差恒等式,证明训练更新量等于组内分歧,为理解奖励归一化的作用提供新视角。"]
关键数据在 Big-Math 数据集上验证,但具体数值未在摘要中给出。
推荐理由这篇文章用一个简洁的数学恒等式把三种热门算法串起来,让你一眼看透它们的本质,值得一读。
关键词["组相对策略优化", "奖励归一化", "静默组", "难度偏差", "组大小", "动态采样", "可验证奖励强化学习", "大语言模型推理"]

原文摘要

查看英文原文摘要

Three of the most popular methods for training language models to reason look like three different tricks. They are not. All three adjust a single number: standard deviation, reflecting how much a prompt's sampled answers disagree. When such a model is trained, it answers each problem many times, and an automatic checker marks every answer right or wrong. The standard deviation of those marks measures the disagreement: largest when the answers split evenly between right and wrong, and zero when they all agree. Group Relative Policy Optimization (GRPO) divides by this number, GRPO Done Right (Dr. GRPO) drops the division, and Decoupled Clip and Dynamic Sampling Policy Optimization (DAPO) discards the groups where it is zero. Each is presented as its own fix, yet this paper proves they are three settings of one dial. That dial is not cosmetic: for right-or-wrong rewards, the disagreement is exactly the size of the training update, the group-standard-deviation identity. A split group teaches the most, while a unanimous group teaches nothing and falls silent. The same result says which problems deserve the most weight and how many tries each one needs. This paper confirms the intuition on a large real difficulty dataset (Big-Math) and in a controlled training run. What looks like a harmless normalization step is the dial that decides where learning happens and how strongly.

📚 参考文献 (21 条)

查看21 条参考文献
  1. [1] 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.
  2. [2] DeepSeek-AI. DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
  3. [3] Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3–4):229–256, 1992.
  4. [4] Zichen Liu, Changyu Chen, Wenjun Li, Penghui Qi, Tianyu Pang, Chao Du, Wee Sun Lee, and Min Lin. Understanding R1-Zero-like training: A critical perspective. arXiv preprint arXiv:2503.20783, 2025.
  5. [5] M. S. Bartlett. The square root transformation in analysis of variance. Supplement to the Journal of the Royal Statistical Society, 3(1):68–78, 1936.
  6. [6] F. J. Anscombe. The transformation of Poisson, binomial and negative-binomial data. Biometrika, 35 (3–4):246–254, 1948. 17
  7. [7] Christos Thrampoulidis, Sadegh Mahdavi, and Wenlong Deng. Advantage shaping as surrogate reward maximization: Unifying Pass@K policy gradients. Transactions on Machine Learning Research, 2026. ISSN 2835-8856. URL https://openreview.net/forum?id=R1RhBFUk8t.
  8. [8] Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Tiantian Fan, Gaohong Liu, Lingjun Liu, Xin Liu, et al. DAPO: An open-source LLM reinforcement learning system at scale. arXiv preprint arXiv:2503.14476, 2025.
  9. [9] Alon Albalak, Duy Phung, Nathan Lile, Rafael Rafailov, Kanishk Gandhi, Louis Castricato, Anikait Singh, Chase Blagden, Violet Xiang, Dakota Mahan, and Nick Haber. Big-Math: A large-scale, high- quality math dataset for reinforcement learning in language models. arXiv preprint arXiv:2502.17387, 2025.
  10. [10] Arash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee, Julia Kreutzer, Olivier Pietquin, Ahmet Üstün, and Sara Hooker. Back to basics: Revisiting REINFORCE-style optimization for learning from human feedback in LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), pages 12248–12267, 2024.
  11. [11] Wouter Kool, Herke van Hoof, and Max Welling. Buy 4 REINFORCE samples, get a baseline for free! ICLR Deep RL Meets Structured Prediction Workshop, 2019.
  12. [12] Yong Yi Bay and Kathleen A. Yearick. When more sampling hurts: The modal ceiling and correlation ceiling of test-time scaling. arXiv preprint arXiv:2606.28661, 2026.
  13. [13] Wenhua Nie, Jianan Wu, Junlin Liu, Ziwei Li, Zheng Lin, Zijian Zhang, Yilong Fan, Haoran Zheng, and Jyh-Shing Roger Jang. Gradient starvation in binary-reward GRPO: Why group-mean centering fails and why the simplest fix works. arXiv preprint arXiv:2605.07689, 2026.
  14. [14] Yihong Wu, Liheng Ma, Lei Ding, Muzhi Li, Xinyu Wang, Kejia Chen, Zhan Su, Zhanguang Zhang, Chenyang Huang, Yingxue Zhang, Mark Coates, and Jian-Yun Nie. It takes two: Your GRPO is secretly DPO. arXiv preprint arXiv:2510.00977, 2025.
  15. [15] Michael Sullivan and Alexander Koller. GRPO is secretly a process reward model. arXiv preprint arXiv:2509.21154, 2025.
  16. [16] Cheng Ge, Caitlyn Heqi Yin, Hao Liang, and Jiawei Zhang. Why GRPO needs normalization: A local-curvature perspective on adaptive gradients. arXiv preprint arXiv:2601.23135, 2026.
  17. [17] Jianghan Shen, Siqi Luo, Yue Li, Jiyao Liu, Wanying Qu, Yi Zhang, Ziyan Huang, Tianbin Li, Ming Hu, Xiaohong Liu, Yirong Chen, and Junjun He. A first-principles derivation of LLM policy optimization: From expected reward to GRPO and its structural extensions. arXiv preprint arXiv:2606.16733, 2026.
  18. [18] Omer Levy and Yoav Goldberg. Neural word embedding as implicit matrix factorization. In Advances in Neural Information Processing Systems (NeurIPS), volume 27, pages 2177–2185, 2014.
  19. [19] Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013.
  20. [20] Yong Yi Bay and Kathleen A. Yearick. Solve for the hyperparameter, skip the search: Kolmogorov- optimal scaling laws for spline regression. arXiv preprint arXiv:2606.23575, 2026.
  21. [21] Yong Yi Bay and Kathleen A. Yearick. Machine learning vs deep learning: The generalization problem. arXiv preprint arXiv:2403.01621, 2024. 18