在离策略RLVR中启用逐令牌重要性采样与近端KL正则化
研究论文 · 2026/10/14
在可验证奖励的强化学习(RLVR)中,离策略数据可能来自异步生成、 rollout 与训练不匹配以及响应重用。逐 token 重要性加权避免了在响应上连乘似然比,但通常会偏置策略梯度。我们证明,在覆盖和局部表达性条件下,完整的未来 KL 信用使得精确的近端优化器成为更新的唯一平稳策略,即使对于旧策略的混合也是如此,且无需全响应权重或拟合评论家。我们进一步在持续覆盖和时变行为策略下建立了连续时间表格群体更新的收敛性,并在额外假设下为线性逻辑模型提供了有限样本奖励保证。这些结果启发了 Proximal KL,一种实用的离策略 RLVR 方法,它将近端参考与采样策略分离,并用有界的未来 KL 信用替代 PPO 裁剪。在 Qwen3-1.7B 和 Qwen3-4B 上的所有七项匹配离策略比较中,涵盖两种学习率、响应重用和 rollout 陈旧性,Proximal KL 在八个数学基准上的微平均准确率比 GRPO 高出最多 2.58%。一项单独的在策略比较产生了可比的总体准确率。在周期性刷新实验中,Proximal KL 避免了在 PG 和 CISPO 中观察到的崩溃,超过了 GRPO 的训练准确率,并在更少的策略更新中达到更高的准确率。消融实验表明,逐 token 校正优于序列级和无加权控制。在保留逐 token 校正的情况下,与 PPO 裁剪相比,未来 KL 反馈降低了对所测试基线扰动的敏感性。有限的未来视野提高了 AIME24 的 mean@16 和 pass@16 相对于完整尾部,而固定策略测量表明截断在所测试的视野上减少了校正方差。
该研究为离策略 RLVR 提供了理论保证和实用方法,显著提升了训练稳定性和准确率,对强化学习与语言模型对齐领域有重要价值。
Off-policy data in reinforcement learning with verifiable rewards (RLVR) can arise from asynchronous generation, rollout-training mismatch, and response reuse. Token-wise importance weighting avoids multiplying likelihood ratios across a response but generally biases policy gradients. We prove that, under coverage and local expressiveness conditions, full future KL credit makes the exact proximal optimizer the update's unique stationary policy, even for mixtures of older policies, without full-response weights or a fitted critic. We further establish convergence of continuous-time tabular population updates under persistent coverage and time-varying behavior policies, and a finite-sample reward guarantee for linear logistic models under additional assumptions. These results motivate Proximal KL, a practical off-policy RLVR method that separates the proximal reference from the sampling policy and replaces PPO clipping with bounded future KL credit. Across all seven matched off-policy comparisons on Qwen3-1.7B and Qwen3-4B, spanning two learning rates, response reuse, and rollout staleness, Proximal KL outperforms GRPO in micro-averaged accuracy over eight math benchmarks by up to 2.58%. A separate on-policy comparison yields comparable aggregate accuracy. In periodic-refresh experiments, Proximal KL avoids the collapses observed in PG and CISPO, exceeds GRPO's training accuracy, and reaches higher accuracy in fewer policy updates. Ablations show that token-wise correction outperforms sequence-level and unweighted controls. With token-wise correction retained, future KL feedback reduces sensitivity to the tested baseline perturbation relative to PPO clipping. A finite future horizon improves AIME24 mean@16 and pass@16 over the full tail, while fixed-policy measurements show that truncation reduces correction variance over the tested horizons.