arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.07691cs.CLcs.AI
收藏

ORPO:无需参考模型的单片偏好优化

ORPO: Monolithic Preference Optimization without Reference Model

KAIST AI(韩国科学技术院人工智能学院)

Jiwoo Hong, Noah Lee, James Thorne

AI总结:

本文提出ORPO算法,一种无需参考模型的单片偏好优化方法,通过轻微惩罚不 favored 风格实现偏好对齐的SFT,并在多个模型上超越更大规模的最先进模型。

摘要:

尽管近期针对语言模型的偏好对齐算法已展现出令人鼓舞的结果,但监督微调(SFT)仍然是实现成功收敛所必需的。本文在偏好对齐的背景下研究了SFT的关键作用,强调对不 favored 的生成风格施加轻微惩罚就足以实现偏好对齐的SFT。基于这一基础,我们提出了一种简单且创新的无参考模型单片比值比偏好优化算法ORPO,消除了额外偏好对齐阶段的需求。我们通过实证和理论两方面证明,在从125M到7B的不同规模下,比值比是在SFT期间对比 favored 与不 favored 风格的合理选择。具体而言,仅使用UltraFeedback对Phi-2(2.7B)、Llama-2(7B)和Mistral(7B)进行ORPO微调,其性能超越了具有超过7B和13B参数的最先进语言模型:在AlpacaEval_{2.0}上达到12.20%(图1),在IFEval(指令级宽松,表6)上达到66.19%,在MT-Bench上达到7.32(图12)。我们发布了Mistral-ORPO-α(7B)和Mistral-ORPO-β(7B)的代码和模型检查点。

英文摘要:

While recent preference alignment algorithms for language models have demonstrated promising results, supervised fine-tuning (SFT) remains imperative for achieving successful convergence. In this paper, we study the crucial role of SFT within the context of preference alignment, emphasizing that a minor penalty for the disfavored generation style is sufficient for preference-aligned SFT. Building on this foundation, we introduce a straightforward and innovative reference model-free monolithic odds ratio preference optimization algorithm, ORPO, eliminating the necessity for an additional preference alignment phase. We demonstrate, both empirically and theoretically, that the odds ratio is a sensible choice for contrasting favored and disfavored styles during SFT across the diverse sizes from 125M to 7B. Specifically, fine-tuning Phi-2 (2.7B), Llama-2 (7B), and Mistral (7B) with ORPO on the UltraFeedback alone surpasses the performance of state-of-the-art language models with more than 7B and 13B parameters: achieving up to 12.20% on $\text{AlpacaEval}_{2.0}$ (Figure 1), 66.19% on IFEval (instruction-level loose, Table 6), and 7.32 in MT-Bench (Figure 12). We release code and model checkpoints for Mistral-ORPO-$α$ (7B) and Mistral-ORPO-$β$ (7B).

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

↑