arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.00604cs.CLcs.AIcs.LG
收藏

广泛自对比实现无反馈的语言模型对齐

Extensive Self-Contrast Enables Feedback-Free Language Model Alignment

Tsinghua University(清华大学);Zhipu AI(智谱AI)

Xiao Liu, Xixuan Song, Yuxiao Dong, Jie Tang

AI总结:

本文提出Self-Contrast方法,仅利用监督微调目标和LLM自生成的大量负样本,结合预训练嵌入模型筛选,在无需反馈的条件下实现优于SFT和标准DPO的大语言模型对齐。

摘要:

基于人类反馈的强化学习(RLHF)已成为近期大语言模型(LLM)对齐的核心技术。然而,其对昂贵的人类或LLM-as-Judge偏好反馈的严重依赖可能阻碍其更广泛的应用。本文提出Self-Contrast,一种通过利用大量自生成负样本实现的无反馈大语言模型对齐方法。仅使用监督微调(SFT)目标,Self-Contrast利用LLM自身生成海量多样化候选,并借助预训练嵌入模型根据文本相似度筛选多个负样本。理论上,我们说明在该设置下,仅扩展负响应仍能有效逼近正负偏好标注更均衡的情形。我们在三个数据集上使用直接偏好优化(DPO)的实验表明,Self-Contrast能够以较大幅度持续优于SFT和标准DPO训练。并且随着自生成负样本数量的增加,Self-Contrast的性能持续提升。代码和数据可在 https://github.com/THUDM/Self-Contrast 获取。

英文摘要:

Reinforcement learning from human feedback (RLHF) has been a central technique for recent large language model (LLM) alignment. However, its heavy dependence on costly human or LLM-as-Judge preference feedback could stymie its wider applications. In this work, we introduce Self-Contrast, a feedback-free large language model alignment method via exploiting extensive self-generated negatives. With only supervised fine-tuning (SFT) targets, Self-Contrast leverages the LLM itself to generate massive diverse candidates, and harnesses a pre-trained embedding model to filter multiple negatives according to text similarity. Theoretically, we illustrate that in this setting, merely scaling negative responses can still effectively approximate situations with more balanced positive and negative preference annotations. Our experiments with direct preference optimization (DPO) on three datasets show that, Self-Contrast could consistently outperform SFT and standard DPO training by large margins. And as the number of self-generated negatives increases, the performance of Self-Contrast continues to grow. Code and data are available at https://github.com/THUDM/Self-Contrast.

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

↑