Abstract
Adversarial Imitation Learning (AIL) methods, such as Generative Adversarial Imitation Learning (GAIL), are recognized for their sample efficiency but are frequently plagued by training instability and "survival bias." This paper presents Support-weighted Adversarial Imitation Learning (SAIL), a framework that stabilizes the training process by weighting adversarial rewards with a confidence score derived from expert policy support estimation. Our results demonstrate that SAIL achieves state-of-the-art performance and enhanced robustness across standard benchmark control tasks, successfully addressing common failure modes in adversarial imitation.
Introduction
Imitation learning (IL) seeks to train agents to replicate expert behavior from a limited set of demonstrations. While Adversarial Imitation Learning (AIL) approaches treat this as a distribution-matching problem and offer high sample efficiency, they face two significant challenges. First, training instability occurs when the discriminator easily distinguishes between agent and expert in sparse data regions, leading to vanishing rewards. Second, survival bias arises because non-negative rewards in goal-oriented tasks can encourage agents to simply "stay alive" rather than complete the objective.
While support estimation methods like Random Expert Distillation (RED) offer stability, they often underperform when expert data is sparse. SAIL aims to bridge this gap by combining the exploratory advantages of AIL with the stability of support estimation.
Methodology
The SAIL framework unifies adversarial rewards with support estimation by using the latter as a confidence score. The reward function is defined as:
$$r_{sail}(s, a) = r_{red}(s, a) \cdot \hat{r}_{gail}(s, a)$$
Here, $r_{red}(s, a)$ provides a support estimation (close to 1 for in-distribution pairs, near 0 otherwise), and $\hat{r}_{gail}(s, a)$ is a bounded adversarial reward ($1 - D(s,a)$). This bounding ensures that neither signal dominates. When an agent enters an unknown state space, the $r_{red}$ multiplier effectively masks unreliable adversarial rewards, guiding the agent back toward the expert distribution. The policy is optimized using Trust Region Policy Optimization (TRPO).
Experimental Setup
The proposed method was evaluated on several benchmarks:
- MuJoCo Control Tasks: Standard environments including Hopper, Reacher, HalfCheetah, Walker2d, Ant, and Humanoid. To simulate data scarcity, expert trajectories were sub-sampled (taking only every 20th sample).
- Lunar Lander (OpenAI Gym): A "no-terminal" setting was used to specifically test for survival bias, utilizing 10 human demonstrations.
Results and Discussion
SAIL demonstrates superior stability and performance across the MuJoCo suite. As shown in the training curves (Figure 1), SAIL-b (the bounded version) consistently reaches higher rewards with less variance than standard GAIL.
Quantitative results (Table 1) further highlight SAIL's robustness. In the complex Humanoid environment, SAIL-b achieved a score of $10589.6 \pm 52.2$, significantly outperforming GAIL ($8781.2 \pm 3112.6$) and exhibiting much lower variance.
Beyond performance, SAIL effectively mitigates survival bias. In the "no-terminal" Lunar Lander task, where GAIL failed by merely hovering (score: $-69.33 \pm 79.76$), SAIL-b successfully learned to land and stop, matching expert performance (score: $256.83 \pm 20.99$).
Conclusion
SAIL provides a robust framework for adversarial imitation by integrating support estimation as a confidence weight. This approach not only stabilizes training in sparse data regimes but also addresses the prevalent issue of survival bias. While the current non-negative reward structure still allows for some minor oscillations in specific tasks, SAIL represents a significant step forward in making AIL methods more reliable for complex control problems. Future work will explore the implications of non-negative rewards and the integration of SAIL with other AIL enhancements.
Summary updated