arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.00267cs.CLcs.AIcs.LG
收藏

RLAIF 与 RLHF:利用 AI 反馈扩展基于人类反馈的强化学习

RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback

Google DeepMind(谷歌DeepMind);Google(谷歌)

Harrison Lee, Samrat Phatale, Hassan Mansoor, Thomas Mesnard, Johan Ferret, Kellie Lu, Colton Bishop, Ethan Hall, Victor Carbune, Abhinav Rastogi, Sushant Prakash

AI总结:

本文系统对比了 RLAIF 与 RLHF,证明用现成 LLM 生成偏好训练奖励模型可达到与人类反馈相当的性能,并提出绕过奖励模型训练的直接 RLAIF(d-RLAIF)技术,为 RLHF 的可扩展性问题提供解决方案。

摘要:

基于人类反馈的强化学习(RLHF)已被证明能有效使大语言模型(LLM)与人类偏好对齐,但收集高质量偏好标签成本高昂。Bai 等人提出的基于 AI 反馈的强化学习(RLAIF)提供了一种有前景的替代方案,该方法利用现成的 LLM 生成的偏好来训练奖励模型(RM)。在摘要生成、有帮助的对话生成和无害对话生成等任务中,我们表明 RLAIF 取得了与 RLHF 相当的性能。此外,我们向“自我改进”迈出了一步,证明即使 AI 标注器与策略模型规模相同,甚至与初始策略是完全相同的检查点,RLAIF 也能超越监督微调基线。最后,我们提出了直接 RLAIF(d-RLAIF)——一种在强化学习过程中直接从现成 LLM 获取奖励从而绕过 RM 训练的技术,其性能优于标准 RLAIF。我们的结果表明,RLAIF 能够达到与使用人类反馈相当的性能,为 RLHF 的可扩展性限制提供了一种潜在解决方案。

英文摘要:

Reinforcement learning from human feedback (RLHF) has proven effective in aligning large language models (LLMs) with human preferences, but gathering high-quality preference labels is expensive. RL from AI Feedback (RLAIF), introduced in Bai et al., offers a promising alternative that trains the reward model (RM) on preferences generated by an off-the-shelf LLM. Across the tasks of summarization, helpful dialogue generation, and harmless dialogue generation, we show that RLAIF achieves comparable performance to RLHF. Furthermore, we take a step towards "self-improvement" by demonstrating that RLAIF can outperform a supervised fine-tuned baseline even when the AI labeler is the same size as the policy, or even the exact same checkpoint as the initial policy. Finally, we introduce direct-RLAIF (d-RLAIF) - a technique that circumvents RM training by obtaining rewards directly from an off-the-shelf LLM during RL, which achieves superior performance to canonical RLAIF. Our results suggest that RLAIF can achieve performance on-par with using human feedback, offering a potential solution to the scalability limitations of RLHF.

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

↑