arxiv.org·2026/10/20
针对LLM后训练中off-policy policy gradient何时成立,作者证明在自回归MDP下,保持最优策略π∗为不动点只有两种一致路线:轨迹级重要性权重,或KL正则化并让baseline等于最优soft值即grouped mean;前者受horizon curse影响,故聚焦后者并识别为GRPG。GRPG梯度等价于条件方差最小化和轨迹级Bellman残差最小化(TBRM),在all-policy coverage下得到1/n级有限样本regret界。进一步,baseline加常数偏移δ不仅降方差,还隐式实现pessimism:AsymRE更新分解为VM梯度加SFT正则,等价于对价值函数的max-min博弈,把覆盖条件放松到single-policy coverage并保持同量级regret;代价是π∗只成为近似不动点。
为什么重要 解释 GRPO/AsymRE 类方法为何离策略采样还能一致,以及 baseline 偏移如何实现离线 RL 的悲观主义,直接影响 LLM 后训练算法的设计与调参。适合 RL 理论研究者、LLM 后训练算法工程师、关注 GRPO/AsymRE 一致性的人
强化学习已成为大语言模型(LLM)后训练的核心工具,其中策略梯度方法通常被以离策略方式部署,尽管原始策略梯度假设同策略采样。我们研究这种离策略部署在何时是合理的,以及其核心组成部分(包括重要性采样、KL 正则化和基线)在处理由此产生的分布偏移中扮演何种角色。
我们表明,对于一般类别的离策略策略梯度更新,一致性(即最优策略保持为驻点)要求在最优策略处具备以下两种结构之一:轨迹级重要性加权(它遭受著名的“地平线诅咒”(curse of horizon)),或带有等于最优软价值的基线的 KL 正则化(由分组均值实例化)。
聚焦于 KL 路线,我们将其认定为组相对策略梯度(GRPG)更新,建立了与轨迹级 Bellman 残差最小化目标的等价性,并在全策略覆盖下获得了有限样本遗憾界。这也为经验上成功的 GRPO 目标的一个变体提供了理论解释。我们进一步揭示了基线在离策略设置中的一个隐藏作用:基线的常数偏移实现了悲观主义,这是离线 RL 中针对部分数据覆盖的标准补救措施。
我们通过非对称 REINFORCE 目标将其实例化,并将其与博弈论离线 RL 框架联系起来,展示了在单策略覆盖下的遗憾界。总之,这些结果为 LLM 后训练中的离策略策略梯度提供了统一的理论视角,并将其与离线 RL 中的经典思想联系起来。
Reinforcement learning has become a central tool for large language model (LLM) post-training, where policy gradient methods are routinely deployed off-policy, even though vanilla policy gradient assumes on-policy sampling.
We study when such off-policy deployment is justified, and what roles its core ingredients, including importance sampling, KL regularization, and baselines, play in handling the resulting distribution shift.
We show that for a general class of off-policy policy gradient updates, consistency, in the sense that the optimal policy remains a stationary point, requires one of two structures at the optimal policy: trajectory-level importance weighting, which suffers from the well-known curse of horizon, or KL regularization with a baseline equal to the optimal soft value, instantiated by the grouped mean.
Focusing on the KL route, we identify it with the group-relative policy gradient (GRPG) update, establish an equivalence to a trajectory-level Bellman residual minimization objective, and obtain a finite-sample regret bound under all-policy coverage.
This also gives a theoretical account of a variant of the empirically successful GRPO objective.
We further uncover a hidden role of baselines in the off-policy setting: a constant shift in the baseline implements pessimism, the standard remedy in offline RL for partial data coverage.
We instantiate this via the asymmetric REINFORCE objective, and connect it to the game-theoretic offline RL framework, showing a regret bound with single-policy coverage.
Together, these results offer a unified theoretical view of off-policy policy gradient in LLM post-training and connect it to classical ideas in offline RL.
EVIDENCE / METHODS
判断
Proposition 1 证明:离策略一致性必须有 IS 权重或 KL+grouped mean
对 LLM 后训练,轨迹级 IS 权重方差随 horizon H 指数增长(curse of horizon),在实践中不可行。KL 正则化 + grouped mean baseline 因改变了最优性条件本身而避开这一诅咒:它不恢复 on-policy 梯度,而让 advantage 在 π∗ 处逐点消失。这一区分解释了为什么 GRPO 类方法能在离策略采样下工作,而经典 IS 修正无法扩展到长序列文本。
注释 · 这是全篇的理论起点:不一致的更新连最优策略都保不住。出自 Abstract & Contributions
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。