arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.10704cs.LGcs.AIcs.CL
收藏

参数高效的基于人类反馈的强化学习

Parameter Efficient Reinforcement Learning from Human Feedback

Google DeepMind(谷歌DeepMind);Google(谷歌)
Hakim Sidahmed, Samrat Phatale, Alex Hutcheson, Zhuonan Lin, Zhang Chen, Zac Yu, Jarvis Jin, Simral Chaudhary, Roman Komarytsia, Christiane Ahlheim, Yonghao Zhu… 展开作者

Hakim Sidahmed, Samrat Phatale, Alex Hutcheson, Zhuonan Lin, Zhang Chen, Zac Yu, Jarvis Jin, Simral Chaudhary, Roman Komarytsia, Christiane Ahlheim, Yonghao Zhu, Bowen Li, Saravanan Ganesh, Bill Byrne, Jessica Hoffmann, Hassan Mansoor, Wei Li, Abhinav Rastogi, Lucas Dixon

AI总结:

本研究提出将LoRA微调应用于奖励建模与强化学习的PE-RLHF方案,经多数据集基准测试,其性能与传统RLHF相当,却能显著降低训练时间与内存占用,推动大模型对齐技术的普及。

摘要:

尽管基于人类反馈的强化学习(Reinforcement Learning from Human Feedback, RLHF)能有效使预训练大语言模型和视觉-语言模型(LLMs、VLMs)对齐人类偏好,但其计算成本和复杂度阻碍了更广泛的应用。为减轻微调的部分计算负担,学界提出了LoRA等参数高效方法。本研究通过实验评估了参数高效的基于人类反馈的强化学习(Parameter Efficient Reinforcement Learning from Human Feedback, PE-RLHF)方案,该方案将LoRA微调应用于奖励建模和强化学习阶段。我们在六个涵盖摘要生成、无害/有益回复生成、UI自动化、视觉问答的多样化数据集上,从训练模型的有效性和所需训练资源两方面对PE-RLHF方案进行基准测试。研究结果首次表明,PE-RLHF能达到与RLHF相当的性能,同时大幅缩短训练时间(奖励模型训练速度最高提升90%,强化学习训练速度最高提升30%)、降低内存占用(奖励模型内存占用最高减少50%,强化学习内存占用最高减少27%)。我们针对奖励建模和强化学习阶段,在不同LoRA秩和模型规模下开展了全面的消融实验。通过缓解RLHF相关的计算负担,我们推动PE-RLHF作为LLMs和VLMs对齐技术得到更广泛的应用。

英文摘要:

While Reinforcement Learning from Human Feedback (RLHF) effectively aligns pretrained Large Language and Vision-Language Models (LLMs, and VLMs) with human preferences, its computational cost and complexity hamper its wider adoption. To alleviate some of the computational burden of fine-tuning, parameter efficient methods, like LoRA were introduced. In this work, we empirically evaluate the setup of Parameter Efficient Reinforcement Learning from Human Feedback (PE-RLHF) that leverages LoRA fine-tuning for Reward Modeling, and Reinforcement Learning. We benchmark the PE-RLHF setup on six diverse datasets spanning summarization, harmless/helpful response generation, UI automation, and visual question answering in terms of effectiveness of the trained models, and the training resources required. Our findings show, for the first time, that PE-RLHF achieves comparable performance to RLHF, while significantly reducing training time (up to 90% faster for reward models, and 30% faster for RL), and memory footprint (up to 50% reduction for reward models, and 27% for RL). We provide comprehensive ablations across LoRA ranks, and model sizes for both reward modeling and reinforcement learning. By mitigating the computational burden associated with RLHF, we push for a broader adoption of PE-RLHF as an alignment technique for LLMs and VLMs.

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

↑