论文

正则化重要性采样下策略梯度估计的基线与得分中心化分析

Baselines and Score Centering in Policy Gradient Estimation

精选理由

做 RL 后训练的朋友可以看看,讲清楚了 GRPO 那套 group-mean baseline 什么时候够用、什么时候会引入偏差。

这篇笔记研究 RL 后训练 LLM 时的策略梯度估计。在采用截断、掩码或裁剪等正则化重要性采样的情况下,重要性加权策略梯度对奖励的常数平移不再保持不变性。

正文

作者提出改用奖励与重要性加权得分之间的协方差作为估计对象,在比率未正则化时与策略梯度一致。笔记分别推导了序列级与 token 级重要性采样的情形,并说明:序列级采样下使用组均值基线后得分中心化无额外收益,token 级采样下只用组均值基线而不做得分中心化一般会引入偏差。

原文 · arXiv cs.LG

Baselines and Score Centering in Policy Gradient Estimation

Reinforcement learning has become a widely used approach to post-training large language models. In a typical implementation, learning is off-policy: The policy generating the responses differs from the policy being trained because of training-inference mismatch or policy staleness in asynchronous training. This discrepancy is commonly addressed by importance sampling, whose ratio is usually regularized in practice through truncation, masking, or clipping. Under regularized importance sampling, the importance-weighted policy gradient is no longer invariant to constant shifts in the reward. This invariance is recovered by using the covariance between the reward and the importance-weighted score as the estimand, which coincides with the policy gradient when the ratio is not regularized. This note develops this covariance perspective for both sequence-level and token-level importance sampling. The covariance perspective reveals the roles of the group-mean baseline and score centering in policy gradient estimation. Both perform centering in covariance estimation, but they differ in the mean being subtracted: The group-mean baseline uses a sample mean, whereas score centering uses a population mean. The two lead to distinct unbiased covariance estimators with different variances. Whether both forms of centering should be used simultaneously depends on whether importance sampling is applied at the sequence level or at the token level. With sequence-level importance sampling, score centering adds no benefit once the group-mean baseline is used; with token-level importance sampling, using the group-mean baseline without score centering generally introduces bias when the importance ratio is regularized.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「各国 AI 监管法案、合规治理与主权算力政策」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:策略梯度、强化学习、GRPO、重要性采样,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Shuo Han, Ziqing Hu),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们