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

用于大语言模型对齐的贝叶斯奖励模型

Bayesian Reward Models for LLM Alignment

University of Bristol(布里斯托大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University College London(伦敦大学学院)

Adam X. Yang, Maxime Robeyns, Thomas Coste, Zhengyan Shi, Jun Wang, Haitham Bou-Ammar, Laurence Aitchison

AI总结:

本文提出用基于 LoRA 权重的 Laplace 近似训练贝叶斯奖励模型,通过不确定性估计缓解大语言模型对齐中 BoN 采样和 RLHF 的奖励过度优化问题。

摘要:

为确保大语言模型(LLM)的响应有用且无毒,通常使用在人类偏好数据上训练的奖励模型。随后通过 best-of-n(BoN)采样选择高奖励的 LLM 响应,或通过基于人类反馈的强化学习(RLHF)进一步优化 LLM 以产生高奖励响应。然而,这些过程容易受到奖励过度优化或“奖励黑客”的影响,即响应因奖励模型的不完善而非真实偏好而获得高奖励,尤其是当提示或响应偏离训练数据时。为应对这些挑战,我们提出训练贝叶斯奖励模型,该模型在远离训练数据分布时给出更高的不确定性信号。我们使用 LoRA 权重上的 Laplace 近似训练贝叶斯奖励模型,发现所得不确定性估计能够有效缓解 BoN 采样中的奖励过度优化。

英文摘要:

To ensure that large language model (LLM) responses are helpful and non-toxic, a reward model trained on human preference data is usually used. LLM responses with high rewards are then selected through best-of-$n$ (BoN) sampling or the LLM is further optimized to produce responses with high rewards through reinforcement learning from human feedback (RLHF). However, these processes are susceptible to reward overoptimization or `hacking', where responses receive high rewards due to imperfections in the reward model rather than true preference, particularly as prompts or responses deviate from the training data. To address these challenges, we propose to train a Bayesian reward model, which signals higher uncertainty further from the training data distribution. We trained Bayesian reward models using Laplace approximation on LoRA weights, and found that the resulting uncertainty estimates can effectively mitigate reward overoptimization in BoN sampling.

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

↑