Epistemic Bellman Operators

Pascal R. van der Vaart, Matthijs T. J. Spaan, Neil Yorke-Smith

Epistemic Bellman Operators: A Unified Framework for Bayesian Reinforcement Learning

Introduction

In Reinforcement Learning (RL), agents must distinguish between what they know and what they don't—a concept known as epistemic uncertainty. Efficient exploration relies on quantifying this uncertainty to guide the agent toward informative states. While algorithms like Bootstrapped DQN or EVE have made empirical strides, they often rely on ad-hoc updates. The fundamental challenge lies in the sequential nature of RL: because agents update current value estimates based on future ones (bootstrapping), uncertainty must be propagated through time. Until now, the mathematical stability of alternating between Bayesian inference and target updates remained unproven.

The Epistemic Bellman Operator

The authors propose the Epistemic Bellman Operator (EBO) to formalize uncertainty propagation. Unlike the standard Bellman operator, which operates on scalar values, the EBO operates on probability distributions. It formalizes the process of marginalizing a posterior distribution over target values, essentially pushing the entire "target distribution" through the Bellman equation. This framework unifies popular methods like BootDQN and EVE, showing they are different ways of approximating the same idealized EBO.

Theoretical Convergence

A primary contribution of this work is the proof that the EBO is a contraction mapping. Specifically, if the underlying RL operator is a contraction, the EBO is also a contraction within the Wasserstein metric space. This provides the first formal guarantee that repeatedly applying Bayesian updates in an RL context will settle into a stable, unique solution.

Visualization of the EBO convergence process over n iterations. The distribution over Q-values contracts toward the unique fixed point, demonstrating the theoretical stability of the operator.

Mitigating Overestimation Bias

Standard Thompson Sampling in RL often suffers from overestimation bias, similar to the bias found in vanilla Q-learning. To address this, the authors introduce the Double-Sampling EBO. Inspired by Double Q-learning, this variant uses two independent samples to select and evaluate actions, successfully neutralizing the overestimation bias common in Bayesian methods.

Comparison of value overestimation across different methods. Double-sampling variants of MCMC and EBO effectively eliminate the bias that grows with noise scale in standard implementations.

Practical Application: ECPPO

The EBO framework enables the creation of more robust algorithms, such as Epistemic Clipping PPO (ECPPO). ECPPO uses uncertainty estimates (via ensembles or Laplace approximations) to dynamically adjust the PPO clipping hyperparameter. When the agent is certain about its advantage estimates, it clips less aggressively, allowing for faster and more efficient learning. This allows uncertainty to act as a dynamic hyperparameter controller rather than just an exploration signal.

Experimental Results

The researchers evaluated EBO-based methods across a variety of environments, including tabular MDPs and the Gymnax library (Acrobot, MinAtar, BSuite). Key findings include:

  • Bias Elimination: In tabular experiments, the Double-Sampling EBO completely removed the overestimation that plagued standard MCMC and EBO samplers.
  • Performance Gains: Ensemble-ECPPO significantly outperformed baseline PPO. Its adaptive nature proved robust, performing well in environments that typically require either very strong or very weak clipping.
  • Convergence Proof: Visualizations confirm that even with highly correlated actions, the EBO converges to a stable distribution centered around true Q-values.

Conclusion

By providing a unified theoretical foundation for Bayesian RL, the Epistemic Bellman Operator moves the field from empirical heuristics to mathematically grounded principles. While current implementations often assume normally distributed errors, the EBO framework opens the door for future research into non-Gaussian priors and more sophisticated uncertainty-aware architectures beyond Q-learning and PPO.

Summary updated

BibTeX
@inproceedings{vaart2025epistemic,
  author = {Pascal R. van der Vaart and Matthijs T. J. Spaan and Neil Yorke-Smith},
  title = {{Epistemic Bellman Operators}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=OuMQ2kPdDK},
}
Figure