Reward Collapse in Aligning Large Language Models

Ziang Song, Tianle Cai, Jason D. Lee, Weijie J. Su · DOI

Abstract

Reinforcement Learning from Human Feedback (RLHF) is the standard for aligning Large Language Models (LLMs) with human preferences. Central to this process is the Reward Model (RM), typically trained on pairwise rankings. We identify a critical failure mode termed reward collapse, where the RM eventually assigns a nearly identical distribution of scores to all prompts, regardless of their complexity or factual nature. This paper investigates the mathematical roots of this collapse and proposes prompt-aware optimization—a method using specialized utility functions to maintain reward diversity and improve model calibration.

Introduction

Aligning LLMs like ChatGPT involves training a Reward Model on human-provided rankings (e.g., "Response A is better than Response B"). While effective, these rankings are relative and lack absolute magnitude. Recent observations suggest that as training progresses, these models suffer from "reward collapse," losing the ability to distinguish between different categories of prompts. A factual query, which should have a binary (right/wrong) reward structure, ends up sharing the same reward distribution as an open-ended creative prompt.

The Reward Collapse Phenomenon

Reward collapse is not merely a training artifact but a mathematical consequence of standard ranking-based objectives. In the "interpolating regime"—where the model has sufficient capacity to perfectly fit the training data—the objective function forces rewards toward a single, prompt-independent distribution.

Evolution of reward distributions across training steps, showing the convergence toward a fixed structure.

As shown in Figure 1, the reward distributions for responses evolve significantly over training steps. Without intervention, the model loses the nuance required for diverse tasks, as the standard deviation of rewards across different prompts vanishes. This leads to poor calibration, where the model cannot accurately signal uncertainty or distinguish between "pass/fail" tasks and those "graded on a curve."

Proposed Solution: Prompt-Aware Optimization

To mitigate this, we introduce prompt-aware optimization. Instead of a one-size-fits-all utility function (typically a log-sigmoid), we employ utility functions $U_x$ tailored to the prompt's characteristics:

  • Closed-ended prompts: Utility functions that encourage rewards to cluster at the extremes (0 or 1), mimicking a Bernoulli distribution.
  • Open-ended prompts: Utility functions that promote a wider, more uniform spread of rewards.
Cumulative probability distributions of rewards for various utility functions $U(z)$, demonstrating the ability to "program" the reward shape.

Figure 6 illustrates how different choices of $U(z)$—such as power functions ($z^{0.8}$), logarithmic functions, or modified sigmoids—allow developers to analytically control the resulting reward distribution. By matching the utility function to the prompt type, we can restore the necessary diversity in the reward space.

Experimental Validation

Our findings were validated using the StackExchange Preference Dataset and a curated subset of the LongForm Dataset. Experiments with a GPT-Neo-1.3B model confirmed that:

  1. Standard training inevitably leads to a collapse in reward variance across prompts.
  2. Prompt-aware optimization successfully separates these distributions, allowing factual prompts to maintain a polarized structure while creative prompts retain a continuous spread.
  3. The empirical results closely match the theoretical predictions derived from our asymptotic analysis.

Conclusion and Future Work

Reward collapse is a fundamental challenge in RLHF that stems from the loss of prompt-specific information in pairwise ranking objectives. By adopting prompt-aware utility functions, we can move from a black-box reward training process to one with analytical guarantees and better task-specific calibration. Future work will focus on automating prompt classification (e.g., using "LLM-as-a-judge") and scaling these methods to models with 70B+ parameters to observe downstream impacts on reinforcement learning phases like PPO and DPO.

Summary updated

BibTeX
@inproceedings{song2023reward,
  author = {Ziang Song and Tianle Cai and Jason D. Lee and Weijie J. Su},
  title = {{Reward Collapse in Aligning Large Language Models}},
  booktitle = {MFPL @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=dpWxK6aqIK},
}
Figure