arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.14895cs.LGcs.AI
收藏

超越重要性采样:拒绝门策略优化

Beyond Importance Sampling: Rejection-Gated Policy Optimization

Ziwu Sun, Zhen Gao, Jiyong Zhang, Jiaheng Li

AI总结:

本文提出拒绝门策略优化方法,通过引入可微的接受门替代重要性采样比,统一了TRPO、PPO和REINFORCE的策略梯度,并证明其在重要性采样比重尾时能保证有限梯度方差。

摘要:

我们提出了一种新的策略优化视角:而不是对所有样本进行重要性加权,优化器应选择哪些样本足够可信以驱动策略更新。基于此观点,我们引入拒绝门策略优化(RGPO),将重要性采样比r_θ = π_θ / π_old替换为一个平滑、可微的接受门α_θ(s, a) = g(r_θ(s, a)),其范围在[0, 1]。不同于以往在训练前应用拒绝采样作为数据层面启发式方法,RGPO将拒绝提升为优化原则:门直接参与梯度计算,并与策略隐式更新。RGPO提供了一个统一框架:TRPO、PPO和REINFORCE的策略梯度都对应于特定的有效梯度权重w(r) = g'(r) * r。我们证明RGPO在重要性采样比重尾时能保证有限、有界的梯度方差(而重要性采样方差发散)。我们进一步证明RGPO仅引入有界、可控的偏差,并提供与TRPO类似的大致单调策略改进保证。RGPO在计算成本上与PPO相当,不需要二次优化,并自然扩展到RLHF风格的偏好对齐。在Qwen2.5-1.5B-Instruct在Anthropic HH-RLHF(n = 3种子)上的在线偏好微调中,RGPO使用双比值门,将学习锚定到先前策略和参考模型,实现帕累托主导的结果:在线RL方法中最高奖励(+14.8% vs. PPO-RLHF)和最低KL散度到参考模型(-16.0% vs. PPO-RLHF,-53.1% vs. GRPO).

英文摘要:

We propose a new perspective on policy optimization: rather than reweighting all samples by their importance ratios, an optimizer should select which samples are trustworthy enough to drive a policy update. Building on this view, we introduce Rejection-Gated Policy Optimization (RGPO), which replaces the importance sampling ratio r_theta = pi_theta / pi_old with a smooth, differentiable acceptance gate alpha_theta(s, a) = g(r_theta(s, a)) in the range [0, 1]. Unlike prior work that applies rejection sampling as a data-level heuristic before training, RGPO elevates rejection to an optimization principle: the gate participates directly in gradient computation and is implicitly updated alongside the policy. RGPO provides a unified framework: the policy gradients of TRPO, PPO, and REINFORCE all correspond to specific choices of the effective gradient weight w(r) = g'(r) * r. We prove that RGPO guarantees finite, bounded gradient variance even when importance sampling ratios are heavy-tailed (where IS variance diverges). We further show that RGPO incurs only a bounded, controllable bias and provides an approximate monotonic policy improvement guarantee analogous to TRPO. RGPO matches PPO in computational cost, requires no second-order optimization, and extends naturally to RLHF-style preference alignment. In online preference fine-tuning of Qwen2.5-1.5B-Instruct on Anthropic HH-RLHF (n = 3 seeds), RGPO uses a dual-ratio gate that anchors learning to both the previous policy and the reference model, achieving a Pareto-dominant outcome: the highest reward among online RL methods (+14.8% vs. PPO-RLHF) and the lowest KL divergence to the reference model (-16.0% vs. PPO-RLHF, -53.1% vs. GRPO).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑