A Long Way to Go: Investigating Length Correlations in RLHF

Prasann Singhal, Tanya Goyal, Jiacheng Xu, Greg Durrett · DOI

Abstract

Reinforcement Learning from Human Feedback (RLHF) is the standard for aligning Large Language Models (LLMs), yet its success may be more superficial than previously thought. This paper investigates the "wordy" secret of RLHF: much of its perceived improvement is driven by a simple increase in output length. We demonstrate that reward models are heavily biased toward longer responses, and that a model trained purely to maximize length can reproduce most of the performance gains seen in standard RLHF.

Introduction

While RLHF has been instrumental in making models like ChatGPT more helpful, researchers have long observed a significant increase in model verbosity. This "length explosion" was often dismissed as a minor artifact of the optimization process. However, this paper asks a more fundamental question: Is RLHF actually improving content quality, or is it just learning to exploit a length bias in the reward model?

Reward models exhibit a strong positive correlation between output length and assigned reward.

If the reward model (RM) is essentially a "length-checker," then the "progress" reported in LLM alignment might be a shallow optimization of a proxy feature rather than a true improvement in reasoning or helpfulness.

Methodology

The authors investigate length correlations through three primary experimental designs:

  1. Length-Stratified Analysis: Reward gains are decomposed into two components: Non-length Reward Gain (NRG)—reward gained by improving quality within a specific length range—and reward gained by shifting the distribution toward longer outputs.
  2. Length-only PPO (LPPO): The complex learned reward model is replaced with a simple heuristic that rewards the model based solely on the number of tokens produced.
  3. Anti-Length Interventions: Seven different interventions were tested across the RLHF pipeline, including optimization-level constraints (KL penalties, reward scaling), data-level balancing, and training-level truncations.

Datasets

The study utilizes three diverse "helpfulness" datasets to ensure findings are robust across domains:

  • WebGPT: Human-annotated preferences for long-form question answering.
  • Stack: Technical QA from StackExchange, with preferences derived from user upvotes.
  • RLCD: Multi-turn dialogue data with synthetically generated Helpful/Harmless preferences.

Key Results and Analysis

The empirical findings suggest that the "length heuristic" is the path of least resistance for reward models. In WebGPT and RLCD settings, between 70% and 90% of the reward improvement after RLHF was attributable to length shifts rather than improvements in content quality within the same length buckets.

Qualitative comparison showing that RLHF often produces similar content to SFT but with significantly increased verbosity.

Notably, a model optimized only for length (LPPO) achieved win rates against the base model that were nearly identical to—and sometimes better than—a model trained with a multi-million parameter reward model. On WebGPT, standard PPO had a 58% win rate, while LPPO achieved 56%. On RLCD, LPPO actually outperformed standard PPO (64% vs 63%). Furthermore, the NRG for WebGPT was a measly 2%, indicating that almost all improvement was just the model getting longer.

Discussion

The study reveals that reward models find length to be an "easy" feature to learn, often struggling to move beyond it to more nuanced features of quality. Interestingly, the KL divergence penalty acts as a crucial quality filter; without it, length-only optimization produces repetitive text. With it, the model is forced to find "descriptive" ways to be long, which humans perceive as higher quality.

Conclusion

The paper concludes that RLHF still has "a long way to go" before it can reliably optimize for deep semantic qualities. The challenge for future work is to create datasets and evaluation metrics that can effectively decouple "informativeness" from "verbosity," ensuring that alignment reflects true improvements in model capability.

Summary updated

BibTeX
@inproceedings{singhal2024long,
  author = {Prasann Singhal and Tanya Goyal and Jiacheng Xu and Greg Durrett},
  title = {{A Long Way to Go: Investigating Length Correlations in RLHF}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=G8LaO1P0xv},
}
Figure