Exploration via Epistemic Value Estimation

Simon Schmitt, John Shawe-Taylor, Hado van Hasselt · DOI

Introduction

Efficient exploration is a fundamental challenge in reinforcement learning (RL). To explore effectively, an agent must distinguish between aleatoric uncertainty (inherent noise in the environment) and epistemic uncertainty (the agent's own ignorance). While Bayesian methods like Thompson Sampling provide a theoretical framework for this, scaling them to deep neural networks has traditionally required computationally expensive ensembles, such as Bootstrapped DQN.

Exploration via Epistemic Value Estimation (EVE) introduces a principled "recipe" to estimate epistemic uncertainty efficiently. By reinterpreting value prediction as return density estimation and leveraging the Bernstein-von Mises theorem, EVE enables high-quality exploration with a fraction of the computational overhead required by ensemble methods.

The EVE Methodology

The EVE framework follows a three-step process to derive epistemic values from standard RL architectures:

  1. Model the Return Distribution: Instead of predicting a single expected value, the agent models the entire distribution of returns to capture aleatoric uncertainty. In its simplest form, Q-learning is treated as a Gaussian density model.
  2. Approximate the Parameter Posterior: Based on the Bernstein-von Mises theorem, the Bayesian posterior over the network parameters $\theta$ converges to a Gaussian distribution centered at the Maximum Likelihood Estimate (MLE). The covariance of this distribution is proportional to the inverse Fisher Information Matrix.
  3. Compute Epistemic Values: The agent samples parameters from this posterior to generate "epistemic values." These samples are used for Thompson Sampling during both action selection and the calculation of bootstrap targets for training.
The EVE Recipe: A three-step process from value prediction to epistemic uncertainty.

To ensure scalability, the authors utilize a diagonal approximation of the Fisher Information Matrix, which can be updated online. A critical practical insight discovered during development is the necessity of Leaky-ReLU activations. Standard ReLUs can produce zero gradients for negative inputs, effectively "blinding" the Fisher Information estimate; Leaky-ReLUs maintain gradient flow and ensure the method remains functional.

Experimental Results

The researchers evaluated EVE using the Bsuite benchmark, with a particular focus on the Deep Sea environment. Deep Sea is a "needle in a haystack" task where an agent must make a perfect sequence of $N$ correct moves in an $N \times N$ grid to find a treasure. Any single mistake results in zero reward, making random exploration ($\epsilon$-greedy) exponentially unlikely to succeed as $N$ increases.

Performance and Efficiency

Epistemic Q-Learning (the EVE-based agent) demonstrated performance parity with state-of-the-art ensemble methods while being significantly more efficient:

  • Competitive Exploration: EVE successfully solved the $30 \times 30$ Deep Sea benchmark, a task where standard DQN fails completely.
  • Massive Compression: The method achieved these results using 20x fewer parameters than Bootstrapped DQN, effectively providing the benefits of a 20-network ensemble within the footprint of a single network.
  • Uncertainty Calibration: Empirical tests confirmed that the predicted epistemic uncertainty was significantly higher for rarely visited states, validating that the model correctly identifies its own lack of knowledge.
Performance on the 30x30 Deep Sea benchmark: Epistemic Q-Learning matches ensemble performance while standard DQN fails.

Conclusion

EVE provides a theoretically grounded and computationally lean approach to exploration in deep RL. By bridging the gap between frequentist and Bayesian perspectives, it allows agents to estimate their own uncertainty accurately without the memory and compute costs of large ensembles. Future work may involve applying EVE to more complex distributional RL models (like QR-DQN) and exploring its utility in safety-critical applications where uncertainty estimation is vital for risk aversion.

Summary updated

BibTeX
@inproceedings{schmitt2023exploration,
  author = {Simon Schmitt and John Shawe-Taylor and Hado van Hasselt},
  title = {{Exploration via Epistemic Value Estimation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i8.26164},
}
Figure