arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.09834cs.AI
收藏

Minor DPO 拒绝惩罚以提升训练鲁棒性

Minor DPO reject penalty to increase training robustness

antgroup(蚂蚁集团)

Shiming Xie, Hong Chen, Fred Yu, Zeye Sun, Xiuyu Wu, Yingfan Hu

AI总结:

本文分析 DPO 中 β 参数机制及其与 RLHF 的差异,提出 MinorDPO 方法以更好对齐原始强化学习算法并提升偏好优化稳定性。

摘要:

从人类偏好中学习是一种在大规模语言模型(LLM)微调阶段使用的范式,旨在使预训练 LLM 更好地对齐下游任务中的人类偏好。过去,该方法使用基于人类反馈的强化学习(RLHF)算法来优化 LLM 策略,使其与这些偏好对齐,同时避免偏离原始模型过远。最近,直接偏好优化(DPO)被提出,以一种简化的无强化学习方法解决对齐问题。利用选定数据和拒绝数据的偏好对,DPO 将相对对数概率建模为隐式奖励函数,并直接使用简单的二元交叉熵目标来优化 LLM 策略。DPO 相当直接且易于理解,在大多数情况下表现高效且良好。在本文中,我们分析了 DPO 中 $β$ 的工作机制,揭示了其在强化学习算法与 DPO 之间的语法差异,并理解了 DPO 简化所带来的潜在不足。基于这些见解,我们提出了 MinorDPO,它能更好地对齐原始强化学习算法,并提高偏好优化过程的稳定性。

英文摘要:

Learning from human preference is a paradigm used in large-scale language model (LLM) fine-tuning step to better align pretrained LLM to human preference for downstream task. In the past it uses reinforcement learning from human feedback (RLHF) algorithm to optimize the LLM policy to align with these preferences and not to draft too far from the original model. Recently, Direct Preference Optimization (DPO) has been proposed to solve the alignment problem with a simplified RL-free method. Using preference pairs of chosen and reject data, DPO models the relative log probability as implicit reward function and optimize LLM policy using a simple binary cross entropy objective directly. DPO is quite straight forward and easy to be understood. It perform efficiently and well in most cases. In this article, we analyze the working mechanism of $β$ in DPO, disclose its syntax difference between RL algorithm and DPO, and understand the potential shortage brought by the DPO simplification. With these insights, we propose MinorDPO, which is better aligned to the original RL algorithm, and increase the stability of preference optimization process.

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

↑