[Paper Review] DITTO: Offline Imitation Learning with World Models
DITTO is a novel offline imitation learning framework that leverages a learned world model to enable on-policy reinforcement learning within a latent space, using a latent-space intrinsic reward to minimize divergence from expert trajectories. It achieves state-of-the-art performance on Atari environments from pixels alone, outperforming BC and GAIL-based baselines in both sample efficiency and asymptotic performance without online interaction.
For imitation learning algorithms to scale to real-world challenges, they must handle high-dimensional observations, offline learning, and policy-induced covariate-shift. We propose DITTO, an offline imitation learning algorithm which addresses all three of these problems. DITTO optimizes a novel distance metric in the latent space of a learned world model: First, we train a world model on all available trajectory data, then, the imitation agent is unrolled from expert start states in the learned model, and penalized for its latent divergence from the expert dataset over multiple time steps. We optimize this multi-step latent divergence using standard reinforcement learning algorithms, which provably induces imitation learning, and empirically achieves state-of-the art performance and sample efficiency on a range of Atari environments from pixels, without any online environment access. We also adapt other standard imitation learning algorithms to the world model setting, and show that this considerably improves their performance. Our results show how creative use of world models can lead to a simple, robust, and highly-performant policy-learning framework.
Motivation & Objective
- To address covariate shift in offline imitation learning, where distributional shift between expert and learner distributions degrades policy performance.
- To enable on-policy learning without online environment interactions, overcoming safety and practicality constraints in real-world applications.
- To leverage world models as a data-efficient, offline surrogate environment for training policies that match expert behavior.
- To develop a simple, effective intrinsic reward in the world model's latent space that promotes imitation without adversarial training or sparse rewards.
- To demonstrate that world models can provide rich, disentangled representations that support high-performance imitation learning from pixel observations.
Proposed method
- A world model is trained on expert demonstration data to approximate environment dynamics, independent of the expert policy's quality, enabling offline rollouts in a learned dynamics model.
- Expert demonstrations are encoded into trajectories within the world model's latent space, creating a reference for behavioral imitation.
- An intrinsic reward is defined as the L2 distance between the agent's latent trajectory and the expert's latent trajectory, encouraging the agent to stay close to expert behavior.
- On-policy reinforcement learning (e.g., PPO) is applied within the world model using the latent-space reward, enabling the agent to learn from its own rollouts and correct errors over time.
- The method decouples world model learning from policy learning, allowing the world model to be trained on diverse, low-quality expert data as long as it covers the state space.
- Theoretical analysis shows that minimizing latent divergence bounds the difference in expected return between expert and agent in the true environment.
Experimental results
Research questions
- RQ1Can a world model enable on-policy imitation learning in an offline setting, thereby mitigating covariate shift without online interaction?
- RQ2Does a latent-space intrinsic reward based on expert trajectory matching outperform adversarial or sparse reward formulations in pixel-based imitation learning?
- RQ3To what extent can a world model trained on low-quality expert data still support high-performance imitation learning?
- RQ4How does the performance of DITTO compare to standard behavior cloning and GAIL-based methods in the offline setting on pixel-based Atari environments?
- RQ5Can the intrinsic reward mechanism in the latent space provide a stable and effective signal for imitation learning without requiring adversarial training or reward shaping?
Key findings
- DITTO consistently recovers or exceeds expert performance across all tested Atari environments (MsPacman, Qbert, etc.) with no online interaction, even with as few as 4 expert demonstrations.
- In MsPacman and Qbert, DITTO matches or outperforms all baselines in both sample efficiency and final performance, with tight clustering of results suggesting robustness to data quantity.
- D-GAIL exhibited adversarial collapse twice in MsPacman, while DITTO showed no such failure, indicating greater training stability.
- The quality of the data-generating policy (PPO vs. A2C) had minimal impact on world model performance, suggesting that world models generalize well across diverse expert data as long as coverage is sufficient.
- DITTO outperforms standard behavior cloning and GAIL-based baselines adapted to the world model setting, demonstrating superior sample efficiency and asymptotic performance.
- The latent-space intrinsic reward proved effective and stable, avoiding the training difficulties common in adversarial or sparse reward-based IL methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.