arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.01162cs.LGstat.ML
收藏

解开群体相对策略优化:其策略梯度是U统计量

Demystifying Group Relative Policy Optimization: Its Policy Gradient is a U-Statistic

Hongyi Zhou, Kai Ye, Erhan Xu, Jin Zhu, Ying Yang, Shijin Gong, Chengchun Shi

AI总结:

本文通过经典U统计量框架解析GRPO,证明其策略梯度本质为U统计量,推导其MSE、有限样本误差界及渐近分布,揭示GRPO渐近等价于拥有价值函数的最优策略梯度算法,并建立通用缩放规律指导最优分组大小选择。

摘要:

群体相对策略优化(GRPO),作为DeepSeekMath和DeepSeek-R1的核心方法论组件,已成为扩展大语言模型推理能力的基石。尽管其广泛应用和后续工作的兴起,GRPO的理论性质仍较少被研究。本文通过经典U统计量的视角提供了一个统一框架来理解GRPO。我们证明GRPO策略梯度本质上是U统计量,从而可以表征其均方误差(MSE),推导其有限样本误差界及渐近分布的子最优性差距。我们的发现表明,GRPO在渐近意义上等同于一个拥有价值函数的最优策略梯度算法——该价值函数在每次训练迭代中量化其学习策略的好坏——并且在广泛政策梯度算法类别中实现渐近最优性能。此外,我们建立了通用缩放定律,为选择最优分组大小提供指导。实证实验进一步验证了我们的理论发现,证明最优分组大小是通用的,并验证了GRPO的Oracle性质。

英文摘要:

Group relative policy optimization (GRPO), a core methodological component of DeepSeekMath and DeepSeek-R1, has emerged as a cornerstone for scaling reasoning capabilities of large language models. Despite its widespread adoption and the proliferation of follow-up works, the theoretical properties of GRPO remain less studied. This paper provides a unified framework to understand GRPO through the lens of classical U-statistics. We demonstrate that the GRPO policy gradient is inherently a U-statistic, allowing us to characterize its mean squared error (MSE), derive the finite-sample error bound and asymptotic distribution of the suboptimality gap for its learned policy. Our findings reveal that GRPO is asymptotically equivalent to an oracle policy gradient algorithm -- one with access to a value function that quantifies the goodness of its learning policy at each training iteration -- and achieves asymptotically optimal performance within a broad class of policy gradient algorithms. Furthermore, we establish a universal scaling law that offers principled guidance for selecting the optimal group size. Empirical experiments further validate our theoretical findings, demonstrating that the optimal group size is universal, and verify the oracle property of GRPO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑