Abstract
We present BYOL-Explore, a conceptually simple yet general approach for curiosity-driven exploration in visually-complex environments. BYOL-Explore learns a world representation, the world dynamics, and an exploration policy simultaneously by optimizing a single prediction loss in the latent space with no additional auxiliary objectives. We demonstrate that BYOL-Explore is highly effective in DM-HARD-8, a challenging partially-observable 3D benchmark, and achieves superhuman performance on the ten hardest exploration games in Atari.
Introduction
In Reinforcement Learning (RL), agents often struggle in environments where rewards are "sparse." In such scenarios, an agent might perform thousands of actions before receiving any external feedback, making it nearly impossible to learn through trial and error alone. To overcome this, researchers utilize curiosity-driven exploration, where the agent is given an "intrinsic reward" for discovering new states or unpredictable transitions.
Traditional curiosity methods often suffer from two main issues: high computational complexity and the "Noisy TV" problem. Methods that rely on pixel-level reconstruction are often distracted by irrelevant background noise (like flickering lights) that does not affect the task. Furthermore, complex 3D environments like DeepMind's DM-HARD-8 have historically required human demonstrations to provide the agent with a starting point. BYOL-Explore addresses these challenges by simplifying the curiosity mechanism into a single, robust objective.
The BYOL-Explore Framework
BYOL-Explore is built upon the foundation of Bootstrap Your Own Latent (BYOL), a self-supervised learning technique. The architecture avoids the pitfalls of pixel reconstruction by operating entirely within a compressed latent space.
Architecture and Mechanism
The system utilizes a dual-network structure:
- The Online Network: This network consists of an encoder to process visual input, a "close-loop" RNN to maintain a memory of past states, and an "open-loop" RNN to predict future latent representations based on potential actions.
- The Target Network: This is a slowly moving average (Exponential Moving Average) of the Online Network. It provides stable, self-generated "ground truth" targets for the Online Network to predict.
A Unified Objective
The core innovation of BYOL-Explore is its use of a single prediction loss (cosine distance) between the Online Network's prediction and the Target Network's representation. This loss serves two simultaneous functions:
- Model Training: It updates the world model to better understand environment dynamics.
- Intrinsic Reward: The prediction error itself is used as the reward signal. The agent is incentivized to explore areas where its current world model is inaccurate, driving it toward novel and informative experiences.
Experimental Results
The authors evaluated BYOL-Explore across two rigorous benchmarks: the Atari "Hard-10" exploration games and the DM-HARD-8 suite.
Superhuman Performance in Atari
BYOL-Explore achieved superhuman performance on all ten of the hardest Atari exploration games, including notoriously difficult titles like Montezuma’s Revenge, Pitfall, and Solaris. In "pure exploration" tests—where the agent receives zero extrinsic reward—BYOL-Explore successfully visited over 20 rooms in Montezuma’s Revenge, outperforming established methods like Random Network Distillation (RND).
Solving Complex 3D Environments
In the DM-HARD-8 benchmark, which features 3D first-person tasks involving complex physics and object manipulation, BYOL-Explore solved the majority of tasks using only intrinsic and extrinsic rewards. This is a significant milestone, as previous state-of-the-art agents (such as R2D2) failed to achieve any reward on these tasks without the aid of human demonstrations.
Key Insights
- Latent Space Robustness: By predicting abstract representations instead of raw pixels, the agent naturally ignores task-irrelevant noise, effectively solving the Noisy TV problem.
- Multi-step Imagination: The use of an open-loop RNN allows the agent to imagine sequences of future actions. This multi-step prediction proved critical for navigating and manipulating objects in 3D space.
- Simplicity and Generality: By replacing multiple auxiliary losses with a single bootstrapped prediction error, BYOL-Explore offers a more streamlined and generalizable design than previous competitive agents.
Conclusion and Future Work
BYOL-Explore demonstrates that a unified curiosity signal can replace the need for human demonstrations in complex, visually-rich environments. While the method is highly effective, the authors note that "hard credit assignment" remains a challenge—specifically in tasks requiring the agent to remember specific cues from the very beginning of a long episode. Future research may focus on scaling these world models further and refining the balance between exploration and exploitation in increasingly stochastic environments.
Summary updated