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

稳定异步性:用于大语言模型的方差控制的非策略强化学习

Stable Asynchrony: Variance-Controlled Off-Policy RL for LLMs

MIT(麻省理工学院);NVIDIA(英伟达)

Luke J. Huang, Zhuoyang Zhang, Qinghao Hu, Shang Yang, Song Han

AI总结:

VCPO通过动态调整学习率和最小方差基线,提升大语言模型异步训练的稳定性与效率。

摘要:

异步强化学习在大语言模型(LLM)训练后扩展中变得越来越关键,通过将轨迹生成与策略更新解耦,带来了显著的吞吐量提升。然而,广泛使用的策略梯度目标,如REINFORCE和GRPO,在高异步性情况下表现不佳:陈旧的轨迹会产生重尾重要权重,因此少量轨迹主导更新,策略梯度估计器变得显著高方差。通过系统分析数学、推理和工具使用基准,我们发现这种方差的增加可以可靠地通过有效样本大小(ESS)的崩溃来预测,而先前的稳定方法大多未能解决这一问题。受此诊断启发,我们引入了方差控制策略优化(VCPO)方法,该方法(i)动态地根据ESS调整学习率以抑制不可靠的更新,(ii)在非策略设置中应用闭式最小方差基线,无需批评器模型且附加开销极小。在数学和通用推理基准上,经验表明,这使异步训练比先前的稳定和算法方法更加稳健,即使在高度非策略区域(128步非策略)也是如此。在长周期、工具使用任务中,VCPO在同步性能方面相匹配,同时在训练时间上实现了2.5倍的加速。代码可在:https://github.com/mit-han-lab/vcpo获取。

英文摘要:

Asynchronous reinforcement learning has become increasingly central to scaling LLM post-training, delivering major throughput gains by decoupling rollout generation from policy updates. However, widely used policy-gradient objectives such as REINFORCE and GRPO suffer under high asynchrony: stale rollouts produce heavy-tailed importance weights, so a small number of trajectories dominate updates and the policy-gradient estimator becomes markedly higher variance. Through systematic analysis on math, reasoning, and tool-use benchmarks, we find that this increasing variance is reliably predicted by collapsing effective sample size (ESS), which prior stabilization methods largely fail to address. Motivated by this diagnosis, we introduce $\textbf{V}$ariance $\textbf{C}$ontrolled $\textbf{P}$olicy $\textbf{O}$ptimization ($\textbf{VCPO}$), a method that (i) dynamically scales the learning rate with ESS to dampen unreliable updates and (ii) applies a closed-form minimum-variance baseline for off-policy settings, without a critic model and adding minimal overhead. Empirically, across math and general reasoning benchmarks, this enables robustly stable asynchronous training compared to previous stabilization and algorithmic methods, even in highly off-policy regimes (128 steps off-policy). In a long-horizon, tool-use task, VCPO matches synchronous performance while delivering a 2.5$\times$ speedup in training time. Code is available at: https://github.com/mit-han-lab/vcpo

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

↑