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

通过扰动控制KL惩罚的直接偏好优化

KL Penalty Control via Perturbation for Direct Preference Optimization

Sangkyu Lee, Janghoon Han, Hosung Song, Stanley Jungkyu Choi, Honglak Lee, Youngjae Yu

AI总结:

本文提出ε-DPO,通过基于logits单调性扰动自适应调整每个偏好对的KL惩罚强度,显著提升DPO在聊天机器人基准上的性能,实现实例级KL控制。

摘要:

直接偏好优化(DPO)展示了仅使用离线数据集将大型语言模型与人类偏好对齐的优势。然而,DPO存在一个局限性:防止模型过度偏离参考模型的KL惩罚在整个训练过程中是静态的。一些方法声称将DPO的静态KL惩罚改为动态的,但没有任何方法能够为每个偏好对自适应地分配不同的KL惩罚。在本文中,我们提出了ε-直接偏好优化(ε-DPO),它允许对每个偏好对的KL惩罚强度β进行自适应控制。具体来说,ε-DPO在训练过程中基于logits作为偏好模型在β扰动下的单调性,为每个偏好对自适应地控制β。这相当于通过简单地重用当前策略和参考策略的logits,检查训练时温度的变化是否能导致更好的偏好置信度,从而调整KL惩罚。实验结果表明,ε-DPO用于KL惩罚放松的简单标准在通用聊天机器人基准上显著优于大多数现有的直接对齐算法,并揭示了这种KL惩罚控制标准能够反映偏好模型的困惑度,并提供高效的KL权衡,突显了DPO中实例级自适应KL惩罚控制的重要性。

英文摘要:

Direct Preference Optimization (DPO) demonstrates the advantage of aligning a large language model with human preference using only an offline dataset. However, DPO has the limitation that the KL penalty, which prevents excessive deviation from the reference model, is static throughout the training process. Several methods claim to change this static KL penalty of DPO into a dynamic one, but no approach can adaptively assign different KL penalties for each preference pair. In this paper, we propose $\varepsilon$-Direct Preference Optimization ($\varepsilon$-DPO), which allows adaptive control of the KL penalty strength $β$ for each preference pair. Specifically, $\varepsilon$-DPO adaptively controls $β$ for each preference pair based on the monotonicity of logits as a preference model under the perturbation of $β$ during training. This is equivalent to adjusting the KL penalty by checking whether the change in training-time temperature can lead to better preference confidence as preference models by simply reusing the logit of the current policy and the reference policy. Experimental results show that the simple criterion of $\varepsilon$-DPO for KL penalty relaxation significantly improves DPO compared to most existing direct alignment algorithms on general chatbot benchmarks and reveal that this KL penalty control criterion can reflect confusion as a preference model and provide an efficient KL trade-off, highlighting the significance of instance-level adaptive KL penalty control in DPO.

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

↑