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

奖励增强数据提升大语言模型的直接偏好对齐

Reward-Augmented Data Enhances Direct Preference Alignment of LLMs

Northwestern University(西北大学);ByteDance(字节跳动)

Shenao Zhang, Zhihan Liu, Boyi Liu, Yufeng Zhang, Yingxiang Yang, Yongfei Liu, Liyu Chen, Tao Sun, Zhaoran Wang

AI总结:

针对直接偏好对齐忽视奖励分数、易过拟合和遗忘优质被拒回复的问题,本文提出基于质量分数重标注偏好对的奖励增强数据方法,持续显著提升 DPO。

摘要:

大语言模型(LLM)中的偏好对齐显著提升了其遵循人类指令与意图的能力。然而,现有的直接对齐算法主要关注相对偏好,并且往往忽视回复的质量层面,尽管在 AI 反馈过程中可以获得包含评判模型所给奖励分数的偏好数据。力求最大化所选回复与略逊一筹的被拒回复之间的隐式奖励差距,可能导致过拟合,以及对高质量被拒回复产生不必要的遗忘。对奖励分数的无意识还会驱使 LLM 不加区分地偏好低质量的所选回复,并且无法泛化到数据中稀疏存在的最优回复。为克服这些不足,本研究引入了奖励条件化的 LLM 策略,用以识别并学习数据集中完整的回复质量谱系,从而帮助外推到更优的区域。我们提出了一种有效而简单的数据重标注方法,该方法依据质量分数对偏好对进行条件化,以构建奖励增强数据集。跨多个基准和不同模型的实验表明,我们的方法持续且以相当大的幅度提升 DPO。通过全面的消融研究,我们证明该方法不仅最大化了偏好数据的效用,还缓解了遗忘问题,显示出其超越单纯数据扩展的广泛有效性。我们的代码可在 https://github.com/shenao-zhang/reward-augmented-preference 获取。

英文摘要:

Preference alignment in Large Language Models (LLMs) has significantly improved their ability to adhere to human instructions and intentions. However, existing direct alignment algorithms primarily focus on relative preferences and often overlook the qualitative aspects of responses, despite having access to preference data that includes reward scores from judge models during AI feedback. Striving to maximize the implicit reward gap between the chosen and the slightly inferior rejected responses can cause overfitting and unnecessary unlearning of the high-quality rejected responses. The unawareness of the reward scores also drives the LLM to indiscriminately favor the low-quality chosen responses and fail to generalize to optimal responses that are sparse in data. To overcome these shortcomings, our study introduces reward-conditioned LLM policies that discern and learn from the entire spectrum of response quality within the dataset, helping extrapolate to more optimal regions. We propose an effective yet simple data relabeling method that conditions the preference pairs on quality scores to construct a reward-augmented dataset. The experiments across various benchmarks and diverse models demonstrate that our approach consistently boosts DPO by a considerable margin. Through comprehensive ablation studies, we demonstrate that our method not only maximizes the utility of preference data but also mitigates the issue of unlearning, demonstrating its broad effectiveness beyond mere data expansion. Our code is available at https://github.com/shenao-zhang/reward-augmented-preference.

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

↑