Introduction
Reinforcement Learning (RL) agents often struggle in environments with sparse rewards (where the agent rarely sees a "win") or deceptive rewards (where short-term gains lead to dead ends). To solve these challenges, agents must explore their environments effectively.
The original Go-Explore algorithm revolutionized exploration by using a "return-then-explore" strategy: it stores a library of visited states, picks a promising one, returns to it, and explores further. However, Go-Explore relies on partitioning the world into discrete "cells." Defining these cells requires significant domain expertise. For example, in the game Montezuma’s Revenge, human operators must manually program the agent to recognize that "holding a key" represents a distinct state change. If this cell definition is poorly designed, exploration collapses.
Latent Go-Explore (LGE) addresses this limitation by generalizing the Go-Explore paradigm. It replaces manually engineered state-space cells with learned latent representations. By using non-parametric density estimation to sample goals, LGE achieves state-of-the-art exploration performance on notoriously difficult benchmarks without requiring domain-specific knowledge.
Methods: A Cell-Free Approach
LGE follows the core "return-then-explore" paradigm but introduces three critical improvements that make it entirely "cell-free":
- Simultaneous Latent Learning: Instead of relying on manual cells, LGE learns a latent representation—a compressed, meaningful mathematical map of the environment—while it explores. The authors tested three representation learning flavors: Inverse Dynamics, Forward Dynamics, and Vector Quantized Variational Autoencoders (VQ-VAE).
- Intrinsic Goal Sampling: To decide where to go next, LGE uses a non-parametric density model within the latent space. It calculates which areas are "least visited" (low density) and samples goals from the edges of its known world. This is achieved using a geometric law based on the rank of the latent density.
- Subgoal Trajectory Pruning: When returning to a previously visited state, the agent does not blindly follow its old path. Instead, it uses latent distance to prune unnecessary steps, creating a more efficient "subgoal" trajectory to reach the frontier.
Experimental Setup and Datasets
The authors evaluated LGE on several "hard-exploration" benchmarks to test its robustness across different modalities:
- Continuous Maze: A 2D environment where the agent must navigate complex corridors.
- Robotic Environment: A simulated Franka robot arm (via
panda-gym) interacting with objects, featuring extremely sparse rewards. - Atari 2600: Specifically Montezuma’s Revenge and Pitfall, two games famous in the RL community for being nearly impossible to solve with naive random exploration.
Key Insights and Results
The most significant insight from LGE is the death of the "cell." Discrete partitioning is not strictly necessary for Go-Explore's success. A continuous latent space, paired with a robust density estimator, can identify the "frontier" of knowledge more flexibly than a human-designed grid. Furthermore, by using latent distance to prune subgoals, the agent becomes more robust to environmental stochasticity, avoiding the trap of trying to replicate frame-perfect movements when simpler paths exist.
Representation choice is critical to this success. For instance, VQ-VAEs were essential for handling the high-dimensional visual inputs of Atari games, while inverse dynamics proved more effective for robotic joint-space tasks.
Performance Highlights: * Superior Exploration: In the Continuous Maze and Robotic environments, LGE significantly outperformed standard Go-Explore and other curiosity-based methods (like ICM or SAC+Surprise). * Atari Success: On Montezuma’s Revenge, LGE discovered a high number of states (around 2,500) very quickly. While this is lower than the "full-knowledge" version of Go-Explore (which relies on domain hacks), LGE outperforms all other "pure exploration" algorithms that lack human-provided state definitions. * Ablation Proof: The authors demonstrated that "exploring further" after reaching a goal is crucial. Without the final random exploration phase, the agent's knowledge acquisition plateaued.
Limitations and Future Work
While LGE represents a major step forward for automated exploration, it has limitations. Currently, LGE assumes the agent always starts from the same initial state. In procedurally generated worlds where the starting point changes, the "return" phase might struggle.
Additionally, the "goal-achievement" function relies on a simple distance threshold in latent space. More sophisticated success detectors could make the agent much more efficient. Finally, LGE is only as good as its latent map. If the representation learning fails to capture a crucial detail (like a small key on a screen), the agent remains blind to that aspect of the environment. Exploring more informative representation learning techniques remains a primary path for future research.
Summary updated