GRPO, Dr. GRPO 和 DAPO 是对同一个数的三种操作:组标准差恒等式
GRPO, Dr. GRPO, and DAPO Are Three Operations on One Number: The Group-Standard-Deviation Identity
AI总结:
本文证明三种流行的语言模型推理训练方法(GRPO、Dr. GRPO、DAPO)本质上是对组标准差的不同操作,并揭示了标准差在训练更新中的核心作用。
摘要:
训练语言模型进行推理的三种最流行方法看起来像是三种不同的技巧。但它们并非如此。这三种方法都调整同一个数字:标准差,反映一个提示的采样答案之间的分歧程度。当训练这样的模型时,它对每个问题回答多次,自动检查器标记每个答案的正确或错误。这些标记的标准差衡量分歧:当答案在正确和错误之间均匀分布时最大,当所有答案一致时为零。组相对策略优化(GRPO)除以这个数,正确执行的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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。