Abstract
Traditional Imitation Learning (IL) often focuses on mimicking a single expert trajectory, which limits the behavioral diversity of the learned agent. This paper introduces Wasserstein Quality Diversity Imitation Learning (WQDIL), a framework that enables agents to learn a wide variety of high-performing behaviors from just a handful of expert demonstrations. By combining Wasserstein Auto-Encoders (WAE) with a novel "single-step" exploration bonus, WQDIL overcomes common pitfalls such as training instability and "behavior overfitting."
Introduction
In complex robotic tasks, achieving a single optimal solution is often insufficient. Instead, researchers seek Quality Diversity (QD)—an archive of diverse, high-performing strategies (e.g., different walking gaits). However, merging IL with QD is challenging due to two primary issues:
- Training Instability: Adversarial IL methods like GAIL are prone to mode collapse and exploration failure.
- Behavior Overfitting: With limited expert data, learned reward functions often become too narrow, punishing the agent for discovering valid behaviors not present in the demonstrations.
Methodology
WQDIL addresses these challenges through a two-pronged strategy designed to stabilize learning and encourage exploration.
Stabilizing with Wasserstein Auto-Encoders (WAE)
Rather than using a standard GAN-based discriminator, WQDIL employs a WAE to map state-action pairs into a latent space. Adversarial training is then conducted within this latent space using the Wasserstein distance. This approach provides a smoother, more stable training signal, preventing the discriminator from overpowering the generator too early.
Mitigating Overfitting with Single-Step Archive Exploration (SSAE)
To prevent the agent from merely copying the few provided demonstrations, the authors introduce Single-Step Archive Exploration (SSAE). This reward bonus utilizes a "Markovian Measure Proxy" to categorize behavior at every time step. By rewarding the agent for exploring movement patterns that are underrepresented in the archive, SSAE provides a dense "curiosity" signal that drives the discovery of new behaviors.
Experimental Setup
The framework was evaluated on three MuJoCo continuous control benchmarks: HalfCheetah, Walker2d, and Humanoid. To test the system's robustness under data scarcity, the agents were provided with only four diverse expert demonstrations per environment.
Key Results
WQDIL significantly outperformed state-of-the-art baselines (GAIL, PWIL, AIRL) across multiple metrics:
- QD-Score: On the challenging Humanoid task, WQDIL achieved a QD-Score nearly double that of the next best method.
- Archive Coverage: The method consistently filled more of the behavior archive, discovering a wider variety of successful gaits.
- Sample Efficiency: In the HalfCheetah task, WQDIL reached high performance levels significantly faster than competitors.
Discussion and Insights
A critical insight from this work is the importance of signal density. By moving from episode-level outcomes to a single-step measure, WQDIL provides a more immediate understanding of how specific movements contribute to diversity. Furthermore, training in the latent space helps maintain a structured manifold, which is essential for stable adversarial learning. Notably, the agent often outperforms the expert demonstrations in terms of diversity, discovering high-performing regions of the behavior space that were not present in the original data.
Limitations and Future Work
While WQDIL represents a significant advancement, it relies on "Markovian Measure Proxies"—surrogate functions that may be difficult to define for more abstract tasks like object manipulation. Additionally, the computational overhead of training an auto-encoder and latent discriminator is non-trivial. Future research may explore applying this framework to multi-agent systems or scenarios involving sub-optimal experts.
Summary updated