TPPO:用于语言模型推理的跟踪值PPO

·

研究论文 · 2026/10/14

近端策略优化(PPO)广泛用于语言模型推理中带可验证奖励的强化学习。虽然沿轨迹的价值演化刻画了相对 token 级信用,但标准评论家往往在稀疏终端奖励下无法跟踪它。为了建模这种演化,我们分析了连续前缀价值之间的关系,并表明它们允许在 log-odds 空间中进行具有加性更新的贝叶斯分解。我们利用这种加性结构构建了 Tracking-Value PPO(TPPO),一种累积价值参数化方法,将逐位置标量输出求和为价值 logits。这些输出通过对重建价值的终端结果监督进行学习。TPPO 在 Qwen3-4B-Base 和 Qwen3-8B-Base 上分别将聚合数学推理分数比 PPO 提高了 7.0 和 8.4 分,同时改善了分布外泛化。增益扩展到 Qwen3-4B、Qwen2.5-Math-1.5B、Qwen3.5-9B 以及倒计时和科学编码任务。进一步分析表明,价值演化跟踪更准确,优势估计更可靠。我们的代码公开在 https://github.com/LINs-lab/TPPO。

该工作通过理论分析提出新的价值参数化方法,显著提升了语言模型推理的强化学习效果,并在多个模型和任务上验证了有效性,具有较高的实用价值和可复现性。

Proximal Policy Optimization (PPO) is widely used in reinforcement learning with verifiable rewards for language-model reasoning. While value evolution along trajectory characterizes relative token-level credit, yet standard critics often fail to track it under sparse terminal rewards. To model this evolution, we analyze the relation between successive prefix values and show that they admit a Bayesian decomposition with additive updates in log-odds space. We use this additive structure to construct Tracking-Value PPO (\method), a cumulative value parameterization that sums position-wise scalar outputs into value logits. These outputs are learned through terminal-outcome supervision on the reconstructed values. \method improves aggregate mathematical reasoning scores over PPO by 7.0 and 8.4 points on Qwen3-4B-Base and Qwen3-8B-Base, respectively, while improving out-of-distribution generalization. Gains extend to Qwen3-4B, Qwen2.5-Math-1.5B, Qwen3.5-9B and to countdown, and scientific coding tasks. Further analysis shows more accurate tracking of value evolution and more reliable advantage estimates. Our code is publicly available in https://github.com/LINs-lab/TPPO.

阅读原文

参与讨论