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

奖励模型集成有助于缓解过度优化

Reward Model Ensembles Help Mitigate Overoptimization

University of Cambridge(剑桥大学);University College London(伦敦大学学院)

Thomas Coste, Usman Anwar, Robert Kirk, David Krueger

AI总结:

针对RLHF中奖励模型易出现的过度优化问题,本研究验证了基于集成的WCO、UWO保守优化目标结合BoN、PPO方法的缓解效果,证实其可有效抑制过度优化并提升性能。

摘要:

基于人类反馈的强化学习(RLHF)是微调大语言模型使其遵循指令的标准方法。在该流程中,训练得到的奖励模型被用于近似模拟人类偏好。然而,作为对“真实”奖励的不完美表征,这些习得的奖励模型容易出现过度优化问题。Gao等人(2023)在合成人类反馈设置中研究了这一现象,该设置使用规模显著更大的“金标”奖励模型充当真实奖励(而非人类),并表明无论代理奖励模型的规模和所用训练数据量如何,过度优化都是一个持续存在的问题。\n我们采用类似设置开展系统性研究,评估基于集成的保守优化目标——具体为最坏情况优化(WCO)和不确定性加权优化(UWO)——在使用两种优化方法时缓解奖励模型过度优化的效果:(a) n次采样选优(BoN)(b) 近端策略优化(PPO)。我们还对Gao等人(2023)的设置进行了扩展,加入25%的标签噪声以更好地反映真实场景条件。\n无论是否存在标签噪声,我们都发现保守优化几乎消除了过度优化,并且使BoN采样的性能提升最高达70%。对于PPO,基于集成的保守优化始终能减少过度优化,且效果优于单一奖励模型优化。此外,将其与较小的KL散度惩罚相结合,能够在不损失性能的前提下成功防止过度优化。总体而言,我们的结果表明,基于集成的保守优化可有效应对过度优化问题。

英文摘要:

Reinforcement learning from human feedback (RLHF) is a standard approach for fine-tuning large language models to follow instructions. As part of this process, learned reward models are used to approximately model human preferences. However, as imperfect representations of the "true" reward, these learned reward models are susceptible to overoptimization. Gao et al. (2023) studied this phenomenon in a synthetic human feedback setup with a significantly larger "gold" reward model acting as the true reward (instead of humans) and showed that overoptimization remains a persistent problem regardless of the size of the proxy reward model and training data used. Using a similar setup, we conduct a systematic study to evaluate the efficacy of using ensemble-based conservative optimization objectives, specifically worst-case optimization (WCO) and uncertainty-weighted optimization (UWO), for mitigating reward model overoptimization when using two optimization methods: (a) best-of-n sampling (BoN) (b) proximal policy optimization (PPO). We additionally extend the setup of Gao et al. (2023) to include 25% label noise to better mirror real-world conditions. Both with and without label noise, we find that conservative optimization practically eliminates overoptimization and improves performance by up to 70% for BoN sampling. For PPO, ensemble-based conservative optimization always reduces overoptimization and outperforms single reward model optimization. Moreover, combining it with a small KL penalty successfully prevents overoptimization at no performance cost. Overall, our results demonstrate that ensemble-based conservative optimization can effectively counter overoptimization.

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

↑