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

自监督偏好优化:通过偏好程度感知增强你的语言模型

Self-supervised Preference Optimization: Enhance Your Language Model with Preference Degree Awareness

AI Technology Center of OVB, Tencent(腾讯OVB人工智能技术中心);Platform and Content Group, Tencent(腾讯平台与内容事业群);College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);School of Artificial Intelligence, Jilin University(吉林大学人工智能学院)

Jian Li, Haojing Huang, Yujia Zhang, Pengfei Xu, Xi Chen, Rui Song, Lida Shi, Jingwen Wang, Hao Xu

AI总结:

提出自监督偏好优化(SPO)框架,通过构建自监督偏好程度损失并结合对齐损失,弥补现有偏好优化方法忽略偏好程度的问题,显著提升LLMs理解人类偏好的能力并实现SOTA性能。

摘要:

近期,人们对于在大型语言模型(LLMs)的人类反馈强化学习(RLHF)方法中替换奖励模型产生了浓厚兴趣,例如直接偏好优化(DPO)及其变体。这些方法通常在成对样本上使用二元交叉熵机制,即分别基于偏好和非偏好响应来最小化和最大化损失。然而,尽管这种训练策略省去了奖励模型,但它也忽略了不同响应之间不同的偏好程度。我们假设这是阻碍LLMs充分理解人类偏好的关键因素。为了解决这个问题,我们提出了一种新颖的自监督偏好优化(SPO)框架,该框架构建了一个结合对齐损失的自监督偏好程度损失,从而帮助LLMs提高其理解偏好程度的能力。在两个广泛使用的不同任务数据集上进行了大量实验。结果表明,SPO可以与现有的偏好优化方法无缝集成,并显著提升其性能以实现最先进的性能。我们还进行了详细的分析,以提供对SPO的全面见解,从而验证了其有效性。代码可在https://github.com/lijian16/SPO获取。

英文摘要:

Recently, there has been significant interest in replacing the reward model in Reinforcement Learning with Human Feedback (RLHF) methods for Large Language Models (LLMs), such as Direct Preference Optimization (DPO) and its variants. These approaches commonly use a binary cross-entropy mechanism on pairwise samples, i.e., minimizing and maximizing the loss based on preferred or dis-preferred responses, respectively. However, while this training strategy omits the reward model, it also overlooks the varying preference degrees within different responses. We hypothesize that this is a key factor hindering LLMs from sufficiently understanding human preferences. To address this problem, we propose a novel Self-supervised Preference Optimization (SPO) framework, which constructs a self-supervised preference degree loss combined with the alignment loss, thereby helping LLMs improve their ability to understand the degree of preference. Extensive experiments are conducted on two widely used datasets of different tasks. The results demonstrate that SPO can be seamlessly integrated with existing preference optimization methods and significantly boost their performance to achieve state-of-the-art performance. We also conduct detailed analyses to offer comprehensive insights into SPO, which verifies its effectiveness. The code is available at https://github.com/lijian16/SPO.

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

↑