TRIAGE:面向原生NVFP4强化学习的方向感知不匹配稳定化
研究论文 · 2026/10/08
低精度执行可以显著加速大语言模型的强化学习,但学习器和采样器执行之间的差异可能破坏策略优化的稳定性。本文刻画了不匹配与策略梯度方向之间的相互作用,区分了局部放大和收缩的更新贡献,而仅凭不匹配幅度无法识别这些贡献。在原生NVFP4运行中,我们观察到两个放大区域之间的早期不平衡,偏向负优势、负差距的更新。在不匹配全局扩散之前,它们的尾部token集中在少数响应片段中。基于这些发现,我们提出了TRIAGE,一种方向感知的稳定方法,使用片段级诊断来选择性地重新平衡策略梯度更新,并对残余的严重不匹配应用有界修复。TRIAGE修改了优化目标,同时在采样器和学习器上保留原生NVFP4权重和激活4位(W4A4)前向执行。在Qwen3-4B和Qwen3-30B-A3B上的实验表明,在整个评估的训练周期内优化稳定,并在五个数学推理基准上达到全精度水平性能,而带有TRIAGE的原生NVFP4比BF16提供高达2.3倍的rollout吞吐量。
该研究解决了低精度强化学习中的关键稳定性问题,提出的TRIAGE方法在保持高效NVFP4执行的同时实现了稳定训练和全精度性能,显著提升吞吐量,对大规模语言模型强化学习的实际部署具有重要意义。
Low-precision execution can substantially accelerate reinforcement learning (RL) for large language models, but discrepancies between learner and sampler execution can destabilize policy optimization. In this paper, we characterize the interaction between mismatch and the policy-gradient direction, distinguishing locally amplifying from contracting update contributions that mismatch magnitude alone cannot identify. In native NVFP4 runs, we observe an early imbalance between the two amplifying regions, favoring negative-advantage, negative-gap updates. Their tail tokens become concentrated in a small fraction of response segments before mismatch spreads globally. Motivated by these findings, we introduce TRIAGE, a direction-aware stabilization method that uses segment-level diagnosis to selectively rebalance policy-gradient updates and applies bounded repair to residual severe mismatch. TRIAGE modifies the optimization objective while retaining native NVFP4 weight-and activation 4-bit (W4A4) forward execution on both the sampler and learner. Experiments on Qwen3-4B and Qwen3-30B-A3B show stable optimization throughout the evaluated training horizon and achieve full precision level performance across five mathematical reasoning benchmarks, while native NVFP4 with TRIAGE provides up to 2.3x higher rollout throughput than BF16.