Offline Imitation Learning by Controlling the Effective Planning Horizon
Hee-Jun Ahn, Seong-Woong Shim, Byung-Jun Lee
TL;DR
The paper tackles offline imitation learning with limited expert demonstrations and suboptimal offline data, identifying that naïvely reducing the discount factor $\gamma$ can worsen performance due to distribution mismatches in discriminator training. It derives a KL-based visitation-matching objective for offline IL, then shows how to compute an optimal weight $\zeta^*$ and a dual variable $\nu$ to obtain a practical objective; a discriminator trained on discounted versus undiscounted data motivates the need for IGI. To address this, the authors introduce Inverse Geometric Initial state sampling (IGI), which reweights initial states so that the expert and empirical visitation distributions align, enabling stable learning when $\gamma$ is varied. Empirically, IGI improves over existing offline IL methods like DemoDICE and SMODICE on both finite/discrete and continuous MuJoCo tasks across multiple discount factors and data compositions, validating the theoretical trade-offs and underscoring the method’s robustness and practical impact for offline IL.
Abstract
In offline imitation learning (IL), we generally assume only a handful of expert trajectories and a supplementary offline dataset from suboptimal behaviors to learn the expert policy. While it is now common to minimize the divergence between state-action visitation distributions so that the agent also considers the future consequences of an action, a sampling error in an offline dataset may lead to erroneous estimates of state-action visitations in the offline case. In this paper, we investigate the effect of controlling the effective planning horizon (i.e., reducing the discount factor) as opposed to imposing an explicit regularizer, as previously studied. Unfortunately, it turns out that the existing algorithms suffer from magnified approximation errors when the effective planning horizon is shortened, which results in a significant degradation in performance. We analyze the main cause of the problem and provide the right remedies to correct the algorithm. We show that the corrected algorithm improves on popular imitation learning benchmarks by controlling the effective planning horizon rather than an explicit regularization.
