PACT:从信用分配到评论家对齐
研究论文 · 2026/09/24
强化学习已成为大语言模型后训练的核心组成部分,但token级信用缺乏普遍接受的数学定义,其与常用训练信号的关系尚不明确。我们提出三个正则性条件——完备性、前缀一致性和中性——并证明它们唯一确定了token级信用。这一刻画为解释现有算法中的现象提供了统一基础,并指导了改进的actor-critic训练流程的开发。在此视角下,同策略蒸馏(OPD)中的理想教师充当隐式评论家,产生的期望策略梯度与token级信用诱导的梯度成正比。响应级REINFORCE留一法(RLOO)信号尽管粒度更粗,但其期望策略梯度贡献与token级信用匹配。我们进一步在有界结果奖励下建立了近似信用稀疏性,并展示了广义优势估计(GAE)中的中间评论家误差如何能与底层信用相当。这些发现促使我们提出策略对齐评论家训练(PACT),它采用先actor后critic的更新顺序,对评论家训练应用重要性采样校正,使评论家更好地与更新后的策略对齐。在智能体数学推理中,PACT在四个基准上平均准确率达72.87%,分别比GRPO和PPO高出8.80和13.16个百分点。在SWE-bench Verified上,PACT通过率达67.4%,分别比PPO、GRPO和SAO高出2.4、2.0和3.8个百分点。
该研究为LLM强化学习中的token级信用分配提供了严格的数学定义,统一了现有算法的理论解释,并提出了性能显著提升的PACT方法,对理解和改进LLM后训练具有重要价值。
Reinforcement learning has become a central component of large language model (LLM) post-training, yet token-level credit lacks a generally accepted mathematical definition, leaving its relationship to commonly used training signals unclear. We formulate three regularity conditions, namely Completeness, Prefix Consistency, and Neutrality, and prove that they uniquely determine token-level credit. This characterization provides a unified basis for explaining phenomena across existing algorithms and guides the development of an improved actor-critic training procedure. Through this lens, an ideal teacher in On-Policy Distillation (OPD) acts as an implicit critic, yielding an expected policy gradient proportional to that induced by token-level credit. Response-level REINFORCE Leave-One-Out (RLOO) signals match the expected policy-gradient contribution of token-level credit despite their coarser granularity. We further establish approximate credit sparsity under bounded outcome rewards and show how intermediate critic errors in Generalized Advantage Estimation (GAE) can become comparable to the underlying credit. These motivate Policy Aligned Critic Training (PACT), which adopts an Actor-then-Critic update order to apply importance sampling correction to critic training and better align the critic with the updated policy. In agentic mathematical reasoning, PACT achieves 72.87% average accuracy across four benchmarks, outperforming GRPO and PPO by 8.80 and 13.16 percentage points, respectively. On SWE-bench Verified, PACT achieves a pass rate of 67.4%, outperforming PPO, GRPO, and SAO by 2.4, 2.0, and 3.8 percentage points, respectively.