arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.02448cs.LG
收藏

序列级分数中心化稳定离策略大语言模型强化学习

Sequence-Level Score Centering Stabilizes Off-Policy LLM Reinforcement Learning

Apple(苹果公司)

Ruixiang Zhang

AI总结:

针对离策略LLM强化学习中token级分数中心化的漂移问题,提出序列级分数中心化(SeqSC),在三类序列级RL方法上训练Qwen3模型时提升了评估准确率,减少了训练步骤,支持稳定的MoE RL后训练。

摘要:

rollout引擎与训练引擎之间的数值差异会给大语言模型强化学习(RL)的策略梯度引入漂移。分数中心化(SC)在token层面抵消该漂移,每一步独立减去采样器下的期望分数。序列级RL方法则通过一个有界重要性比率对整个响应加权,支持混合专家(MoE)训练而无需路由回放,但token级SC会留下显著漂移,因为每个token也会改变该序列比率。我们提出序列级分数中心化(SeqSC),通过减去每个token的期望加权分数,为序列级RL抵消该漂移。用可选停止(基于均值为1的运行比率)替代事后边界,使每个前缀的期望权重保持闭式形式,对任意策略和采样器实现精确中心化。将SeqSC应用于三种序列级RL方法(Seq-TIS、GSPO和TOPR),在量化、有噪声及陈旧采样器下,训练4B至30B的Qwen3模型时未出现任何崩溃。在15种不匹配设置中,Seq-TIS的平均评估准确率较SC提升14.6个百分点,GSPO提升12.7个百分点,TOPR提升6.6个百分点。在无路由回放的Qwen3-30B-A3B上,SeqSC实现最高评估准确率,且匹配SC所需的训练步骤减少约一半,无额外每步成本,支持快速稳定的MoE RL后训练。

英文摘要:

Numerical differences between rollout and training engines introduce drift into language model reinforcement learning (RL) policy gradients. Score centering (SC) cancels this drift at the token level, where each step independently subtracts the expected score under the sampler. Sequence-level RL methods instead weight an entire response by one bounded importance ratio, enabling mixture-of-experts (MoE) training without routing replay, yet token-level SC leaves substantial drift because each token also shifts that sequence ratio. We introduce sequence-level score centering (SeqSC), which cancels this drift for sequence-level RL by subtracting each token's expected weighted score. Replacing post-hoc bounds with optional stopping on a mean-one running ratio keeps those expected weights in closed form at every prefix, making centering exact for any policy and sampler. Applied to three sequence-level RL methods (Seq-TIS, GSPO, and TOPR), SeqSC trains Qwen3 models from 4B to 30B with zero collapses under quantized, noisy, and stale samplers. Across fifteen mismatch settings, it improves mean evaluation accuracy over SC by 14.6 points for Seq-TIS, 12.7 points for GSPO, and 6.6 points for TOPR. On Qwen3-30B-A3B without routing replay, SeqSC achieves the highest evaluation accuracy and reduces the training steps needed to match SC by roughly half at no extra per-step cost, enabling fast, stable MoE RL post-training.

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

↑