Introduction
In standard Reinforcement Learning (RL), agents learn by interacting with an environment. Offline RL changes this paradigm by forcing the agent to learn strictly from a pre-collected dataset, which is generally safer and more cost-effective. However, real-world offline datasets are often collected without reward labels and contain a messy mixture of different behaviors—such as different human operators solving a task in entirely different ways.
Most offline RL methods attempt to collapse this rich, multi-modal data into a single "best" policy. If the goal is to learn a variety of skills from unlabeled data (unsupervised skill learning), existing methods struggle. They either suffer from out-of-distribution (OOD) errors—where the agent tries to execute behaviors not supported by the data and fails—or they fail to explicitly encourage diversity, resulting in a policy that only knows how to execute a single behavior.
To address this, researchers propose DIDI (DIffusion-guided DIversity), a novel approach for offline behavioral generation that extracts a diverse, controllable set of skills from reward-free, multi-modal offline data without sacrificing reliability.
Methodology
DIDI splits the problem of unsupervised skill learning into a clever two-stage process:
- Learn the Data Distribution (The Prior): First, the authors train a standard diffusion probabilistic model on the offline dataset. This model learns the underlying distribution of the data, capturing all the distinct behaviors present.
- Learn the Contextual Policy: Next, they train a separate policy network conditioned on a latent "skill" variable $z$. The goal is to maximize the mutual information between the skill $z$ and the generated trajectory, which explicitly encourages behavioral diversity.
- Diffusion-Guided Regularization: To prevent the policy from generating OOD behaviors, DIDI uses the pre-trained diffusion model to regularize the policy. Instead of relying on the slow, iterative denoising process of a diffusion model during inference, DIDI uses the diffusion model's forward noising process to create "proxy targets" during training.
This allows DIDI to distill the rich, multi-modal knowledge of a diffusion model into a standard, fast, single-forward-pass neural network policy.
Experimental Setup
The authors evaluated DIDI across four distinct decision-making domains:
- Push: A custom task derived from the IBC benchmark where a robotic agent pushes blocks (T-shape, F-shape, 7-shape) to various positions.
- Kitchen: A robotic manipulation environment involving a Franka arm interacting with objects, utilizing a dataset of 566 human demonstrations.
- Humanoid: A high-dimensional locomotion task (derived from PHC) where a bipedal agent learns complex movements like jumping, crouching, and walking.
- D4RL (Gym-MuJoCo): Standard offline RL benchmark tasks (HalfCheetah, Hopper, Walker2d) used to evaluate performance when extrinsic rewards are introduced.
Key Insights
- Fast Inference via Distillation: Diffusion models are excellent at modeling complex distributions but are notoriously slow at inference because they require dozens of iterative denoising steps. DIDI bypasses this by using the diffusion model only as a training prior, allowing the actual agent to act instantly using a single-forward-pass network.
- Solving the "Chicken-and-Egg" Target Problem: If you try to use a Variational Autoencoder (VAE) as a prior to guide skill learning, the target the policy tries to hit depends entirely on the policy's own output. This feedback loop often causes the policy to collapse into a single behavior. DIDI solves this because the end of a diffusion noising process is always a fixed Gaussian distribution, providing a stable anchor that balances training stability with behavioral diversity.
- A "Generalist" Skill Space: Because DIDI maps behaviors to a continuous latent space, the learned skills are highly flexible. The authors demonstrated skill stitching (e.g., commanding a robot to walk, then crouch, then walk again without falling over) and skill interpolation (blending a "walk forward" skill and a "walk left" skill to achieve a diagonal walk).
Key Results
- Superior Diversity: DIDI significantly outperformed baseline methods (like VAE-DI and k-means-DI) in generating diverse behaviors. For example, on the Push F task, DIDI achieved a diversity variance score of 12.2, compared to VAE-DI's 6.5.
- Competitive Reward-Guided Performance: When extrinsic rewards were available (tested on D4RL), DIDI matched the performance of standard offline RL algorithms like CQL and Decision Transformer (averaging ~75.7 across tasks) while maintaining a diverse set of optimal behaviors rather than just one.
- Better Downstream Adaptation: In sparse-reward fine-tuning tests where new obstacles were added to the Push environment, DIDI's diverse skill space provided a massive head start. Fine-tuning DIDI's skill embeddings achieved a 58% success rate after 50 episodes, compared to just 18% when fine-tuning a standard single optimal policy.
Limitations and Future Work
While highly effective, DIDI's architecture requires a two-stage training pipeline (training the diffusion prior, then training the policy), which adds computational overhead during the training phase compared to simpler behavioral cloning methods. Furthermore, like all offline RL methods, the quality and diversity of the learned skills are fundamentally bottlenecked by the coverage of the offline dataset.
For future work, the authors note that the generalist nature of the learned skill space makes it an excellent candidate for continuous online learning. Future research could explore how agents initialized with DIDI can autonomously expand and refine their skill repertoires once deployed in the real world.
Summary updated