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

基于不确定性惩罚与多样化奖励 LoRA 集成的人类反馈强化学习

Uncertainty-Penalized Reinforcement Learning from Human Feedback with Diverse Reward LoRA Ensembles

National University of Defense Technology(国防科技大学);State Key Laboratory of Complex & Critical Software Environment(复杂与关键软件环境国家重点实验室);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Peng Cheng Laboratory(鹏城实验室)

Yuanzhao Zhai, Han Zhang, Yu Lei, Yue Yu, Kele Xu, Dawei Feng, Bo Ding, Huaimin Wang

AI总结:

针对RLHF中的过度优化问题,提出UP-RLHF方法,通过最大化核范数构建多样化奖励LoRA集成来量化不确定性,并利用不确定性正则化优化策略模型,有效缓解过度优化并提升整体性能。

摘要:

人类反馈强化学习(RLHF)已成为对齐大型语言模型(LLMs)的一种有前景的范式。然而,RLHF 中的一个显著挑战是过度优化,即超过特定阈值后,追求更高奖励会导致人类偏好下降。本文观察到现有 RLHF 方法中常用于解决过度优化的 KL 正则化的弱点。为缓解这一局限,我们审视了离线数据集中的 RLHF 目标,提出了不确定性惩罚的 RLHF(UP-RLHF),在 RL 微调期间引入不确定性正则化。为增强奖励模型的不确定性量化能力,我们首先提出了一种多样化的低秩适应(LoRA)集成方法,通过最大化 LoRA 矩阵拼接的核范数来实现。随后,我们利用惩罚奖励来优化策略模型,该惩罚奖励由多样化奖励 LoRA 集成提供的奖励和不确定性共同决定。基于两个真实人类偏好数据集的实验结果表明,多样化奖励 LoRA 集成在量化奖励不确定性方面十分有效。此外,UP-RLHF 中的不确定性正则化在缓解过度优化方面被证明是至关重要的,从而提升了整体性能。

英文摘要:

Reinforcement learning from human feedback (RLHF) emerges as a promising paradigm for aligning large language models (LLMs). However, a notable challenge in RLHF is overoptimization, where beyond a certain threshold, the pursuit of higher rewards leads to a decline in human preferences. In this paper, we observe the weakness of KL regularization which is commonly employed in existing RLHF methods to address overoptimization. To mitigate this limitation, we scrutinize the RLHF objective in the offline dataset and propose uncertainty-penalized RLHF (UP-RLHF), which incorporates uncertainty regularization during RL-finetuning. To enhance the uncertainty quantification abilities for reward models, we first propose a diverse low-rank adaptation (LoRA) ensemble by maximizing the nuclear norm of LoRA matrix concatenations. Then we optimize policy models utilizing penalized rewards, determined by both rewards and uncertainties provided by the diverse reward LoRA ensembles. Our experimental results, based on two real human preference datasets, showcase the effectiveness of diverse reward LoRA ensembles in quantifying reward uncertainty. Additionally, uncertainty regularization in UP-RLHF proves to be pivotal in mitigating overoptimization, thereby contributing to the overall performance.

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

↑