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

自回归直接偏好优化

Autoregressive Direct Preference Optimization

University of Tokyo(东京大学)

Masanari Oi, Mahiro Ukai, Masahiro Kaneko, Naoaki Okazaki, Nakamasa Inoue

AI总结:

提出自回归直接偏好优化(ADPO),在应用Bradley-Terry模型前显式引入自回归假设,通过将DPO目标中的求和操作移至log-sigmoid函数外部,实现更优的偏好对齐,并首次区分token长度μ和反馈长度μ'两种度量。

摘要:

直接偏好优化(DPO)已成为将大型语言模型(LLMs)与人类偏好对齐的一种有前景的方法。然而,对响应级Bradley-Terry(BT)模型的广泛依赖可能限制了其全部潜力,因为参考模型和可学习模型仅在推导目标函数后才被假定为自回归。受此限制的启发,我们重新审视DPO的理论基础,并提出一种新的公式,在应用BT模型之前显式引入自回归假设。通过重新表述和扩展DPO,我们推导出一种新的变体,称为自回归DPO(ADPO),它将自回归建模显式整合到偏好优化框架中。在不违反理论基础的情况下,推导出的损失采用了一种优雅的形式:它将DPO目标中的求和操作移至log-sigmoid函数外部。此外,通过对ADPO的理论分析,我们表明在设计基于DPO的算法时需要考虑两种长度度量:token长度μ和反馈长度μ'。据我们所知,我们是第一个明确区分这两种度量并分析它们对LLMs中偏好优化影响的工作。

英文摘要:

Direct preference optimization (DPO) has emerged as a promising approach for aligning large language models (LLMs) with human preferences. However, the widespread reliance on the response-level Bradley-Terry (BT) model may limit its full potential, as the reference and learnable models are assumed to be autoregressive only after deriving the objective function. Motivated by this limitation, we revisit the theoretical foundations of DPO and propose a novel formulation that explicitly introduces the autoregressive assumption prior to applying the BT model. By reformulating and extending DPO, we derive a novel variant, termed Autoregressive DPO (ADPO), that explicitly integrates autoregressive modeling into the preference optimization framework. Without violating the theoretical foundations, the derived loss takes an elegant form: it shifts the summation operation in the DPO objective outside the log-sigmoid function. Furthermore, through theoretical analysis of ADPO, we show that there exist two length measures to be considered when designing DPO-based algorithms: the token length $μ$ and the feedback length $μ'$. To the best of our knowledge, we are the first to explicitly distinguish these two measures and analyze their implications for preference optimization in LLMs.

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

↑