arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01013cs.LGcs.CL
收藏

用于缓解奖励过度优化的可扩展集成方法

Scalable Ensembling For Mitigating Reward Overoptimisation

Stanford University(斯坦福大学)

Ahmed M. Ahmed, Rafael Rafailov, Stepan Sharkov, Xuechen Li, Sanmi Koyejo

AI总结:

针对RLHF中语言模型易出现奖励过度优化的问题,提出共享编码器加独立线性头的可扩展集成方案,在保持性能的同时显著降低大模型训练的内存与时间成本。

摘要:

基于人类反馈的强化学习(Reinforcement Learning from Human Feedback, RLHF)已推动语言建模领域取得重大进展,催生了性能强大的指令遵循模型。然而,这类模型的对齐仍是一项紧迫挑战:策略往往会过度拟合学习得到的“代理”奖励模型,越过由性能更优的“黄金”奖励模型衡量的效用拐点,这一现象被称为过度优化。此前的研究通过对奖励模型集成计算悲观统计量来缓解该问题,这种方法在离线强化学习中很常见,但对于内存需求极高的语言模型来说成本极大,导致此类方法无法应用于规模足够大的模型。为此,我们提出使用共享编码器搭配独立线性头的架构。我们发现,该方法能取得与完整集成相近的性能,同时对于同等规模的模型,可大幅节省训练所需的内存与时间。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) has enabled significant advancements within language modeling for powerful, instruction-following models. However, the alignment of these models remains a pressing challenge as the policy tends to overfit the learned ``proxy" reward model past an inflection point of utility as measured by a ``gold" reward model that is more performant -- a phenomenon known as overoptimisation. Prior work has mitigated this issue by computing a pessimistic statistic over an ensemble of reward models, which is common in Offline Reinforcement Learning but incredibly costly for language models with high memory requirements, making such approaches infeasible for sufficiently large models. To this end, we propose using a shared encoder but separate linear heads. We find this leads to similar performance as the full ensemble while allowing tremendous savings in memory and time required for training for models of similar size.

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

↑