Principled Exploration via Optimistic Bootstrapping and Backward Induction

Chenjia Bai, Lingxiao Wang, Lei Han, Jianye Hao, Animesh Garg, Peng Liu, Zhaoran Wang

Introduction

Exploration remains one of the most significant challenges in Reinforcement Learning (RL): how should an agent balance exploiting known rewarding actions with exploring unknown territory? A mathematically principled approach to this dilemma is Optimism in the Face of Uncertainty, often implemented using an Upper Confidence Bound (UCB) bonus.

While UCB provides strong theoretical guarantees in simple tabular or linear environments, scaling it to Deep RL is notoriously difficult. Consequently, most deep agents rely on heuristics like random noise or "curiosity," which lack theoretical rigor and struggle to propagate uncertainty across multiple time steps. To bridge this gap, researchers have introduced OB2I (Optimistic Bootstrapping and Backward Induction), a new exploration framework that scales the theoretically powerful UCB approach to deep neural networks. OB2I achieves state-of-the-art performance on Atari games, demonstrating up to 10x better sample efficiency than standard methods.

Methods: The OB2I Framework

The OB2I architecture is built upon two core innovations designed to make UCB both theoretically sound and practically efficient for deep networks:

  1. General-Purpose UCB Bonus via Bootstrapping: Instead of relying on a complex, closed-form mathematical bonus, OB2I utilizes an ensemble of $K$ "bootstrapped" Q-networks. The system measures epistemic uncertainty—uncertainty arising from a lack of data—by calculating the disagreement (variance) among these different network heads. This variance serves as the exploration bonus. Crucially, the authors prove that in linear environments, this bootstrapped bonus is mathematically equivalent to the gold-standard LSVI-UCB bonus.
  2. Bootstrapped Episodic Backward Update (BEBU): Standard RL updates typically occur one step at a time. In contrast, OB2I employs a backward induction process to propagate future uncertainties back through an entire episode. This ensures the agent's optimism is "time-consistent," allowing it to understand that an action taken now might lead to high-uncertainty (and potentially high-reward) states many steps in the future.
Illustration of the general-purpose UCB-bonus in a simple regression task. The disagreement between neural network heads captures epistemic uncertainty in regions with fewer data points.

Experimental Setup and Key Insights

The researchers evaluated OB2I on the MNIST Maze (a high-dimensional image-based navigation task) and the standard Atari 49 Suite. For the Atari benchmark, they specifically focused on sample-efficient training, comparing performance at 20 million frames against the standard 200 million frames used in many baselines.

Several key insights emerged from the evaluation:

  • Uncertainty Propagation is Vital: Unlike most bonus-based exploration methods that only consider the immediate next state, OB2I's backward induction allows the agent to perceive long-term uncertainty, enabling deeper strategic exploration.
  • Bootstrapping as a Principled Proxy: The variance of a bootstrapped ensemble is shown to be more than just a heuristic; it acts as a principled method to estimate classical RL confidence bounds.
  • Efficiency Gains: Updating backwards through an entire episode allows the agent to learn from delayed rewards and propagate information significantly faster than standard temporal-difference (TD) learning.

Key Results

OB2I demonstrated remarkable improvements in both performance and sample efficiency:

  • Superior Performance: Across the 49 Atari games, OB2I achieved a mean human-normalized score of 765% using only 20 million frames. This significantly outperformed strong baselines, such as NoisyNet and BootDQN-IDS, trained for the same duration.
  • 10x Sample Efficiency: Remarkably, OB2I at 20M frames outperformed many state-of-the-art methods that were trained for 200M frames, effectively delivering a 10x speedup in learning.
  • Meaningful Exploration Bonuses: Qualitative analysis in the game VideoPinball revealed that the UCB bonus spikes precisely when the agent encounters rare or crucial events, such as hitting specific lit targets that grant high scores.
Visualizing UCB-bonus in VideoPinball. The spikes in the bonus curve correspond to informative or rare events, such as hitting specific bumpers or rollovers.

Limitations and Future Work

While OB2I represents a significant step forward, the authors note a few limitations and areas for future research:

  • Discrete Action Spaces: The current implementation is tailored for environments with discrete actions (like Atari). Adapting OB2I to continuous control tasks, such as robotics, remains a key direction for future work.
  • Ensemble Overhead: Maintaining an ensemble of $K$ network heads increases the computational and memory footprint compared to a single-network agent.
  • Bonus Integration: Integrating OB2I with other expressive bonus schemes could potentially yield even stronger exploration capabilities.

Summary updated

BibTeX
@inproceedings{bai2021principled,
  author = {Chenjia Bai and Lingxiao Wang and Lei Han and Jianye Hao and Animesh Garg and Peng Liu and Zhaoran Wang},
  title = {{Principled Exploration via Optimistic Bootstrapping and Backward Induction}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=VHX_SLo0DGW},
}
Figure