Introduction
In Reinforcement Learning (RL), designing reward functions for every conceivable task is tedious and scales poorly. Unsupervised Skill Discovery (USD) aims to solve this by allowing agents to "play" in an environment, learning a diverse set of useful behaviors (skills) before a specific task is even assigned.
However, current USD methods often exhibit a "laziness" problem:
- Mutual Information (MI) methods frequently result in static, boring skills because they prioritize predictability and invariance.
- Distance-Maximizing Skill Discovery (DSD) methods are better at learning dynamic movements, but they tend to focus only on the easiest elements to control.
For example, in a room with a robot arm and a ball, a standard DSD agent might spend all its time waving its arm (which is easy to control) and completely ignore the ball (which is harder to interact with). This leads to a narrow set of skills that fail when the agent actually needs to manipulate objects in the real world. SUSD (Structured Unsupervised Skill Discovery) tackles this by breaking down complex environments into individual "factors" and forcing the agent to master interactions with harder-to-control elements.
The SUSD Framework
SUSD introduces two primary innovations to the DSD framework to ensure a richer, more comprehensive library of skills.
1. State Factorization
Instead of treating the entire environment as one monolithic vector of numbers, SUSD explicitly recognizes the compositional structure of the world. It decomposes the state space into independent factors—such as a robot’s joints, a cube, or a button. It then assigns specific latent skill variables to each factor. This structural inductive bias allows the agent to learn "localized" skills for specific entities, disentangling behaviors so that moving an arm isn't tangled up with turning on a stove.
2. Curiosity-Based Factor Weighting
To prevent the agent from ignoring difficult factors, SUSD employs a density model to track learning progress.
If the agent’s transitions for a specific factor (like the ball) are "surprising" or rare (low probability), the system assigns a higher weight to the intrinsic reward for that factor. This effectively steers the agent’s curiosity toward underexplored or harder-to-master parts of the environment. Without this curiosity-based weighting, agents typically reach a "plateau of ease"—mastering simple movements and stopping exploration. SUSD’s weighting mechanism acts as an automated curriculum, constantly pushing the agent toward the frontier of its own competence.
Experimental Evaluation and Results
The authors evaluated SUSD across five distinct RL environments, ranging from simple to highly complex:
- Ant & HalfCheetah: Standard MuJoCo benchmarks demonstrating that SUSD remains competitive even in "unfactorized" (single-agent) settings.
- 2D-Gunner: A navigation and shooting task involving an agent, ammo, and targets.
- Multi-Particle: A complex domain where a controller must manage 10 different agents interacting with 10 different stations.
- Kitchen: A high-dimensional environment featuring a robotic arm and multiple objects (butter, meatball, stove, pot). This serves as the primary stress test for discovering compositional skills.
Key Outcomes
- Superior Downstream Performance: In the Kitchen and Multi-Particle environments, SUSD significantly outperformed state-of-the-art baselines (like METRA, CSD, and DUSDi) on downstream tasks. In some Kitchen tasks, SUSD achieved high success rates while baselines remained near zero.
- Accidental Task Completion: Because SUSD explores so thoroughly and specifically, the agents often "accidentally" solve complex tasks (like putting butter in a pot) during the unsupervised phase, whereas baseline methods almost never do.
- Comprehensive State Coverage: SUSD achieved much higher state coverage, visiting more unique areas of the environment. Specifically, it showed vastly improved "Worst Agent" coverage in multi-agent settings, proving it doesn't leave any factor behind.
- Clean Factor Decoding: The learned embeddings were shown to be highly disentangled; a simple linear model could reconstruct the original state factors from them with very low error.
Limitations and Future Work
Currently, SUSD assumes the user provides the "partitioning" of the state (e.g., prior knowledge that "these 3 numbers represent the ball, these 10 represent the arm"). Furthermore, the paper notes a sensitivity to over-factorization: if the state is broken into too many tiny pieces, the agent might lose the context of how objects interact, leading to a drop in performance.
A logical next step for this research is integrating SUSD with representation learning to automatically discover these factors from raw pixels, making the system truly end-to-end and applicable to more unstructured, real-world environments.
Summary updated