Task-Relevant Adversarial Imitation Learning
Konrad Zolna, Scott Reed, Alexander Novikov, Sergio Gomez Colmenarejo, David Budden, Serkan Cabi, Misha Denil, Nando de Freitas, Ziyu Wang
TL;DR
The paper identifies a core flaw in adversarial imitation learning: discriminators can exploit spurious visual-feature associations with expert labels, yielding uninformative rewards and poor task performance. It introduces Task-Relevant Adversarial Imitation Learning (TRAIL), which constrains the discriminator using constraining sets to focus on task-relevant information and suppress spurious cues, implemented via an accuracy-based constraint in the discriminator loss. Across pixel-based robotic manipulation tasks, TRAIL outperforms behavioral cloning, conventional GAIL, and off-policy baselines, showing robustness to appearance changes and distractors and demonstrating strong generalization. This approach offers a practical, data-driven path to reliable imitation learning from vision without task rewards, with broad implications for real-world robotics and beyond.
Abstract
We show that a critical vulnerability in adversarial imitation is the tendency of discriminator networks to learn spurious associations between visual features and expert labels. When the discriminator focuses on task-irrelevant features, it does not provide an informative reward signal, leading to poor task performance. We analyze this problem in detail and propose a solution that outperforms standard Generative Adversarial Imitation Learning (GAIL). Our proposed method, Task-Relevant Adversarial Imitation Learning (TRAIL), uses constrained discriminator optimization to learn informative rewards. In comprehensive experiments, we show that TRAIL can solve challenging robotic manipulation tasks from pixels by imitating human operators without access to any task rewards, and clearly outperforms comparable baseline imitation agents, including those trained via behaviour cloning and conventional GAIL.
