NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Direct then Diffuse: Incremental Unsupervised Skill Discovery for State Covering and Goal Reaching

Pierre-Alexandre Kamienny, Jean Tarbouriech, Sylvain Lamprier, Alessandro Lazaric, Ludovic Denoyer

Overview

UPSIDE (UnsuPervised Skills that dIrect then DiffusE) is a novel reinforcement learning framework designed to discover diverse, useful behaviors without relying on any external reward. By decoupling skills into a "directed" phase to reach a specific region and a "diffusing" phase to explore it locally—and then organizing these skills into an ever-growing tree—the agent achieves superior environment coverage. This approach allows it to solve complex downstream tasks far more efficiently than previous state-of-the-art methods.

The Challenge of Unsupervised Skill Discovery

In Unsupervised Reinforcement Learning (URL), agents explore an environment without specific reward signals to learn foundational behaviors, accelerating their ability to solve future tasks. A popular approach is to maximize the Mutual Information (MI) between a latent variable (a "skill") and the states the agent reaches.

However, existing MI-based methods face a frustrating trade-off:

  1. Coverage vs. Directedness: Highly random policies cover more ground but lack "directedness" (they cannot reliably return to a specific spot). Conversely, highly directed policies are easy to distinguish but often cluster redundantly around the starting point.
  2. Fixed Horizons: Most methods require pre-defining the number of skills to learn and the duration of each skill. If the environment features a "bottleneck" (such as a narrow doorway), these fixed-length skills often fail to push through to unexplored areas.

The UPSIDE Methodology

The authors introduce UPSIDE to tackle these limitations through three key innovations:

  • "Direct then Diffuse" Structure: Instead of a single monolithic policy, each skill is split into two phases. First, a directed skill (characterized by low randomness) is trained to reach a specific region. Second, a diffusing part (acting as a random walk) induces local coverage around that region. This mimics human exploration: walking purposefully to a new room, then looking around.
  • A New Constrained Objective: Rather than fixing the number of skills, UPSIDE maximizes the total number of skills it can learn, provided each remains "discriminable" (distinct enough from the others). The authors prove that this constrained approach serves as a lower bound to the original MI objective.
  • Incremental Tree Composition: UPSIDE does not just learn skills from the initial state; it builds a tree. The root is the starting state, edges are directed skills, and nodes are diffusing regions. If a skill successfully reaches a novel area, it becomes a candidate for "expansion," attaching new sub-skills to its endpoint. This allows the agent to reach deeper into the environment over time.
The UPSIDE framework: A directed skill reaches a target region, followed by a diffusing policy for local exploration. Over time, these skills are incrementally composed into a tree to navigate complex environments.

Experimental Setup and Key Insights

The researchers evaluated UPSIDE on several challenging benchmarks, including continuous 2D mazes (like the "Bottleneck Maze" and "U-Maze") and high-dimensional MuJoCo physics simulations (Ant, Half-Cheetah, Walker2d).

Key Insights

  • The Power of Chaining: By treating skills as building blocks in a tree, UPSIDE naturally creates a curriculum. It masters easy, nearby regions before chaining skills together to reach distant, difficult areas.
  • Discriminability as a Filter: The algorithm automatically adds or removes policies based on how well a discriminator network can identify them. This prevents the agent from wasting capacity on redundant behaviors.
  • Grounding Latent Variables: Because the diffusing part "anchors" a skill to a specific cluster of states, the latent variables become meaningful spatial markers, proving highly useful for downstream navigation.

Results

  • Superior Coverage: In the Bottleneck Maze, UPSIDE covered 85.67% of the state space, while the popular baseline DIAYN managed only 30.00%. The incremental tree structure was essential for bypassing the bottleneck and achieving total coverage.
  • Complex Control: In the "Ant" environment, UPSIDE successfully learned to walk to distant quadrants, whereas baselines often learned only to wiggle or flip over near the starting point.
  • Zero-Shot/Few-Shot Success: When tested on sparse-reward goal-reaching tasks (where the agent must find a randomly sampled coordinate it has never been told to visit), UPSIDE achieved significantly higher success rates. On the Ant task, it reached a success rate of nearly 0.8, compared to baselines like TD3 or DIAYN which hovered below 0.4.

Limitations and Future Work

While highly effective, UPSIDE currently relies on having a structured state representation (like x-y coordinates) for its discriminator. Pairing the framework with advanced representation learning for high-dimensional inputs, such as raw pixels, is a logical next step. Additionally, the "diffuse" phase is currently a simple random walk; explicitly training this phase to maximize local entropy could further improve efficiency. Finally, adapting the episodic tree structure to a single, continuous lifetime (non-episodic setting) remains an open challenge for future research.

Summary updated

BibTeX
@inproceedings{kamienny2022direct,
  author = {Pierre-Alexandre Kamienny and Jean Tarbouriech and Sylvain Lamprier and Alessandro Lazaric and Ludovic Denoyer},
  title = {{Direct then Diffuse: Incremental Unsupervised Skill Discovery for State Covering and Goal Reaching}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=wLAXbnQ1p6g},
}
Figure