Abstract
Acquiring abilities in the absence of a task-oriented reward function is at the frontier of reinforcement learning research. This problem has been studied through the lens of empowerment, which draws a connection between option discovery and information theory. Information-theoretic skill discovery methods have garnered much interest from the community, but little research has been conducted in understanding their limitations. Through theoretical analysis and empirical evidence, we show that existing algorithms suffer from a common limitation -- they discover options that provide a poor coverage of the state space. In light of this, we propose 'Explore, Discover and Learn' (EDL), an alternative approach to information-theoretic skill discovery. Crucially, EDL optimizes the same information-theoretic objective derived from the empowerment literature, but addresses the optimization problem using different machinery. We perform an extensive evaluation of skill discovery methods on controlled environments and show that EDL offers significant advantages, such as overcoming the coverage problem, reducing the dependence of learned skills on the initial state, and allowing the user to define a prior over which behaviors should be learned.
Introduction: The Vicious Cycle of Skill Discovery
In unsupervised reinforcement learning, agents aim to discover useful behaviors (skills) without external rewards. A popular framework for this is maximizing the Mutual Information (MI) between states and latent skills, often referred to as "empowerment." However, current state-of-the-art methods like DIAYN and DADS often fail to explore complex environments effectively.
The authors identify a fundamental "pathological loop": these algorithms attempt to discover and learn skills simultaneously. Because the agent's initial policy is random, it only visits a small region near its starting point. The MI objective then encourages the agent to make these early, easy-to-reach behaviors distinguishable. This "commits" the agent to a narrow region of the state space, preventing it from ever discovering more distant or difficult-to-reach areas, such as the second room in a bottleneck maze.
The EDL Paradigm
To break this cycle, the proposed Explore, Discover and Learn (EDL) method decouples the process into three distinct, sequential stages:
- Exploration: The agent first explores the environment to obtain a representative distribution of states $p(s)$. This can be achieved through an exploration policy like State Marginal Matching (SMM). The goal is to achieve broad coverage before defining any skills.
- Skill Discovery: With the explored states in hand, the agent uses a Variational Autoencoder (VAE) to model the state distribution. Specifically, a Vector Quantized VAE (VQ-VAE) assigns latent codes ($z$) to different regions of the state space, effectively "naming" potential skills based on the full extent of the explored area.
- Skill Learning: Finally, the agent learns a policy $\pi(a|s, z)$ to reach the states associated with each latent code. Techniques like Sibling Rivalry are employed to help the agent escape local optima, ensuring it can navigate complex topologies to reach the targets set during discovery.
Experimental Results
The effectiveness of EDL was evaluated in several 2D maze environments, including a "Bottleneck Maze" where two rooms are connected by a narrow passage.
State Space Coverage
A key result is the comparison of state coverage. Traditional MI-based baselines (Forward and Reverse MI) tend to cluster all discovered skills in the first room, failing to cross the bottleneck. In contrast, EDL successfully discovers skills that span the entire environment by leveraging the data collected during the initial exploration phase.
Robustness and Priors
Beyond coverage, EDL demonstrates two significant advantages:
- Initial State Independence: Unlike baselines that are highly sensitive to the starting position, EDL's reliance on a global exploration phase makes the learned skills robust to the agent's spawn point.
- Incorporating Priors: Because discovery happens on a fixed set of states, users can provide a "prior" distribution. For example, in a branching tree maze, EDL can be directed to learn skills only in specific branches by providing states from those regions to the VAE.
Conclusion
EDL addresses a critical limitation in unsupervised skill discovery by decoupling exploration from learning. By ensuring the agent "knows where it can go" before deciding "what it should do," EDL achieves superior state-space coverage and provides a flexible framework for incorporating human knowledge into the discovery process. Future work involves scaling these VAE-based discovery mechanisms to high-dimensional observations and complex robotic control tasks.
Summary updated