TL;DR
This paper identifies that the "reward hacking" and over-optimization common in Reinforcement Learning from Human Feedback (RLHF) are primarily caused by the excessive growth and dispersion of hidden state norms in Reward Models (RMs). To fix this, the authors introduce Batch-wise Sum-to-zero Regularization (BSR), a simple yet effective loss term that stabilizes rewards and significantly improves model robustness, leading to a 7% win-rate increase on AlpacaEval 2.0 while slashing response verbosity by 40%.
What Problem Does This Paper Address?
In the standard RLHF pipeline, we train a Reward Model (RM) to act as a proxy for human preference. Most RMs use the Bradley-Terry (BT) framework, which treats preference modeling as a binary classification task between "chosen" and "rejected" responses.
However, these models are notorious for over-optimization: they eventually overfit the training data and lose their ability to generalize to new prompts or different response styles. During the subsequent RL phase, the policy model learns to exploit these RM weaknesses—a phenomenon known as "reward hacking." This often results in models that produce long, rambling, but high-scoring answers that don't actually satisfy users. The authors set out to find the mathematical root of this instability and provide a scalable solution.
Methods
The authors' investigation reveals a specific culprit: hidden state norm dispersion. They show that as an RM is trained with standard BT loss, the magnitudes (norms) of the hidden states in the model's backbone grow uncontrollably. This makes the RM "over-confident," assigning extreme scores to certain patterns.
To counter this, they propose Batch-wise Sum-to-zero Regularization (BSR).
- The Concept: BSR adds a penalty term to the training objective that forces the average reward across a training batch to be zero.
- The Math: $L_{BSR} = \left( \frac{1}{2|B|} \sum_{i=1}^{|B|} \sum_{j \in \{w,l\}} r(x_i, y_{i,j}) \right)^2$.
- The Benefit: By penalizing rewards that stray too far from the mean, BSR constrains the growth of hidden state norms. Unlike "hard" constraints like hinge loss or logit normalization, BSR acts as a "soft" regularizer that preserves the model's ability to distinguish subtle preference differences while preventing numerical explosions.
Datasets
The study utilizes several key datasets for training and rigorous evaluation:
- UltraFeedback (UF): The primary source for training the RMs, containing 17 different model families.
- Skywork-Reward-Preference-80K (SKP): A high-quality synthetic preference dataset used to test the scalability of BSR at the 8B parameter scale.
- RM-Bench: A benchmark used to evaluate how well RMs predict preferences across various categories (Chat, Math, Code, etc.).
- AlpacaEval 2.0: Used to evaluate the final "aligned" LLM's performance in real-world-style interactions.
- Custom Generalization Splits: The authors created four specific validation scenarios (In-domain, Prompt-disjoint, Response-disjoint, and Mutual-disjoint) to test how RMs handle unseen prompts and unseen model outputs.
Key Insights and Ideas
- The "Aha" Moment on Norms: The authors proved that while the weights of the final reward projection head stay stable, the backbone's hidden states are what actually "explode." This dispersion is the fundamental driver of RM over-optimization.
- Verbosity is a Robustness Failure: One of the most important takeaways is that verbosity bias (the tendency of models to prefer longer answers) is a symptom of poor RM robustness. When the RM is regularized with BSR, the resulting policy model becomes significantly more concise without losing quality.
- Effective Rank (erank): The paper uses "effective rank" to show that standard RMs "collapse" the information space of their training data. BSR maintains a higher effective rank on unseen data, meaning it retains more useful features for evaluation.
- Better Alignment, Not Just Higher Scores: The authors show that BSR-trained RMs stay better aligned with a "gold" preference model throughout the entire RL process, whereas standard RMs eventually diverge.
Key Results
- Superior Robustness: BSR-trained models consistently outperformed standard BT models and other baselines (like Hinge loss) across all four generalization scenarios, particularly when facing unseen response styles.
- AlpacaEval 2.0 Gains: Applying BSR to a Llama-3.1-8B model led to a 7% increase in win rate over the standard BT baseline.
- Curing Prolixity: The BSR-aligned model reduced generation length by 40% compared to the Supervised Fine-Tuning (SFT) baseline. This suggests that BSR effectively prevents the model from "gaming" the reward by simply writing more.
- Hard Task Accuracy: On the "Hard Acc" portion of RM-Bench, BSR improved accuracy by nearly 8% over the standard model, proving it captures subtle preference factors better.
Limitations and Future Work
- Gold Model Dependency: Some of the analysis relies on "ArmoRM" as a "gold" preference model. While ArmoRM is state-of-the-art, it is still a model and may have its own inherent biases.
- Algorithm Scope: The downstream RL experiments primarily used RLOO (REINFORCE Leave-One-Out). While effective, future work could explore how BSR interacts with other popular alignment algorithms like PPO or DPO.
- Hyperparameter Sensitivity: While BSR is straightforward, the weight of the regularization term ($\lambda$) needs to be balanced to avoid under-fitting the primary preference signal.
Summary updated