不要让收益消失:解析强化学习中的策略梯度权重
Don't Let Gains FADE: Breaking Down Policy Gradient Weights in RL
AI总结:
提出FADE方法,通过动态调整优势函数的正负和难度权重,解决RL训练不稳定和多样性崩溃问题,在7B和32B模型上分别提前20k和2k步达到最佳pass@1。
摘要:
强化学习后训练显著提升了大语言模型的推理能力,但存在训练不稳定和多样性崩溃的问题。优势函数提供了一种有吸引力的修复方法:它重塑训练目标,重新加权驱动学习的轨迹,并且易于实现。然而,方法的激增使得不清楚何时使用哪种优势函数。我们通过一个统一框架来消除混乱,该框架将任何优势函数分解为其沿两个正交轴的正负梯度质量。在符号轴上,不平衡的更新会导致熵或权重几何结构崩溃。在难度轴上,聚焦困难问题会增强信号但牺牲样本量。这两种权衡在训练过程中会发生变化:探索期倾向于平衡和困难聚焦;利用期倾向于抑制和中等聚焦。这激发了FADE(带动态熵的聚焦优势),一种自适应优势函数,它读取训练动态以自动调度梯度权重。FADE在7B规模上比最佳静态基线提前20k步达到峰值pass@1,在32B规模上提前2k步,同时在LiveCodeBench和AIME上的所有pass@k指标上实现了最佳准确率-多样性权衡。
英文摘要:
Reinforcement learning post-training dramatically improves LLM reasoning, but suffers from training instability and diversity collapse. Advantage functions offer an appealing fix: they reshape the training objective, reweight which rollouts drive learning, and are trivial to implement. Yet a proliferation of methods makes it unclear which advantage to use and when. We cut through the confusion with a unifying framework that decomposes any advantage into its positive and negative gradient mass along two orthogonal axes. On the sign axis, imbalanced updates collapse either entropy or weight geometry. On the difficulty axis, hard-problem focus sharpens signal but costs sample size. Both trade-offs shift during training: exploration favors balance and hard focus; exploitation favors suppression and medium focus. This motivates FADE (Focal Advantage with Dynamic Entropy), a self-adapting advantage that reads training dynamics to schedule the gradient weight automatically. FADE reaches peak pass@1 20k steps earlier than the best static baseline at the 7B scale and 2k steps earlier at the 32B , while achieving the best accuracy-diversity trade-off across all pass@k on LiveCodeBench and AIME.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。