[论文解读] A General Theoretical Paradigm to Understand Learning from Human Preferences
作者提出一个通用的 Psi-偏好优化框架(PsiPO),将 RLHF 和 DPO 表示为特例,分析它们的陷阱,并提出 Identity-PO (IPO) 通过对偏好变换进行界定并利用一个简单的离线损失来抑制过拟合。
The prevalent deployment of learning from human preferences through reinforcement learning (RLHF) relies on two important approximations: the first assumes that pairwise preferences can be substituted with pointwise rewards. The second assumes that a reward model trained on these pointwise rewards can generalize from collected data to out-of-distribution data sampled by the policy. Recently, Direct Preference Optimisation (DPO) has been proposed as an approach that bypasses the second approximation and learn directly a policy from collected data without the reward modelling stage. However, this method still heavily relies on the first approximation. In this paper we try to gain a deeper theoretical understanding of these practical algorithms. In particular we derive a new general objective called $Ψ$PO for learning from human preferences that is expressed in terms of pairwise preferences and therefore bypasses both approximations. This new general objective allows us to perform an in-depth analysis of the behavior of RLHF and DPO (as special cases of $Ψ$PO) and to identify their potential pitfalls. We then consider another special case for $Ψ$PO by setting $Ψ$ simply to Identity, for which we can derive an efficient optimisation procedure, prove performance guarantees and demonstrate its empirical superiority to DPO on some illustrative examples.
研究动机与目标
- 提供一个统一的理论公式,用于从人类偏好中学习,涵盖 RLHF 和 DPO 作为特例。
- 分析当前方法因 Bradley–Terry 模型带来的局限性,以及来自确定性偏好可能导致的过拟合。
- 引入一个有界的、恒等 PsiPO 变体(IPO),在减轻过拟合的同时保持对参考策略的正则化。
- 开发一个离线的、计算高效的 IPO 损失,具备根查找,并在合理条件下证明最优解的唯一性。
- 通过实验性 的 bandit 场景以及两行动/非对称数据设置,展示 IPO 相较于 DPO 的经验优势。
提出的方法
- 定义 PsiPO 目标:最大化 E[Psi(p*(y ≻ y' | x))] − τ KL(pi || pi_ref).
- 在 Bradley–Terry 假设下,当 Psi(q) = log(q/(1−q)) 时,显示 RLHF 和 DPO 是特例。
- 在 BT 下推导闭式最优策略,并在偏好确定或接近确定时讨论过拟合风险。
- 提出 Identity-PO (IPO),使 Psi = Identity 以避免 BT 建模,并推导出一个对应的离线损失 L(pi),具有唯一最小点。
- 提供一个从偏好数据抽样得到的 IPO 损失,该损失对偏好数据无偏,并产生一个简单的回归形式,将对数似然比与参考策略联系起来。
- 给出训练后的 IPO 的算法 1,并展示理论上的唯一性结果(定理 2)。
实验结果
研究问题
- RQ1能否将 RLHF 和 DPO 看作在成对偏好上运行的单一 Psi-偏好目标的实例?
- RQ2当偏好是确定的或高度倾斜时,基于 BT 的偏好建模在 RLHF/DPO 中存在哪些理论陷阱(如过拟合)?
- RQ3有界的、恒等的 PsiPO(IPO)是否在保持对参考策略的有益正则化的同时减轻过拟合?
- RQ4能否推导出具有收敛保证的离线 IPO 损失以及与 DPO 相当或更好的实际训练过程?
- RQ5示例性的 bandit 实验是否在各种数据情形下显示 IPO 相对于 DPO 的经验优势?
主要发现
- RLHF 和 DPO 可以被表述为以成对形式表达的 Psi-偏好目标的特例。
- 在 Bradley–Terry 建模下,当偏好是确定的或接近确定时,这些方法可能过拟合,削弱 KL 正则化。
- 将 Psi 设置为 Identity(IPO)可得到有界、带正则化的目标,保留对参考策略的影响并降低过拟合风险。
- 在合理的支持假设下,IPO 损失在定义的策略类中存在唯一的全局/局部最小值(定理 2)。
- 一个实际可采样的 IPO 损失可以离线从偏好数据计算,并在学习指向参考策略时表现稳定,在某些仿真中不同于 DPO。
- 示例表明 IPO 可以避免 DPO 在确定性或偏斜数据设置中可能收敛到的贪婪退化解。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。