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.
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.
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:
- Standard training inevitably leads to a collapse in reward variance across prompts.
- Prompt-aware optimization successfully separates these distributions, allowing factual prompts to maintain a polarized structure while creative prompts retain a continuous spread.
- 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