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

基于对比散度的偏好优化:你的奖励模型其实是一个NLL估计器

Preference Optimization via Contrastive Divergence: Your Reward Model is Secretly an NLL Estimator

Amazon Web Services(亚马逊网络服务);Amazon Artificial General Intelligence (AGI)(亚马逊通用人工智能(AGI))

Zhuotong Chen, Fang Liu, Xuan Zhu, Yanjun Qi, Mohammad Ghavamzadeh

AI总结:

本文提出基于对比散度的偏好优化框架,将PO形式化为NLL最小化并用MC采样生成困难负样本,所提出的MC-PO及在线版OnMC-PO在主流对齐基准上超越现有SOTA方法。

摘要:

现有的偏好优化(PO)研究主要围绕构建成对偏好数据展开,这些数据遵循简单的启发式方法,例如基于人类(或AI)排名分数最大化偏好补全与非偏好补全之间的间隔。然而,这些启发式方法都缺乏完整的理论依据。在本工作中,我们开发了一个新的PO框架,为有效采样非偏好补全提供理论指导。为实现这一目标,我们将PO形式化为最小化概率模型的负对数似然(NLL),并提出通过采样策略估计其归一化常数。正如我们将展示的,这些估计样本可以在PO中充当非偏好补全。随后,我们选择对比散度(CD)作为采样策略,并提出一种新的MC-PO算法,该算法应用来自CD的蒙特卡洛(MC)核,针对参数化奖励模型采样困难负样本。最后,我们提出OnMC-PO算法,它是MC-PO在在线场景下的扩展。在流行的对齐基准上,MC-PO优于现有的SOTA基线,而OnMC-PO带来了进一步的提升。

英文摘要:

Existing studies on preference optimization (PO) have centered on constructing pairwise preference data following simple heuristics, such as maximizing the margin between preferred and dispreferred completions based on human (or AI) ranked scores. However, none of these heuristics has a full theoretical justification. In this work, we develop a novel PO framework that provides theoretical guidance to effectively sample dispreferred completions. To achieve this, we formulate PO as minimizing the negative log-likelihood (NLL) of a probability model and propose to estimate its normalization constant via a sampling strategy. As we will demonstrate, these estimative samples can act as dispreferred completions in PO. We then select contrastive divergence (CD) as the sampling strategy, and propose a novel MC-PO algorithm that applies the Monte Carlo (MC) kernel from CD to sample hard negatives w.r.t. the parameterized reward model. Finally, we propose the OnMC-PO algorithm, an extension of MC-PO to the online setting. On popular alignment benchmarks, MC-PO outperforms existing SOTA baselines, and OnMC-PO leads to further improvement.

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

↑