In standard reinforcement learning, an agent is given a fixed reward function and tasked with maximizing it. However, in complex real-world scenarios—from autonomous driving to aligning Large Language Models (LLMs)—the "true" reward function is often unknown, noisy, or impossible to specify by hand. Bayesian Reward Inference flips this paradigm by treating the reward function as a latent variable to be inferred from observations, providing a mathematically principled way to handle ambiguity and quantify uncertainty.
The Problem of Reward Ambiguity
A central challenge in learning from humans is "non-identifiability": many different reward functions can explain the same set of behaviors. If a robot sees a human drive safely, is the reward for staying in the lane, avoiding collisions, or maintaining a specific speed? A point-estimate approach—picking just one "best" reward—often leads to reward hacking, where an agent exploits the gaps between the inferred reward and the human's actual intent.
As noted by Prashant Doshi and Saurabh Arora in A Survey of Inverse Reinforcement Learning, Bayesian methods address this by maintaining a posterior distribution over potential reward functions. Instead of guessing a single goal, the agent maintains a "belief" about all possible goals that are consistent with the evidence.
Quantifying What an Agent Doesn't Know
The primary advantage of the Bayesian approach is the ability to quantify epistemic uncertainty. By modeling rewards as distributions, systems can calculate high-confidence performance bounds. Daniel S. Brown and Scott Niekum demonstrated in Efficient Probabilistic Performance Bounds for Inverse Reinforcement Learning that using Markov chain Monte Carlo (MCMC) sampling to explore this distribution allows an agent to understand its own limitations.
This "knowing what you don't know" is critical for safety. Tu Trinh utilizes this uncertainty to determine demonstration sufficiency, allowing a robot to autonomously decide when it has seen enough human examples to guarantee a certain level of performance. Similarly, Sandy H. Huang and Anca D. Dragan use these belief states to generate Nonverbal Robot Feedback, signaling to a human teacher when the robot is confused about its task.
Integrating Diverse and Noisy Signals
Human feedback is rarely perfect. It can be contradictory, sub-optimal, or delivered through different modalities like language, demonstrations, or simple "stop" interventions. Bayesian frameworks excel at integrating these noisy signals:
- Linguistic Feedback: Theodore Sumers and colleagues treat natural language as a noisy signal for a hidden reward, using Bayesian linear regression to update the agent's beliefs (Learning Rewards From Linguistic Feedback).
- Multi-Modal Learning: The MAVRL framework by Raphaël Baur uses Amortized Variational Inference to combine demonstrations and preferences into a single model without the need for manual weight tuning.
- Sub-optimal Experts: When humans are "boundedly rational," Thomas Kleine Buening shows that agents can jointly infer both the reward and the human's level of noise (Interactive Inverse Reinforcement Learning for Cooperative Games).
Auditing and Aligning Large Language Models
The most recent application of this research is in the "alignment" of Large Language Models. Current Reinforcement Learning from Human Feedback (RLHF) often treats reward modeling as a simple optimization problem, which Pranjal Aggarwal and Karthik Narasimhan argue leads to hallucinations and misgeneralization (RLHF Deciphered).
To solve this, Matthieu Bou and Sonali Parbhoo proposed the Alignment Auditor. By recovering a distribution over an LLM's implicit objectives, auditors can formally verify if a model is truly aligned or if it has merely learned to "hack" the reward signal. This sequential Bayesian updating reduces ambiguity over time, ensuring that the inferred reward signal is robust enough for safe real-world deployment.