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

熵可控的直接偏好优化

Entropy Controllable Direct Preference Optimization

The University of Tokyo(东京大学)

Motoki Omura, Yasuhiro Fujita, Toshiki Kataoka

AI总结:

针对直接偏好优化(DPO)中反向KL散度可能漏捕获参考分布模态、损害策略性能的问题,提出可控制策略熵的H-DPO方法,增强分布锐度以更有效实现模态寻优拟合,在多任务尤其是数学任务pass@k评估中优于DPO且实现简便。

摘要:

在大语言模型(LLM)的后训练阶段,基于人类反馈的强化学习(RLHF)是实现生成内容与人类偏好对齐的有效方法。直接偏好优化(DPO)无需奖励模型,仅通过简单的二元交叉熵损失即可进行策略训练。DPO的目标由反向KL散度正则化,该散度鼓励对参考策略进行模态寻优拟合。然而,我们指出最小化反向KL散度可能无法捕获参考分布的一个模态,这会损害策略的性能。基于这一观察,我们对DPO提出了一种简单改进方案H-DPO,该方法能够控制所得策略的熵,增强分布的锐度,从而更有效地实现模态寻优拟合。实验表明,H-DPO在各类任务上的表现均优于DPO,在数学任务的pass@k评估中展现出更优异的结果。此外,H-DPO实现简单,仅需对DPO的损失计算做少量修改,极具实用性,有望在LLM训练中得到广泛应用。

英文摘要:

In the post-training of large language models (LLMs), Reinforcement Learning from Human Feedback (RLHF) is an effective approach to achieve generation aligned with human preferences. Direct Preference Optimization (DPO) allows for policy training with a simple binary cross-entropy loss without a reward model. The objective of DPO is regularized by reverse KL divergence that encourages mode-seeking fitting to the reference policy. Nonetheless, we indicate that minimizing reverse KL divergence could fail to capture a mode of the reference distribution, which may hurt the policy's performance. Based on this observation, we propose a simple modification to DPO, H-DPO, which allows for control over the entropy of the resulting policy, enhancing the distribution's sharpness and thereby enabling mode-seeking fitting more effectively. In our experiments, we show that H-DPO outperformed DPO across various tasks, demonstrating superior results in pass@$k$ evaluations for mathematical tasks. Moreover, H-DPO is simple to implement, requiring only minor modifications to the loss calculation of DPO, which makes it highly practical and promising for wide-ranging applications in the training of LLMs.

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

↑