[Paper Review] Mitigating Covariate Shift in Imitation Learning via Offline Data Without Great Coverage
This paper proposes MILO, a model-based offline imitation learning framework that mitigates covariate shift using only a static offline dataset with partial coverage of expert trajectories, even when the behavior policy is highly suboptimal. It achieves high-fidelity imitation with minimal expert data—outperforming behavior cloning by successfully imitating expert policies with less than half the expert's performance in the behavior data.
This paper studies offline Imitation Learning (IL) where an agent learns to imitate an expert demonstrator without additional online environment interactions. Instead, the learner is presented with a static offline dataset of state-action-next state transition triples from a potentially less proficient behavior policy. We introduce Model-based IL from Offline data (MILO): an algorithmic framework that utilizes the static dataset to solve the offline IL problem efficiently both in theory and in practice. In theory, even if the behavior policy is highly sub-optimal compared to the expert, we show that as long as the data from the behavior policy provides sufficient coverage on the expert state-action traces (and with no necessity for a global coverage over the entire state-action space), MILO can provably combat the covariate shift issue in IL. Complementing our theory results, we also demonstrate that a practical implementation of our approach mitigates covariate shift on benchmark MuJoCo continuous control tasks. We demonstrate that with behavior policies whose performances are less than half of that of the expert, MILO still successfully imitates with an extremely low number of expert state-action pairs while traditional offline IL method such as behavior cloning (BC) fails completely. Source code is provided at https://github.com/jdchang1/milo.
Motivation & Objective
- To address covariate shift in imitation learning without requiring online environment interactions or a globally covering expert distribution.
- To develop a theoretically grounded, model-based offline IL framework that works even when the behavior policy is suboptimal.
- To demonstrate that partial coverage of expert trajectories in offline data is sufficient for successful imitation.
- To provide a practical algorithm that leverages neural network ensembles and discriminator-based cost functions for robust offline imitation.
- To show that MILO outperforms traditional offline IL methods like behavior cloning under low-expert-data regimes.
Proposed method
- MILO uses a learned dynamics model from a static offline dataset of state-action-next state transitions to simulate expert-like rollouts.
- It employs a discriminator-based cost function that distinguishes expert actions from behavior policy actions using Random Fourier Features.
- The framework incorporates a penalty term based on model ensemble uncertainty to discourage actions in regions of high prediction variance.
- A hybrid objective combines expert imitation (via discriminator loss) and behavior cloning regularization to stabilize learning.
- The policy is optimized using trust region policy optimization (TRPO) with a KL divergence constraint to ensure policy updates remain stable.
- The cost function is dynamically adjusted via a learnable penalty weight balancing expert discrimination and uncertainty regularization.
Experimental results
Research questions
- RQ1Can offline imitation learning achieve high-fidelity imitation when the behavior policy is suboptimal and only partially covers expert state-action pairs?
- RQ2Is it possible to mitigate covariate shift in offline IL without online environment interactions or full coverage of the state-action space?
- RQ3Does a model-based approach with uncertainty-aware cost functions improve generalization in low-data imitation settings?
- RQ4How does MILO compare to behavior cloning and other offline IL methods when expert data is extremely limited?
- RQ5Can MILO generalize across diverse MuJoCo continuous control environments with minimal expert demonstrations?
Key findings
- MILO successfully imitates expert policies even when the behavior policy achieves only 46% of the expert's performance (1505 ± 473 vs. 3248 in Humanoid-v2).
- With only 100 expert state-action pairs, MILO achieves performance comparable to the expert, while behavior cloning fails completely under the same conditions.
- MILO maintains strong performance across all MuJoCo environments, including Hopper, Walker2d, HalfCheetah, Ant, and Humanoid, even with minimal expert data.
- The method generalizes well to single-expert-trajectory inputs, achieving performance matching or nearly matching the expert across all tasks.
- The use of uncertainty-aware cost functions significantly improves robustness, especially in low-data regimes where behavior cloning fails.
- Hyperparameter tuning on Hopper-v2 generalized effectively to other environments, demonstrating the method’s transferability and stability.
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.