Abstract
We study interactive imitation learning, where a learner interactively queries a demonstrating expert for action annotations, aiming to learn a policy that has performance competitive with the expert, using as few annotations as possible. We focus on the general agnostic setting where the expert demonstration policy may not be contained in the policy class used by the learner. We propose a new oracle-efficient algorithm MFTPL-P (abbreviation for Mixed Follow the Perturbed Leader with Poisson perturbations) with provable finite-sample guarantees, under the assumption that the learner is given access to samples from some ``explorative'' distribution over states. Our guarantees hold for any policy class, which is considerably broader than prior state of the art. We further propose Bootstrap-Dagger, a more practical variant that does not require additional sample access. Empirically, MFTPL-P and Bootstrap-Dagger notably surpass online and offline imitation learning baselines in continuous control tasks.
Introduction
In Imitation Learning (IL), a learner attempts to map states to actions based on expert demonstrations. A fundamental challenge in this field is covariate shift: minor errors by the learner lead to states the expert never visited, causing compounding errors that eventually lead to system failure. Interactive methods like DAgger address this by allowing the learner to query the expert for advice on new states.
However, most existing theoretical frameworks for interactive IL rely on the realizability assumption—the belief that the expert's policy exists within the learner's chosen model class. In practice, experts are often far more complex than the learner's model. This paper focuses on the agnostic setting, where the model is acknowledged to be imperfect, and seeks to provide provably efficient learning methods for this realistic scenario.
Proposed Methods
The authors introduce two primary solutions to tackle agnostic imitation learning:
- MFTPL-P (Mixed Follow the Perturbed Leader with Poisson perturbations): This algorithm treats imitation learning as an online game. It incorporates Poisson-sampled perturbations from a "covering distribution" (a set of states covering potential learner trajectories) to ensure robust exploration. It is oracle-efficient, meaning it can utilize any standard offline classification algorithm as a building block.
- BOOTSTRAP-DAGGER (BD): Recognizing that a covering distribution is often unavailable in practice, the authors developed BD. This variant uses bootstrapping to maintain an ensemble of models, each trained on different random subsets of data. By using the ensemble's average during data collection, the agent explores the state space more effectively, specifically gathering high-quality "recovery" data to handle mistakes.
Experimental Results
The algorithms were evaluated using continuous control environments from OpenAI Gym, including Ant, Half-Cheetah, Hopper, and Walker2D. The tests specifically targeted "non-realizable" settings, where a simple linear model was tasked with mimicking a complex neural network expert.
Key Insights
- Superior Performance: In non-realizable settings, MFTPL-P and BOOTSTRAP-DAGGER significantly outperformed standard DAgger and Behavior Cloning baselines.
- Ensemble Efficiency: Results indicated that an ensemble size of just five (BD-5) provides a "sweet spot," capturing most performance gains while maintaining computational efficiency.
- Enhanced Exploration: Visualization confirmed that BOOTSTRAP-DAGGER explores the state space more effectively than single-model approaches, targeting areas where the agent is likely to make mistakes and learning how to recover from them.
Conclusion
By proving that MFTPL-P works for any policy class, this research moves imitation learning toward more realistic, agnostic scenarios. The introduction of BOOTSTRAP-DAGGER provides a practical, ensemble-based tool for robust data collection in complex tasks. Future work will focus on developing global optimality guarantees that do not require pre-defined covering distributions.
Summary updated