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

RLHF 可扩展吗?探究来自数据、模型与方法的影响

Does RLHF Scale? Exploring the Impacts From Data, Model, and Method

Tsinghua University(清华大学);Zhipu AI(智谱AI)

Zhenyu Hou, Pengfan Du, Yilin Niu, Zhengxiao Du, Aohan Zeng, Xiao Liu, Minlie Huang, Hongning Wang, Jie Tang, Yuxiao Dong

AI总结:

本研究探究大语言模型中RLHF的扩展特性,系统分析模型规模、数据构成、推理预算的影响,发现其扩展效率低于预训练且收益递减,并提出计算限制下的性能优化策略。

摘要:

本研究探究了大语言模型(LLM)中基于人类反馈的强化学习(Reinforcement Learning from Human Feedback, RLHF)的扩展特性。尽管RLHF被视为LLM后训练中的重要环节,但其扩展潜力在很大程度上仍未明确。我们系统分析了RLHF框架中的关键组成部分——模型规模、数据构成以及推理预算——及其对性能的影响。研究结果表明,提升数据多样性与数据量可改善奖励模型的性能,助力过程监督模型实现更好的扩展。在策略训练方面,每个提示对应更多响应样本起初会提升性能,但很快会进入平台期;而更大的奖励模型在策略训练中仅能带来小幅增益。此外,在奖励模型固定的情况下,更大的策略模型从RLHF中获益更少。总体而言,RLHF的扩展效率低于预训练,额外计算资源带来的收益呈递减趋势。基于这些观察,我们提出了在计算限制下优化RLHF性能的策略。

英文摘要:

This study explores the scaling properties of Reinforcement Learning from Human Feedback (RLHF) in Large Language Models (LLMs). Although RLHF is considered an important step in post-training of LLMs, its scaling potential is still largely unknown. We systematically analyze key components in the RLHF framework--model size, data composition, and inference budget--and their impacts on performance. Our findings show that increasing data diversity and volume improves reward model performance, helping process-supervision models scale better. For policy training, more response samples per prompt boost performance initially but quickly plateau. And larger reward models offer modest gains in policy training. In addition, larger policy models benefit less from RLHF with a fixed reward model. Overall, RLHF scales less efficiently than pretraining, with diminishing returns from additional computational resources. Based on these observations, we propose strategies to optimize RLHF performance within computational limits.

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

↑