Abstract
Recent advances in aligning Large Language Models (LLMs) with human preferences have benefited from larger reward models and better preference data. However, most of these methodologies rely on the accuracy of the reward model. The reward models used in Reinforcement Learning with Human Feedback (RLHF) are typically learned from small datasets using stochastic optimization algorithms, making them prone to high variability. We illustrate the inconsistencies between reward models empirically on numerous open-source datasets. We theoretically show that the fluctuation of the reward models can be detrimental to the alignment problem because the derived policies are more overfitted to the reward model and, hence, are riskier if the reward model itself is uncertain. We use concentration of measure to motivate an uncertainty-aware, conservative algorithm for policy optimization. We show that such policies are more risk-averse in the sense that they are more cautious of uncertain rewards. We theoretically prove that our proposed methodology has less risk than the vanilla method. We corroborate our theoretical results with experiments based on designing an ensemble of reward models. We use this ensemble of reward models to align a language model using our methodology and observe that our empirical findings match our theoretical predictions.
Introduction: The Reliability Gap
The standard RLHF pipeline relies on a Reward Model (RM) to act as a proxy for human judgment. However, these RMs are often trained on relatively small datasets using stochastic optimization, making them prone to high variability. This research identifies a critical "reliability gap": if multiple identical reward models are trained on the same data, they often assign wildly different scores to the same prompt-response pair.
When aligning an LLM using a single, noisy RM, the policy tends to "over-optimize" or "reward hack"—exploiting the noise and errors in the RM rather than learning true human preferences. This leads to brittle policies that perform well on training proxies but fail to generalize or maintain safety in real-world applications.
Methodology: Uncertainty-Aware Policy Optimization
To address this, we propose a shift from variance-unaware to variance-aware policy optimization. Our approach consists of three main pillars:
- Reward Model Ensembles: Instead of one RM, we utilize an ensemble of 10 independent reward heads attached to a shared, frozen foundation model (Gemma-2B-it). This allows for the calculation of both a mean reward and a variance (uncertainty) for every response.
- Conservative Lower Bounds: Using concentration of measure theory, we derive a conservative objective function. Instead of maximizing the estimated reward alone, the algorithm maximizes a lower confidence bound: $Reward - \beta \times \text{Uncertainty}$.
- Variance-Weighted Constraints: In the Proximal Policy Optimization (PPO) phase, we modify the standard KL-divergence constraint to penalize policy updates more heavily for prompt-response pairs where the reward model is highly uncertain.
This methodology is mathematically analogous to the Sharpe Ratio used in finance, which balances expected return against risk, resulting in a "risk-averse" alignment process.
Empirical Results and Stability
We corroborated our theoretical results with experiments on the RewardBenchmark and PPO fine-tuning using the IMDB dataset. Our ensemble model achieved an average score of 69.4 on RewardBenchmark, outperforming larger models like Qwen1.5-72B-Chat in specific categories.
In PPO experiments using GPT-2, we observed a significant difference in policy stability:
- Vanilla PPO achieved a higher mean reward (0.34) but with high variance (0.06), indicating risky behavior and potential overfitting.
- Variance-Aware PPO achieved a more modest mean reward (0.22) but with significantly lower variance (0.012).
As shown in the histograms, the variance-aware distribution is much more concentrated, avoiding the long-tail of low-quality or high-risk responses seen in standard PPO.
Conclusion
By treating reward models as noisy estimates rather than absolute truths, we can achieve more reliable alignment. While standard RLHF is risk-neutral, our proposed method is risk-averse, choosing responses with reliable rewards over those with high but uncertain predicted rewards. Future work will explore applying this uncertainty-aware framework to Direct Preference Optimization (DPO) and scaling these methods to frontier-class models.
Summary updated