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

SimPO:无参考奖励的简单偏好优化

SimPO: Simple Preference Optimization with a Reference-Free Reward

University of Virginia(弗吉尼亚大学);Princeton University(普林斯顿大学)

Yu Meng, Mengzhou Xia, Danqi Chen

AI总结:

本研究提出无需参考模型的SimPO偏好优化算法,以序列平均对数概率为隐式奖励并引入目标奖励间隔,在多个基准和主流模型上显著优于DPO等现有方法,小参数模型性能突出。

摘要:

直接偏好优化(DPO)是一种广泛使用的离线偏好优化算法,它对人类反馈强化学习(RLHF)中的奖励函数进行重参数化,以提升简洁性和训练稳定性。在本研究中,我们提出了SimPO——一种更简单却更有效的方法。SimPO的有效性源于一项核心设计:将序列的平均对数概率用作隐式奖励。这种奖励公式与模型生成的对齐度更高,且无需参考模型,从而提升了计算和内存效率。此外,我们在Bradley-Terry目标中引入了目标奖励间隔,以拉大优胜响应和落败响应之间的间隔,进一步提升算法性能。我们在多种最先进的训练设置下,将SimPO与DPO及其最新变体进行了对比,涉及的基础模型和指令微调模型包括Mistral、Llama 3和Gemma 2。我们在大量基于对话的评估基准上进行了测试,包括AlpacaEval 2、MT-Bench和Arena-Hard。结果表明,SimPO在未显著增加响应长度的情况下,持续且显著优于现有方法。具体而言,SimPO在AlpacaEval 2上较DPO最高领先6.4分,在Arena-Hard上最高领先7.5分。我们基于Gemma-2-9B-it构建的性能最优模型,在AlpacaEval 2上取得了72.4%的长度控制胜率,在Arena-Hard上取得了59.1%的胜率,并在Chatbot Arena的10B参数以下真实用户投票模型中排名第一。

英文摘要:

Direct Preference Optimization (DPO) is a widely used offline preference optimization algorithm that reparameterizes reward functions in reinforcement learning from human feedback (RLHF) to enhance simplicity and training stability. In this work, we propose SimPO, a simpler yet more effective approach. The effectiveness of SimPO is attributed to a key design: using the average log probability of a sequence as the implicit reward. This reward formulation better aligns with model generation and eliminates the need for a reference model, making it more compute and memory efficient. Additionally, we introduce a target reward margin to the Bradley-Terry objective to encourage a larger margin between the winning and losing responses, further improving the algorithm's performance. We compare SimPO to DPO and its latest variants across various state-of-the-art training setups, including both base and instruction-tuned models such as Mistral, Llama 3, and Gemma 2. We evaluate on extensive chat-based evaluation benchmarks, including AlpacaEval 2, MT-Bench, and Arena-Hard. Our results demonstrate that SimPO consistently and significantly outperforms existing approaches without substantially increasing response length. Specifically, SimPO outperforms DPO by up to 6.4 points on AlpacaEval 2 and by up to 7.5 points on Arena-Hard. Our top-performing model, built on Gemma-2-9B-it, achieves a 72.4% length-controlled win rate on AlpacaEval 2, a 59.1% win rate on Arena-Hard, and ranks 1st on Chatbot Arena among <10B models with real user votes.

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

↑