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

Zhenyu Hou, Pengfan Du, Yilin Niu, Zhengxiao Du, Aohan Zeng +5 more
12/8/2024
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hou2024does,
  title  = {Does RLHF Scale? Exploring the Impacts From Data, Model, and Method},
  author = {Zhenyu Hou and Pengfan Du and Yilin Niu and Zhengxiao Du and Aohan Zeng and Xiao Liu and Minlie Huang and Hongning Wang and Jie Tang and Yuxiao Dong},
  year   = {2024},
  eprint = {2412.06000},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.06000v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.06000.svg)](https://codeofpaper.com/paper/2412.06000)

Discussion