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

生成式奖励模型

Generative Reward Models

Stanford University(斯坦福大学);SynthLabs

Dakota Mahan, Duy Van Phung, Rafael Rafailov, Chase Blagden, Nathan Lile, Louis Castricato, Jan-Philipp Fränken, Chelsea Finn, Alon Albalak

AI总结:

本文提出生成式奖励模型 GenRM,通过迭代训练 LLM 在自生成推理轨迹上产生与人类偏好对齐的合成标签,统一 RLHF 与 RLAIF,在分布内外任务上均显著提升偏好判断准确率。

摘要:

基于人类反馈的强化学习(RLHF)极大地提升了现代大语言模型(LLMs)的性能。RLHF 过程资源密集且技术复杂,通常需要大量针对模型生成输出的人类偏好标签。基于 AI 反馈的强化学习(RLAIF)通过利用大语言模型生成的合成偏好来应对这一数据收集挑战。然而,近期研究表明,合成偏好标签可能无法很好地与人类偏好判断对齐。为解决这一问题,我们提出了一种统一 RLHF 与 RLAIF 方法论的混合方法。我们引入 GenRM,这是一种迭代算法,在自生成的推理轨迹上训练大语言模型,从而产生与人类偏好判断相匹配的合成偏好标签。实验上,我们表明,在分布内任务上,基于零样本 LLM 的判断表现不如 Bradley-Terry 奖励模型(差距在 9-36% 之间)。相比之下,GenRM 在分布内任务上取得了与 Bradley-Terry 模型相当的准确率,同时在分布外任务上显著优于它们(差距在 10-45% 之间)。此外,GenRM 在分布内任务(提升 9-31%)和分布外任务(提升 2-6%)上均超越了使用 LLM 作为评判器的表现。我们的结果表明,结合 RLHF 和 RLAIF 的优势为提高合成偏好标签的质量提供了一种有前景的方法。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) has greatly improved the performance of modern Large Language Models (LLMs). The RLHF process is resource-intensive and technically challenging, generally requiring a large collection of human preference labels over model-generated outputs. Reinforcement Learning from AI Feedback (RLAIF) addresses this data collection challenge by leveraging synthetic preferences generated by an LLM. However, recent work has shown that synthetic preferences labels may not align well with human preference judgments. To address this, we propose a hybrid approach that unifies RLHF and RLAIF methodologies. We introduce GenRM, an iterative algorithm that trains an LLM on self-generated reasoning traces, leading to synthetic preference labels matching human preference judgments. Empirically, we show that zero-shot LLM-based judgments under-perform compared to Bradley-Terry reward models on in-distribution tasks (between 9-36%). In contrast, GenRM achieves in-distribution accuracy comparable to Bradley-Terry models, while significantly outperforming them on out-of-distribution tasks (between 10-45%). Moreover, GenRM surpasses the performance of using LLMs as judges on both in-distribution (by 9-31%) and out-of-distribution tasks (by 2- 6%). Our results show that combining the strengths of RLHF and RLAIF offers a promising approach for improving the quality of synthetic preference labels.

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

↑