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

CLHA:一种简单而有效的人类对齐对比学习框架

CLHA: A Simple yet Effective Contrastive Learning Framework for Human Alignment

University of Science and Technology of China(中国科学技术大学);Southern University of Science and Technology(南方科技大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Shenzhen MSU-BIT University(深圳北理莫斯科大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))

Feiteng Fang, Liang Zhu, Min Yang, Xi Feng, Jinchang Hou, Qixuan Zhao, Chengming Li, Xiping Hu, Ruifeng Xu

AI总结:

为解决RLHF训练复杂困难的问题,提出CLHA框架,通过重新评分策略动态调整训练过程,并结合成对对比损失与自适应监督微调损失直接对齐LLMs与人类偏好,在“Helpful and Harmless”数据集上表现卓越。

摘要:

基于人类反馈的强化学习(RLHF)是将大型语言模型(LLMs)与人类偏好对齐的关键技术,可确保这些LLMs以有益且易于理解的方式运行。然而,基于强化学习的人类对齐技术长期面临内在复杂性和训练困难的挑战。为解决此问题,我们提出了一种简单而有效的人类对齐对比学习框架(CLHA),以直接将LLMs与人类偏好对齐。CLHA采用一种新颖的重新评分策略,通过考虑数据的内在质量来评估数据中的噪声,并动态调整训练过程。同时,CLHA利用成对对比损失和自适应监督微调损失,自适应地修改生成响应的似然性,确保与人类偏好更好地对齐。使用先进方法,CLHA超越了其他算法,在广泛使用的“Helpful and Harmless”数据集上的奖励模型得分、自动评估和人工评估方面展现出卓越性能。

英文摘要:

Reinforcement learning from human feedback (RLHF) is a crucial technique in aligning large language models (LLMs) with human preferences, ensuring these LLMs behave in beneficial and comprehensible ways to users. However, a longstanding challenge in human alignment techniques based on reinforcement learning lies in their inherent complexity and difficulty in training. To address this challenge, we present a simple yet effective Contrastive Learning Framework for Human Alignment (CLHA) to align LLMs with human preferences directly. CLHA employs a novel rescoring strategy to evaluate the noise within the data by considering its inherent quality and dynamically adjusting the training process. Simultaneously, CLHA utilizes pairwise contrastive loss and adaptive supervised fine-tuning loss to adaptively modify the likelihood of generating responses, ensuring enhanced alignment with human preferences. Using advanced methods, CLHA surpasses other algorithms, showcasing superior performance in terms of reward model scores, automatic evaluations, and human assessments on the widely used ``Helpful and Harmless'' dataset.

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

↑