arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06375cs.LGcs.AImath.STstat.TH
收藏

一对GRPO家族的统一:从隐式到显式的偏好约束用于稳定和通用的RL对齐

Ordinal Credit Assignment: Multi-Step Reinforcement Learning from Comparisons Alone

Department of Automation, Tsinghua University(清华大学自动化系)

Hao Yu

AI总结:

本文提出了一种统一的偏好基于RL优化框架,通过Soft-Pair-GRPO和Hard-Pair-GRPO两种变体,解决了主流配对偏好学习中政策更新不稳定、梯度方向模糊等问题,提升了对齐质量与训练稳定性。

摘要:

大型语言模型(LLM)通过人类偏好强化学习(RLHF)对齐面临政策更新不稳定、梯度方向模糊、可解释性差和梯度方差大等挑战。为系统解决这些限制,本文建立了一个以Pair-GRPO家族为核心的统一理论框架。Soft-Pair-GRPO是对Group Relative Policy Optimization(GRPO)的最小修改,将组归一化标量奖励替换为二元配对偏好奖励,保留GRPO的截断替代和KL正则化结构。证明了一个关键的梯度等价定理:在当前策略的一阶泰勒展开中,Soft-Pair-GRPO的梯度是标准GRPO梯度的正标量倍数,解释了其在丢弃连续奖励幅度的情况下仍保持经验稳定的原理。在此基础上,提出Hard-Pair-GRPO,引入显式的局部概率约束和约束KL拟合优化以进一步抑制梯度噪声和全局策略漂移。为两种变体提供全面的理论保证,包括单调策略改进、确定性梯度方向、梯度方差减少和动态步长收敛。在标准LLM对齐基准(HH-RLHF,UltraFeedback)和MuJoCo连续控制任务HalfCheetah-v4上的广泛实验表明,Pair-GRPO家族在对齐质量、人类偏好胜率、训练稳定性和泛化到通用强化学习方面均优于最先进的基线。消融研究验证了每个核心组件的关键贡献。

英文摘要:

Policy-gradient methods need a scalar reward, yet for many tasks no formula captures what we want, while judging which of two outcomes is better is easy. We study reinforcement learning that receives only such comparisons - no reward function, no reward model - in multi-step tasks. Groups of trajectories start from a shared state, and each action is credited by how its reward-to-go compares with those of other trajectories at the same time step. We show the expected update is policy gradient with reward-to-go replaced by its win rate against the population still running at that time, weighted by the chance an opponent is still running; in deterministic environments the update ranks actions by true value and the optimal policy is stable, whereas under stochastic outcomes it prefers actions that win more often rather than those with higher mean. Label noise near ties or from position bias leaves the expected update unchanged; only noise that also flips clear comparisons halves the signal. A critic trained from the same comparisons removes the state confound without changing the expected update. In a pre-registered study over six environments with ten seeds per claim, comparisons cost no detectable performance relative to scalar returns at the same granularity, learning a reward model from the same comparisons is not better, and ten percent of comparisons suffice when spent on a few time points with all pairs. With real LLM judges, comparisons are 7-10 points more accurate than pointwise scores, and the gap grows with the stronger judge. Trained end-to-end with an LLM judge on a requirement the hand-written reward omits, policies satisfy it in all five seeds but land far less often than with oracle comparisons, because the judge is near chance on the near-tied failures dominating early training. Comparisons do not close the gap to PPO with scalar rewards on HalfCheetah.

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

↑