arXiv:2501.03884cs.CL2025-01ICML被引 15

调整奖励函数形状可显著提升大模型对齐效果。

AlphaPO: Reward Shape Matters for LLM Alignment

  • 引入α参数动态调节奖励函数形状,缓解偏好偏差问题。
  • 在Mistral-7B和Llama3-8B上比SimPO提升7%~10%,比DPO提升15%~50%。
  • 适合追求高精度对齐的模型训练者,尤其关注奖励设计的研究者。

基于人类反馈的强化学习(RLHF)及其变体在使大语言模型遵循指令并反映人类价值观方面取得了显著进展。近年来,直接对齐算法(DAAs)兴起,跳过奖励建模阶段,直接将奖励定义为待学习策略的函数。典型方法包括直接偏好优化(DPO)和简单偏好优化(SimPO)。这些方法常面临似然位移问题,即优选响应的概率被不必要地降低。本文提出,对于DAAs而言,奖励函数的形状至关重要。我们提出新方法AlphaPO,通过引入α参数改变奖励函数形状,超越标准对数奖励。AlphaPO能精细控制似然位移与过度优化。相比表现优异的SimPO,AlphaPO在Mistral-7B和Llama3-8B的指令版本上实现约7%至10%的相对性能提升;在相同模型上相较DPO提升15%至50%。分析与结果凸显了奖励形状的重要性,以及系统性调整其形态如何影响训练动态并提升对齐效果。

原文摘要 · Abstract (English)

Reinforcement Learning with Human Feedback (RLHF) and its variants have made huge strides toward the effective alignment of large language models (LLMs) to follow instructions and reflect human values. More recently, Direct Alignment Algorithms (DAAs) have emerged in which the reward modeling stage of RLHF is skipped by characterizing the reward directly as a function of the policy being learned. Some popular examples of DAAs include Direct Preference Optimization (DPO) and Simple Preference Optimization (SimPO). These methods often suffer from likelihood displacement, a phenomenon by which the probabilities of preferred responses are often reduced undesirably. In this paper, we argue that, for DAAs the reward (function) shape matters. We introduce \textbf{AlphaPO}, a new DAA method that leverages an $α$-parameter to help change the shape of the reward function beyond the standard log reward. AlphaPO helps maintain fine-grained control over likelihood displacement and over-optimization. Compared to SimPO, one of the best performing DAAs, AlphaPO leads to about 7\% to 10\% relative improvement in alignment performance for the instruct versions of Mistral-7B and Llama3-8B while achieving 15\% to 50\% relative improvement over DPO on the same models. The analysis and results presented highlight the importance of the reward shape and how one can systematically change it to affect training dynamics, as well as improve alignment performance.

大模型对齐奖励设计偏好优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。