TL;DR
Conventional reward models compress human preferences into deterministic scalar scores, causing overconfidence and severe reward hacking during RLHF. The Probabilistic Uncertain Reward Model (PURM) generalizes the Bradley–Terry framework to output reward distributions ($\mu, \sigma$) rather than point estimates. By penalizing policy rewards based on distribution overlap (the Bhattacharyya Coefficient), PURM prevents reward hacking, sustains stable RLHF training for significantly longer, and achieves higher win rates at virtually no extra compute cost.
What Problem Does This Paper Address?
In Reinforcement Learning from Human Feedback (RLHF), language models are steered by proxy reward models (RMs) trained on preference pairs. The industry standard—the Bradley–Terry Reward Model (BTRM)—outputs a single scalar value.
This creates a major failure mode: collapsing nuanced human feedback into deterministic scalars conceals both aleatoric uncertainty (ambiguous or contradictory human labels) and epistemic uncertainty (unseen, out-of-distribution prompts). During policy optimization (e.g., PPO), the policy model aggressively exploits these blind spots. It over-optimizes for flawed proxy rewards (e.g., inappropriately refusing benign questions out of excessive caution), causing the true model quality to peak and then plummet—a pathology known as reward hacking.
Methods
PURM addresses this by treating the reward not as a fixed number, but as a Gaussian distribution $r \sim \mathcal{N}(\mu, \sigma)$:
- Two-Head Architecture: Modifies standard RM backbones (e.g., Llama-3.1-8B-Instruct) with dual heads that output the mean $\mu$ and log standard deviation $\log \sigma$.
-
Probabilistic Bradley–Terry Loss: Integrates the sigmoid preference likelihood over the two Gaussian distributions: $$p(y_1 > y_2 \mid x) = \mathbb{E}_{z \sim \mathcal{N}\left(\mu_1 - \mu_2, \sqrt{\sigma_1^2 + \sigma_2^2}\right)} [\text{sigmoid}(z)]$$ This is optimized end-to-end via standard MLE using the reparameterization trick.
-
Bhattacharyya Coefficient (BC) Uncertainty: Variance alone is insufficient to gauge uncertainty because a distribution with large $\sigma$ may still be distinct if its mean is far from others. PURM measures uncertainty as the distribution overlap using the Bhattacharyya Coefficient against stored recent sample distributions.
-
Uncertainty-Penalized RLHF: Penalizes uncertain exploration during PPO: $$r^*(x, y) = \mu(x, y) - \lambda \cdot u(x, y)$$ where $\lambda$ controls penalty intensity and $u(x, y)$ is the mean BC overlap.
-
Lightweight Implementation: Requires under 10 lines of code change per module and introduces virtually zero training or inference overhead compared to 5-model ensembles.
BTRM PURM
[ Prompt + Response ] [ Prompt + Response ]
| |
[ Head ] [Head μ] [Head log σ]
| \ /
Scalar r r ~ N(μ, σ) --> Overlap / BC Uncertainty
Datasets
- Reward Model Training: Trained on four public datasets covering general chat, safety, and instruction-following: ChatArena, AlpacaFarm-HumanPref, HelpSteer2, and PKU-SafeRLHF.
- Reward Benchmarking: Evaluated on RewardBench across Chat, Chat Hard, Safety, and Reasoning.
- Epistemic OOD Evaluation: Tested on specialized out-of-distribution datasets spanning math (
argilla_math,sdiazlor_math), legal QA (dzunggg_legal), and foreign languages (HC3-Chinese,Aratako_Japanese). - Policy Training & Evaluation: Evaluated using Anthropic’s HH-RLHF (judged against GPT-4o via GPT-4o-mini) and AlpacaEval 2.0 (judged via GPT-4 Preview).
Key Insights and Ideas
- Variance as an Automatic Error "Sink": Due to the sigmoid function’s concavity on $(0, \infty)$ and convexity on $(-\infty, 0)$, maximizing log-likelihood naturally pushes the model to shrink variance on correct predictions and expand variance on incorrect/noisy labels. The variance acts as an error absorber, protecting the mean reward $\mu$ from label noise.
- Overlap Beats Raw Standard Deviation: A large standard deviation does not necessarily mean high confusability if two outputs have widely separated means. Quantifying pairwise probability overlap via the Bhattacharyya Coefficient provides a grounded metric for uncertainty.
- Mitigating "Over-Defensive" Refusals: Standard BTRMs frequently learn to hack safety benchmarks by refusing benign queries that merely touch on sensitive terms (e.g., alcohol guidelines or finding free clothes). PURM's uncertainty penalty prevents the policy from over-exploiting this cowardly shortcut.
Key Results
- Reward Accuracy: PURM achieves 84.20% overall accuracy on RewardBench (outperforming standard BTRM's 82.90%), closely matching computationally expensive ensembles (BTE-mean at 84.80%) while requiring $5\times$ less training time and inferencing $\sim 5\times$ faster (55.8 ms/it vs. 272.5 ms/it).
- Uncertainty Detection:
- Aleatoric: Accurately tracks label flips, peaking in uncertainty at a 50% reversal ratio.
- Epistemic: Yields low uncertainty on in-domain chat ($\sim 0.031$), but sharply spikes on out-of-distribution math, legal, and multilingual tasks (up to $0.065$).
- RLHF Performance & Anti-Hacking:
- In HH-RLHF PPO training, BTRM collapses around step 600 (peak win rate 49.1%). PURM sustains learning past 950 steps, reaching a 54.7% win rate against GPT-4o.
- On safety vs. helpfulness trade-offs, PURM drastically drops false refusals: achieving 93.60% helpfulness (safe QA accuracy) compared to BTRM's 84.11%, while lifting the overall F1 score from 0.544 to 0.596.
Limitations and Future Work
- Scope of Formulation: PURM specifically generalizes the Bradley–Terry pairwise model. It does not natively extend to generative reward models (e.g., LLM-as-a-judge reasoning) or listwise ranking paradigms.
- Sliding-Window Dynamics: Uncertainty estimation in RLHF relies on a memory buffer of past reward distributions; optimal window sizing and sampling strategies across highly non-stationary training phases remain open for optimization.
Summary updated