BYOL-Explore: Exploration by Bootstrapped Prediction

Zhaohan Guo, Shantanu Thakoor, Miruna Pislar, Bernardo Ávila Pires, Florent Altché, Corentin Tallec, Alaa Saade, Daniele Calandriello, Jean-Bastien Grill, Yunhao Tang, Michal Valko, Rémi Munos, Mohammad Gheshlaghi Azar, Bilal Piot

TL;DR

BYOL-Explore is a streamlined reinforcement learning (RL) agent that masters exploration by predicting its own future latent representations. By optimizing a single self-supervised loss, it simultaneously learns a world model and a curiosity-driven policy. This approach achieves superhuman performance on the hardest Atari games and solves complex 3D tasks without the human demonstrations previously thought necessary.

Introduction: The Challenge of Sparse Rewards

In Reinforcement Learning, agents often struggle when rewards are "sparse"—meaning the agent might wander for thousands of steps before receiving any meaningful feedback. To solve this, researchers frequently employ curiosity-driven exploration, where the agent receives "intrinsic rewards" for visiting novel or hard-to-predict states.

However, traditional curiosity methods face two major hurdles:

  1. The "Noisy TV" Problem: If an agent is rewarded purely for prediction errors, it can get "addicted" to unpredictable but useless noise (like a TV showing static) because it can never perfectly predict the next frame.
  2. Architectural Complexity: Many advanced agents require separate, complex modules for representation learning, world modeling, and exploration. These are notoriously difficult to tune and integrate.

Methodology: Bootstrapping Latent Predictions

BYOL-Explore addresses these issues by building on the Bootstrap Your Own Latent (BYOL) framework originally developed for computer vision. Instead of predicting raw, high-dimensional pixels—which are noisy and prone to the Noisy TV trap—the agent predicts the latent representations of future states.

BYOL-Explore Architecture

The architecture relies on a few key components:

  • The Online Network: This consists of an encoder, a "closed-loop" RNN to process historical context, and an "open-loop" RNN that simulates future trajectories based on the agent's actions.
  • The Target Network: A slowly moving average (EMA) of the online network. This provides stable, consistent "targets" for the online network to predict.
  • Unified Loss & Intrinsic Reward: The agent minimizes the distance between its predicted future latents and the actual latents produced by the target network. The prediction error itself serves as the intrinsic reward. If the agent is "surprised" by a state (high prediction error), it is incentivized to revisit that area until it understands the underlying dynamics.

By operating entirely in latent space, the agent naturally filters out unpredictable noise that doesn't contribute to its internal model, effectively bypassing the Noisy TV problem.

Key Insights

  • Simplicity is Power: Unlike previous state-of-the-art agents (like Agent57 or Go-Explore) that rely on complex episodic memories or bandit mechanisms to balance exploration, BYOL-Explore uses a single architecture and a single loss function.
  • Latent Filtering: Because the target network is a moving average of the online network, it only encodes features that are consistently learnable. Random noise is ignored, keeping the agent focused on meaningful exploration.
  • Multi-step "Imagination": The open-loop RNN allows the agent to predict multiple steps into the future. Predicting a longer horizon (e.g., 8-10 steps) proves crucial for solving complex 3D tasks compared to just predicting the immediate next frame.

Experiments and Results

The authors evaluated BYOL-Explore on two notoriously difficult benchmarks: the 10 hardest exploration games in Atari (e.g., Montezuma’s Revenge, Pitfall!) and DM-HARD-8, a suite of complex, first-person 3D tasks involving physical manipulation and sparse rewards.

Performance on DM-HARD-8
  • Solving DM-HARD-8 without Demonstrations: Previously, these 3D tasks were considered unsolvable without human expert demonstrations. BYOL-Explore successfully solved the majority of them (5 out of 8) using only intrinsic and extrinsic rewards, vastly outperforming baselines like Random Network Distillation (RND) and the Intrinsic Curiosity Module (ICM).
  • Superhuman Atari: BYOL-Explore achieved superhuman performance on all 10 of the hardest Atari exploration games.
  • Robustness to Noise: In a "Noisy Atari" ablation where half the screen was filled with random static, BYOL-Explore maintained its high performance, whereas traditional pixel-prediction methods completely failed.

Limitations and Future Work

The primary limitation of BYOL-Explore is aleatoric uncertainty—true, inherent randomness in the environment (like a coin flip). While the agent handles "controllable noise" exceptionally well, it isn't yet designed to perfectly distinguish between "novelty" (things it hasn't learned yet) and "stochasticity" (things that are inherently unpredictable).

Future work could involve scaling the world model further and developing explicit mechanisms to discard aleatoric uncertainty, making the agent even more robust in highly stochastic, real-world environments.

Summary updated

BibTeX
@inproceedings{guo2022byol,
  author = {Zhaohan Guo and Shantanu Thakoor and Miruna Pislar and Bernardo Ávila Pires and Florent Altché and Corentin Tallec and Alaa Saade and Daniele Calandriello and Jean-Bastien Grill and Yunhao Tang and Michal Valko and Rémi Munos and Mohammad Gheshlaghi Azar and Bilal Piot},
  title = {{BYOL-Explore: Exploration by Bootstrapped Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=_YkF8qIZ048},
}
Figure