Diffusing States and Matching Scores: A New Framework for Imitation Learning
Runzhe Wu, Yiding Chen, Gokul Swamy, Kianté Brantley, Wen Sun
TL;DR
This paper presents SMILING, a non-adversarial imitation-learning framework that replaces discriminator training with diffusion-score matching by introducing the Diffusion Score Divergence (DS Divergence) to compare expert and learner state distributions. It pre-trains an expert score function and alternates with learner-score updates and RL to minimize a squared-score difference along a forward diffusion process, achieving a zero-sum game that follows Follow-the-Leader updates. The authors prove first- and second-order instance-dependent regret bounds that scale linearly with the horizon and depend on score-estimation and RL errors, plus a misspecification term, demonstrating reduced compounding errors relative to offline or GAN-based IL. Empirically, SMILING outperforms GAN-style baselines and discriminator-free methods on several continuous-control tasks, including humanoid locomotion and obstacle navigation, with state-only demonstrations and with state-action data, highlighting robustness and data efficiency. These contributions suggest diffusion-score matching as a stable, expressive alternative for IRL with practical impact on real-world control problems.
Abstract
Adversarial Imitation Learning is traditionally framed as a two-player zero-sum game between a learner and an adversarially chosen cost function, and can therefore be thought of as the sequential generalization of a Generative Adversarial Network (GAN). However, in recent years, diffusion models have emerged as a non-adversarial alternative to GANs that merely require training a score function via regression, yet produce generations of higher quality. In response, we investigate how to lift insights from diffusion modeling to the sequential setting. We propose diffusing states and performing score-matching along diffused states to measure the discrepancy between the expert's and learner's states. Thus, our approach only requires training score functions to predict noises via standard regression, making it significantly easier and more stable to train than adversarial methods. Theoretically, we prove first- and second-order instance-dependent bounds with linear scaling in the horizon, proving that our approach avoids the compounding errors that stymie offline approaches to imitation learning. Empirically, we show our approach outperforms both GAN-style imitation learning baselines and discriminator-free imitation learning baselines across various continuous control problems, including complex tasks like controlling humanoids to walk, sit, crawl, and navigate through obstacles.
