Unsupervised Skill Discovery Through Skill Regions Differentiation

Ting Xiao, Jiakun Zheng, Rushuai Yang, Kang Xu, Qiaosheng Zhang, Peng Liu, Zhe Wang, Chenjia Bai

TL;DR

This paper introduces SD3, a novel unsupervised reinforcement learning (RL) method that discovers diverse and useful skills by differentiating state densities between skills and encouraging exploration within each skill. SD3 achieves state-of-the-art performance on challenging benchmarks, demonstrating its effectiveness in learning transferable skills for downstream tasks.

What Problem Does This Paper Address?

Traditional Reinforcement Learning (RL) heavily relies on carefully designed reward functions, which are often labor-intensive and domain-specific. This limits the agent's ability to generalize to new tasks. Unsupervised RL aims to overcome this by learning useful behaviors without external rewards, enabling faster adaptation. However, existing unsupervised RL methods face challenges: entropy-based exploration struggles in high-dimensional state spaces (like images), and empowerment-based methods using Mutual Information (MI) can lead to limited state coverage and sub-optimal skill discovery. This paper addresses the need for an unsupervised RL method that can effectively discover diverse skills in complex environments, leading to better generalization.

Methods

The core of SD3 lies in its novel skill discovery objective: State Density Deviation (SD3). Instead of just maximizing mutual information between states and skills, SD3 encourages each skill's state density to deviate significantly from the densities of other skills. This promotes inter-skill diversity and leads to more discriminative skills.

To achieve this, SD3 employs a Conditional Variational Auto-Encoder (CVAE) for state density estimation. A key innovation here is the use of soft modularization within the CVAE. This allows the network to dynamically combine modules for different skills, enabling stable density estimation even when skills have very different state occupancies, which is crucial for high-dimensional spaces.

Furthermore, SD3 incorporates an intrinsic reward for intra-skill exploration. This reward is derived from the CVAE's learned latent space and is designed to resemble count-based exploration. This encourages each skill to explore novel states within its learned representation, preventing skill collapse and improving overall state coverage.

Datasets

The paper evaluates SD3 on several benchmark environments:

  • Maze: A 2D maze environment used for visualizing learned skills.
  • DeepMind Control Suite (DMC): Used for state-based continuous control tasks.
  • Unsupervised Reinforcement Learning Benchmark (URLB): Both state-based and pixel-based versions are used. The pixel-based URLB is particularly relevant for demonstrating scalability in large-scale, image-based environments.

Key Insights and Ideas

  • State Density Deviation as a Discriminative Skill Objective: The paper argues that directly maximizing the deviation of state densities between skills is a more effective way to learn discriminative skills than traditional MI-based approaches, especially in complex state spaces.
  • Soft Modularization for Robust Density Estimation: The soft modularization technique in the CVAE is crucial for handling the diverse state occupancies of different skills, a common bottleneck in density estimation for high-dimensional data.
  • Latent Space Exploration for Intra-Skill Novelty: Leveraging the learned latent space of the CVAE for an intrinsic reward provides an efficient way to encourage exploration within each skill, bridging the gap between skill discovery and effective exploration.
  • Balancing Exploration and Skill Diversity: SD3 strikes a balance between learning distinct skills and ensuring sufficient exploration, a critical challenge in unsupervised RL.

Key Results

  • State-of-the-Art Performance: SD3 achieves the highest Interquartile Mean (IQM) score (77.37%) on the state-based URLB, outperforming other competence-based and pure exploration methods. It also shows a significantly smaller optimality gap.
  • Scalability to Pixel-Based Environments: SD3 demonstrates strong performance on pixel-based URLB tasks, indicating its scalability to large-scale, image-based problems.
  • Robustness: Experiments show that SD3's UCB-style exploration bonus is more robust to noisy environments compared to entropy-based exploration methods.
  • Qualitative Improvements: Visualizations in maze environments show SD3 learning more distinct and exploratory skills compared to baselines like DIAYN and DADS. In DMC, SD3 learns dynamic and valuable skills that enable quick adaptation.

Limitations and Future Work

  • Discrete Skill Spaces: The current soft modularization architecture is limited to discrete skill spaces. The authors suggest extending this to continuous skill spaces.
  • Theoretical Analysis for Tabular MDPs: The theoretical analysis of the exploration bonus relies on the assumption of tabular MDPs. Extending this to more complex environments is a future direction.
  • LLM Integration: The authors express interest in extending their skill discovery ideas to Large Language Model (LLM)-based agents for learning meaningful skills in more complex environments.

Summary updated

BibTeX
@article{xiao2026unsupervised,
  author = {Ting Xiao and Jiakun Zheng and Rushuai Yang and Kang Xu and Qiaosheng Zhang and Peng Liu and Zhe Wang and Chenjia Bai},
  title = {{Unsupervised Skill Discovery Through Skill Regions Differentiation}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2026},
  doi = {10.1109/tnnls.2025.3613857},
}
Figure