Imitation Learning from Suboptimal Demonstrations via Meta-Learning An Action Ranker
Jiangdong Fan, Hongcai He, Paul Weng, Hui Xu, Jie Shao
TL;DR
Imitation learning often requires extensive expert demonstrations, which is costly. ILMAR addresses this by learning an action-ranker to weight suboptimal demonstrations through an advantage-based weighting scheme and a meta-goal that bi-linearly optimizes toward an expert-like policy. The method combines weighted behavior cloning with a discriminator-guided weighting, integrated in a bi-level optimization that enforces closeness to the expert via KL-based objectives. Empirical results on MuJoCo locomotion tasks show ILMAR achieving state-of-the-art performance among methods that utilize suboptimal demonstrations, with robust convergence when combined with vanilla loss and meta-goal. The work offers a practical framework for efficiently exploiting suboptimal data in imitation learning and provides theoretical convergence guarantees under mild assumptions.
Abstract
A major bottleneck in imitation learning is the requirement of a large number of expert demonstrations, which can be expensive or inaccessible. Learning from supplementary demonstrations without strict quality requirements has emerged as a powerful paradigm to address this challenge. However, previous methods often fail to fully utilize their potential by discarding non-expert data. Our key insight is that even demonstrations that fall outside the expert distribution but outperform the learned policy can enhance policy performance. To utilize this potential, we propose a novel approach named imitation learning via meta-learning an action ranker (ILMAR). ILMAR implements weighted behavior cloning (weighted BC) on a limited set of expert demonstrations along with supplementary demonstrations. It utilizes the functional of the advantage function to selectively integrate knowledge from the supplementary demonstrations. To make more effective use of supplementary demonstrations, we introduce meta-goal in ILMAR to optimize the functional of the advantage function by explicitly minimizing the distance between the current policy and the expert policy. Comprehensive experiments using extensive tasks demonstrate that ILMAR significantly outperforms previous methods in handling suboptimal demonstrations. Code is available at https://github.com/F-GOD6/ILMAR.
