二元奖励GRPO中的梯度饥饿:为何组均中心化失效及为何最简单的修复方法有效
Gradient Starvation in Binary-Reward GRPO: Why Group-Mean Centering Fails and Why the Simplest Fix Works
AI总结:
本文研究了二元奖励下GRPO算法中组均中心化优势失效的问题,提出通过固定参考Sign优势改进方法,显著提升性能,实验显示其在GSM8K数据集上表现优于传统方法。
摘要:
组相对策略优化(GRPO)是来自可验证奖励的强化学习标准算法,但其组均中心化优势在二元奖励下会失效。失效模式是梯度饥饿:当组内所有响应正确或全部错误时,中心化优势恰好为零,策略得不到学习信号。我们证明真实退化率始终超过独立同分布伯努利预测,通过Jensen不等式,并观察到在四人组大小的Logged Qwen3.5-9B GSM8K训练中退化率为0.69。我们随后展示固定参考Sign优势,$A=2r-1$,通过增加组内至少一个样本成功的概率来实现pass@$G$失败下降。在完整的GSM8K测试集上,跨七种子,Sign达到73.8%的准确率,远超标准归一化组均DrGRPO在四人组大小下的28.4%。这种效果在Llama-3.1-8B上方向一致,在MATH-500转移检查上呈正但力量不足。Pass@$k$分析表明,主要收益是搜索压缩而非大容量扩展,与最近的RLVR天花板观察一致。
英文摘要:
Group Relative Policy Optimization (GRPO) is a standard algorithm for reinforcement learning from verifiable rewards, but its group-mean-centered advantage can fail under binary rewards. The failure mode is gradient starvation: when every response in a group is correct or every response is wrong, the centered advantage is exactly zero and the policy receives no learning signal. We prove that the true degeneracy rate always exceeds the i.i.d. Bernoulli prediction by Jensen's inequality, and observe a 0.69 degeneracy rate at group size four in logged Qwen3.5-9B GSM8K training. We then show that the fixed-reference Sign advantage, $A=2r-1$, performs pass@$G$ failure descent by increasing the probability that at least one sample in the group succeeds. On the full GSM8K test set across seven seeds, Sign reaches 73.8% accuracy versus 28.4% for standard normalized group-mean DrGRPO at group size four, a 45.4 point gain with $p<0.0001$. The effect is directionally consistent on Llama-3.1-8B and positive but underpowered on a MATH-500 transfer check. Pass@$k$ analysis indicates that the main benefit is search compression rather than large capacity expansion, aligning the empirical gains with recent RLVR ceiling observations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。