arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.01878cs.CLcs.LG
收藏

LiPO:通过学习排序进行列表式偏好优化

LiPO: Listwise Preference Optimization through Learning-to-Rank

Google DeepMind(谷歌DeepMind);Google(谷歌)

Tianqi Liu, Zhen Qin, Junru Wu, Jiaming Shen, Misha Khalman, Rishabh Joshi, Yao Zhao, Mohammad Saleh, Simon Baumgartner, Jialu Liu, Peter J. Liu, Xuanhui Wang

AI总结:

本文提出LiPO框架,将语言模型对齐视为列表式排序问题,利用学习排序目标优化策略,其中LiPO-λ方法在多个偏好对齐任务上显著优于DPO和SLiC。

摘要:

将语言模型(LMs)与精选的人类反馈对齐,对于控制其在现实应用中的行为至关重要。最近几种策略优化方法,如DPO和SLiC,作为传统人类反馈强化学习(RLHF)方法的有前景的替代方案。在实践中,人类反馈通常以对多个响应的排序列表形式出现,以分摊阅读提示的成本。多个响应也可以由奖励模型或AI反馈进行排序。目前缺乏对直接基于响应列表进行拟合的深入研究。在这项工作中,我们将语言模型对齐形式化为一个列表式排序问题,并描述了LiPO框架,其中策略可以更有效地从给定提示的合理响应排序列表中学习。这一观点与学习排序(LTR)建立了明确的联系,其中大多数现有的偏好优化工作可以映射到现有的排序目标。遵循这一联系,我们考察了在语言模型对齐中研究不足的排序目标,其中DPO和SLiC是列表大小为二时的特例。特别地,我们强调了一种特定方法LiPO-λ,它利用了最先进的列表式排序目标,并以更高级的方式对每个偏好对进行加权。我们表明,在多个偏好对齐任务中,使用精选和真实的排序偏好数据,LiPO-λ可以明显优于DPO变体和SLiC。

英文摘要:

Aligning language models (LMs) with curated human feedback is critical to control their behaviors in real-world applications. Several recent policy optimization methods, such as DPO and SLiC, serve as promising alternatives to the traditional Reinforcement Learning from Human Feedback (RLHF) approach. In practice, human feedback often comes in a format of a ranked list over multiple responses to amortize the cost of reading prompt. Multiple responses can also be ranked by reward models or AI feedback. There lacks such a thorough study on directly fitting upon a list of responses. In this work, we formulate the LM alignment as a \textit{listwise} ranking problem and describe the LiPO framework, where the policy can potentially learn more effectively from a ranked list of plausible responses given the prompt. This view draws an explicit connection to Learning-to-Rank (LTR), where most existing preference optimization work can be mapped to existing ranking objectives. Following this connection, we provide an examination of ranking objectives that are not well studied for LM alignment with DPO and SLiC as special cases when list size is two. In particular, we highlight a specific method, LiPO-$λ$, which leverages a state-of-the-art \textit{listwise} ranking objective and weights each preference pair in a more advanced manner. We show that LiPO-$λ$ can outperform DPO variants and SLiC by a clear margin on several preference alignment tasks with both curated and real rankwise preference data.

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

↑