Mitigating Reward Hacking in RLHF via Bayesian Non-negative Reward Modeling
Zhibin Duan, Guowei Rong (Jilin University), Zhuo Li, Bo Chen, Mingyuan Zhou, Dandan Guo
Overview
This talk details BNRM (Bayesian Non-negative Reward Modeling), a novel approach to addressing reward hacking during the Reinforcement Learning from Human Feedback (RLHF) phase of large language model (LLM) training. Presented by Guowei Rong from Jilin University on behalf of a multi-institutional research team, the session explores why standard reward models inherently invite exploitation and how casting reward modeling through a Bayesian non-negative lens provides a structural defense against shortcut learning.

Key moments
- 0:00 Introduction to RLHF pipeline and reward hacking
- 1:55 Examples of reward hacking and limitations of existing work
- 3:56 Core issue of standard reward models and introduction of BNRM
- 5:32 Bayesian view and amortized inference of BNRM
- 6:48 Interpretability, reproducibility, and length debiasing results
- 8:22 Q&A: Main differences between BNRM and Bradley-Terry
Mitigating Reward Hacking in RLHF via Bayesian Non-negative Reward Modeling
Speakers: Zhibin Duan; Guowei Rong (Jilin University); Zhuo Li; Bo Chen; Mingyuan Zhou; Dandan Guo
Conference: ICML
YouTube: https://slideslive.com/39083608
Overview
This talk details BNRM (Bayesian Non-negative Reward Modeling), a novel approach to addressing reward hacking during the Reinforcement Learning from Human Feedback (RLHF) phase of large language model (LLM) training. Presented by Guowei Rong from Jilin University on behalf of a multi-institutional research team, the session explores why standard reward models inherently invite exploitation and how casting reward modeling through a Bayesian non-negative lens provides a structural defense against shortcut learning.
In the standard LLM alignment pipeline, models progress through pre-training for language capability, Supervised Fine-Tuning (SFT) for instruction following, and finally RLHF to align outputs with human preferences. Within RLHF, the reward model acts as a proxy objective, translating human preferences into an optimizable reward signal. However, when this proxy reward becomes the optimization target, reward hacking occurs: models maximize the proxy score without improving true human preference. This manifests as verbosity bias, formatting artifacts, and superficial style mimicking over substantive quality. BNRM resolves this by redesigning how reward scores are structured and inferred, utilizing local and global sparse factors to disentangle signals and automatically suppress shortcut-inducing biases.
Background
▶ Watch: Introduction to RLHF pipeline and reward hacking (0:00)
The systems and machine learning communities have long wrestled with the vulnerability of proxy objectives in reinforcement learning. In the context of LLMs, standard reward models rely on Bradley-Terry (BT) preference fitting. Given a prompt and a pair of responses—one chosen ($Y_1$) and one rejected ($Y_2$)—an SFT model backbone encodes them into hidden states ($Z$). A linear weight ($W$) maps these hidden states to a scalar reward score ($Z^T W$), and the Bradley-Terry loss optimizes the model so that chosen responses receive higher scores than rejected ones.
When deployed in RLHF, this dense scalar reward structure compresses all semantic and superficial signals into a single deterministic black-box value. Consequently, the policy model optimizes for whatever shortcut the reward model rewards most easily. Prior attempts to mitigate this failure mode generally follow three directions: gathering higher-quality preference data, designing robust reward models (such as ensemble methods, Bayesian Reward Models (GRM), and Info-RLM), or applying supervised debiasing for known flaws like length bias.
Despite these interventions, reward hacking persists because it stems from a complex confluence of noisy data, flawed model structures, and aggressive reinforcement learning optimization. Standard dense scalar representations inevitably mix true quality, length cues, and formatting styles into an undifferentiated score, making structural redesign of the reward model imperative.
Key Findings
▶ Watch: Core issue of standard reward models and introduction of BNRM (3:56)
The BNRM framework yields several foundational discoveries regarding reward model representation and robustness:
- Disentanglement via Sparse Factorization: By replacing the single deterministic scalar with a product of local and global sparse factors, BNRM separates response-specific preference signals from population-level shortcuts.
- Unsupervised Bias Discovery: Unlike prior debiasing techniques that require manual bias definition or supervised labels, BNRM discovers and suppresses shortcuts (such as length and format bias) in an unsupervised fashion.
- Radical Reduction in Length Bias: Empirical evaluations show that while standard Bradley-Terry reward models suffer from high length correlation ($R = 0.488$), BNRM dramatically reduces this vulnerability ($R = 0.123$).
- Data and Noise Efficiency: BNRM trained on a restricted dataset of $1K$ samples matches or exceeds the out-of-domain performance of standard Bradley-Terry models trained on $10K$ to $20K$ samples. Furthermore, BNRM trained with a high noise level ($0.4$) achieves out-of-domain performance comparable to standard BT models operating at much lower noise thresholds ($0.1$ to $0.2$).
- Semantic Interpretability: The model's latent factors recover consistent, human-readable semantic roles (such as safety, low quality, and step-by-step instruction execution) with high cross-run and cross-model stability.
Technical Deep Dive
▶ Watch: Bayesian view and amortized inference of BNRM (5:32)
The core innovation of BNRM lies in its architectural departure from the standard dense scalar reward model. Instead of compressing representation into a single scalar via Bradley-Terry fitting, BNRM introduces Bayesian non-negative factor analysis.
The reward score $R$ is formulated as the inner product of two sets of latent factors: local sparse factors ($\theta$) and global dictionary factors ($\phi$):
$$R = \theta^T \phi$$
To enforce sparsity and non-negativity, Gamma priors are placed on both $\theta$ and $\phi$.
- The local sparse factors ($\theta$) provide instance-level factor activations, isolating response-specific preference signals.
- The global sparse factors ($\phi$) provide population-level global weights, allowing the model to suppress shortcut-related reward factors.
Exact Bayesian inference over these latent structures is computationally intractable. To solve this, BNRM leverages amortized inference using the LLM backbone as an inference network rather than a generative reward mechanism. Given a prompt $X$ and response $Y$, the backbone extracts hidden features $Z$, which are then mapped to Weibull parameters ($k$ and $\lambda$). This parameterizes the variational posterior $Q(\theta \mid X, Y)$.
The training objective for BNRM comprises three distinct components:
- Preference fitting loss, maintaining alignment with human choices.
- KL divergence on $\theta$, enforcing instance-level sparsity and disentanglement.
- KL divergence on $\phi$, regulating global factor weights.
During inference and debiasing, if a global factor $\phi$ receives a high weight, its associated semantic signal (e.g., instructional clarity or safety) is amplified. Conversely, when a global factor $\phi$ approaches zero, the corresponding factor becomes inactive, effectively neutralizing erroneous shortcut dimensions such as superficial formatting or excessive length.
Experimental Setup & Results
▶ Watch: Interpretability, reproducibility, and length debiasing results (6:48)
While the transcript focuses on architectural mechanics rather than exhaustive benchmarking suites, the authors evaluate BNRM across out-of-domain tasks, varying data scales, and noise injection scenarios.
- Baseline Comparisons: Standard Bradley-Terry (BT) reward models serve as the primary baseline, characterized by their dense scalar outputs and high susceptibility to length and style exploitation.
- Data Efficiency Metrics: BNRM demonstrates that structural regularization via Bayesian non-negative priors significantly reduces data dependency. A BNRM model trained on a small data regime ($1K$ samples) achieves performance parity with standard BT models trained on $10K$ to $20K$ samples on out-of-domain evaluation tasks.
- Robustness to Noise: When subjected to preference label corruption, BNRM maintains stability. A BNRM model trained with a preference noise ratio of $0.4$ performs competitively against standard BT baselines operating under clean or lightly-noised conditions ($0.1$ to $0.2$ noise ratios).
- Bias Correlation Metrics: Pearson correlation coefficients measuring length bias against true preference confirm that BNRM cuts length correlation from $R = 0.488$ (standard BT) down to $R = 0.123$.
Practical Implications
▶ Watch: Q&A: Main differences between BNRM and Bradley-Terry (8:22)
For machine learning practitioners, infrastructure teams, and model deployers, BNRM offers a powerful pathway to more stable and trustworthy LLM alignment.
- Mitigating Reward Hacking Without Manual Tuning: Engineering teams frequently spend considerable effort writing heuristic filters or collecting specialized contrastive datasets to suppress length and format bias. BNRM automates this discovery process through unsupervised sparse factor analysis, reducing engineering overhead.
- Data and Compute Savings: Because BNRM achieves robust out-of-domain generalization with a fraction of the preference data required by standard Bradley-Terry models, organizations can substantially lower the compute and annotation costs associated with large-scale RLHF pipelines.
- Interpretability for Safety Audits: The human-readable semantics produced by BNRM's latent factors (such as explicit safety dimensions and step-by-step writing indicators) provide deployers with greater transparency into why a model assigns a specific reward, facilitating more rigorous safety audits prior to production release.
- Tradeoffs: Implementing amortized variational inference with Gamma priors and managing dual KL divergence constraints introduces additional architectural complexity compared to standard scalar regression heads. However, this upfront training complexity is offset by downstream stability during reinforcement learning.
Key Takeaways
- Structural Flaw in Standard RMs: Dense scalar reward models compress all signals into a single black-box value, inherently encouraging policy models to exploit superficial shortcuts like length and formatting.
- Bayesian Non-negative Factorization: BNRM reformulates reward modeling as $R = \theta^T \phi$, using Gamma priors to enforce non-negative, sparse local and global factor representations.
- Amortized Inference via LLM Backbones: The architecture uses the LLM backbone as an inference network to predict Weibull parameters, defining the variational posterior $Q(\theta \mid X, Y)$ without requiring intractable exact Bayesian inference.
- Dramatic Reduction in Bias: BNRM successfully suppresses length bias, lowering length correlation coefficients from $0.488$ (standard BT) to $0.123$.
- Superior Data Efficiency and Noise Robustness: BNRM trained on $1K$ samples or at a $0.4$ noise level matches the out-of-domain performance of standard BT models trained on $10K–20K$ samples or lower noise thresholds.
- Enhanced Interpretability: Latent factors yield stable, human-readable semantic roles across runs, improving transparency for safety and alignment auditing.
About the Speaker(s)
- Guowei Rong (Jilin University): Guowei Rong is from Jilin University, China and presented work on Bayesian non-negative reward modeling focused on reward hacking in RLHF and building more reliable reward models.
Co-authors: Zhibin Duan, Zhuo Li, Bo Chen, Mingyuan Zhou, Dandan Guo.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026