arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.10148cs.LGcs.AIcs.CL
收藏

AlphaDPO:面向直接偏好优化的自适应奖励边际

AlphaDPO: Adaptive Reward Margin for Direct Preference Optimization

MoE Key Lab of BIPC, University of Science(BIPC联合实验室,科学与技术大学);Alibaba Group(阿里巴巴集团)

Junkang Wu, Xue Wang, Zhengyi Yang, Jiancan Wu, Jinyang Gao, Bolin Ding, Xiang Wang, Xiangnan He

AI总结:

本文提出α-DPO算法,通过引入动态奖励边际和自适应偏好分布,解决DPO依赖次优参考模型及SimPO固定奖励边际的问题,并在多个基准上显著提升大语言模型对齐性能。

摘要:

将大语言模型(LLMs)与人类价值观和意图对齐,对于其实用性、诚实性和安全性至关重要。基于人类反馈的强化学习(RLHF)是实现这种对齐的流行方法,但它在计算效率和训练稳定性方面面临挑战。最近的方法,如直接偏好优化(DPO)和简单偏好优化(SimPO),提出了RLHF的离线替代方案,通过重新参数化奖励函数来简化流程。然而,DPO依赖于一个可能次优的参考模型,而SimPO关于固定目标奖励边际的假设可能导致在多样化数据设置下做出次优决策。在这项工作中,我们提出了$α$-DPO,一种自适应偏好优化算法,旨在通过引入动态奖励边际来解决这些局限性。具体而言,$α$-DPO采用自适应偏好分布,平衡策略模型和参考模型以实现个性化奖励边际。我们为$α$-DPO提供了理论保证,证明其作为代理优化目标的有效性,以及其通过KL散度控制来平衡对齐性和多样性的能力。在AlpacaEval 2和Arena-Hard上的实证评估表明,$α$-DPO在各种模型设置下始终优于DPO和SimPO,确立了其作为微调LLMs的稳健方法的地位。我们的方法在胜率上取得了显著提升,凸显了其作为LLM对齐强大工具的潜力。代码可在https://github.com/junkangwu/alpha-DPO获取。

英文摘要:

Aligning large language models (LLMs) with human values and intentions is crucial for their utility, honesty, and safety. Reinforcement learning from human feedback (RLHF) is a popular approach to achieve this alignment, but it faces challenges in computational efficiency and training stability. Recent methods like Direct Preference Optimization (DPO) and Simple Preference Optimization (SimPO) have proposed offline alternatives to RLHF, simplifying the process by reparameterizing the reward function. However, DPO depends on a potentially suboptimal reference model, and SimPO's assumption of a fixed target reward margin may lead to suboptimal decisions in diverse data settings. In this work, we propose $α$-DPO, an adaptive preference optimization algorithm designed to address these limitations by introducing a dynamic reward margin. Specifically, $α$-DPO employs an adaptive preference distribution, balancing the policy model and the reference model to achieve personalized reward margins. We provide theoretical guarantees for $α$-DPO, demonstrating its effectiveness as a surrogate optimization objective and its ability to balance alignment and diversity through KL divergence control. Empirical evaluations on AlpacaEval 2 and Arena-Hard show that $α$-DPO consistently outperforms DPO and SimPO across various model settings, establishing it as a robust approach for fine-tuning LLMs. Our method achieves significant improvements in win rates, highlighting its potential as a powerful tool for LLM alignment. The code is available at https://github.com/junkangwu/alpha-DPO

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

↑