Abstract
Standard Reinforcement Learning from Human Feedback (RLHF) is prone to "reward hacking" because it treats noisy, unstable reward models as absolute truth. This paper proposes a variance-aware policy optimization framework that penalizes rewards with high uncertainty, leading to more stable, robust models that are significantly less likely to underperform their base versions.
Introduction
Reinforcement Learning from Human Feedback (RLHF) is the industry standard for making Large Language Models (LLMs) helpful and safe. The process usually involves training a Reward Model (RM) to mimic human preferences and then using an optimizer like PPO to "teach" the LLM to maximize that reward. However, Reward Models are often "brittle." They are trained on far less data than the LLMs they supervise and are subject to the whims of stochastic optimization. When we optimize a policy against a single, noisy RM, the LLM learns to exploit the RM's inaccuracies—a phenomenon known as reward hacking or overoptimization.
Methodology
The authors introduce a mathematical framework that treats the reward signal not as a fixed scalar, but as a distribution with inherent uncertainty.
Variance-Aware Objective
Instead of simply maximizing the expected reward ($R$), we propose a surrogate objective: $R - \beta \cdot \text{Variance}$. This is conceptually similar to the Sharpe Ratio in finance, where an investor seeks the best return for a given level of risk.
Uncertainty Modeling
To calculate the "variance" of a reward, two paths are explored:
- Ensemble Reward Models: Training 10 independent reward heads on top of a frozen GEMMA-2B-IT backbone. The disagreement (variance) between these heads serves as the uncertainty metric.
- Prompted Reward Models: Asking advanced LLMs (like Gemini 1.5 Flash) to provide a confidence interval for a response's value, treating the width of the interval as a proxy for uncertainty.
Experimental Results
The framework was tested on models including GPT-2, Qwen2.5-0.5B, and Mistral-7B using a massive preference dataset mix (HH-RLHF, SHP, HelpSteer, etc.).
Stability and Risk Reduction
Across all tested models, the variance-aware method produced reward distributions with significantly lower variance (often 2x to 6x lower) than vanilla PPO.
In Mistral-7B experiments, the "risk" of underperforming the reference policy dropped from 18% (vanilla) to just 6% (variance-aware). Theoretical analysis confirms that the variance-aware objective acts as a high-probability lower bound on the true reward, effectively avoiding the "peaks" of spurious rewards that lead to overfitting.
Conclusion
By incorporating uncertainty into the alignment process, we can move towards more reliable AI systems. While computational overhead remains a consideration, the significant gains in model stability and the reduction in reward hacking suggest that uncertainty-aware optimization is a crucial step for robust LLM alignment.
Summary updated