Adversarial Soft Advantage Fitting: Imitation Learning without Policy Optimization

Paul Barde, Julien Roy, Wonseok Jeon, Joelle Pineau, Chris Pal, Derek Nowrouzezahrai

Summary Adversarial Soft Advantage Fitting (ASAF) simplifies Imitation Learning by completely removing the Reinforcement Learning (RL) loop. By using a "structured discriminator" that directly embeds the agent's policy, the authors turn a traditionally unstable two-step adversarial process into a single, stable optimization that is faster to train and easier to implement.

The Problem: The "Double Loop" of Adversarial Imitation

Imitation Learning (IL) aims to teach an agent how to perform a task by watching expert demonstrations. Historically, this has been done in two primary ways:

  1. Behavioral Cloning (BC): Supervised learning that maps states to actions. It is simple but fails when the agent drifts slightly off-course (the "compounding error" problem).
  2. Inverse Reinforcement Learning (IRL): Learning a reward function from the expert and then using Reinforcement Learning to find the optimal policy.

Modern "Adversarial" methods like GAIL (Generative Adversarial Imitation Learning) combine these by having a discriminator try to distinguish between expert and agent behavior, while a "generator" (the RL agent) tries to fool it. However, this creates a "double loop": you have to train a discriminator and run a full, often brittle RL optimization at every step. This is computationally expensive, hard to tune, and prone to instability.

ASAF: The Structured Discriminator

The core innovation of ASAF is the Structured Discriminator.

In standard GANs, the discriminator is a black-box neural network. In ASAF, the authors define the discriminator using a specific mathematical form based on the probability of trajectories. Crucially, they show that when you look at the ratio of the probability of an expert trajectory versus an agent trajectory, the environment dynamics (the physics of the world) cancel out.

This leaves a discriminator that is defined solely by the policies. By optimizing this discriminator to distinguish between the expert and the agent, you are—mathematically speaking—directly optimizing the agent's policy to match the expert's distribution.

The authors propose three variants to handle different environment types:

  • ASAF: Uses full-length trajectories.
  • ASAF-w: Uses sliding windows of trajectories (better for long episodes).
  • ASAF-1: A transition-wise version that looks at single state-action pairs.

Key Results and Performance

The authors evaluated ASAF across a wide range of standard and complex benchmarks, including Classic Control, Box2D, MuJoCo, and Pommerman.

Monotonic Stability and Simplicity

One of the biggest breakthroughs of ASAF is the stability of its learning curves. Unlike GAIL or AIRL, which often see performance "crash" if trained too long (due to the shifting reward signal in the RL loop), ASAF tends to reach expert performance and stay there. By removing the RL phase, the authors cut implementation complexity and computational overhead roughly in half, eliminating the need to tune a separate RL optimizer inside the imitation loop.

Performance on Classic Control and Box2D tasks

Competitive Performance in Continuous Control

ASAF matched or outperformed state-of-the-art methods like GAIL and AIRL across almost all tested environments. Because it skips the inner RL loop, ASAF often reaches high performance levels with fewer environment interactions than traditional adversarial methods.

Performance on MuJoCo continuous control tasks

Superiority in Discrete Tasks

In the complex Pommerman environment—a high-dimensional, discrete control environment where an agent must navigate a grid, avoid obstacles, and eliminate an opponent—ASAF significantly outperformed all baselines, even when provided with as few as one to five expert demonstrations.

Limitations and Future Work

While highly effective, ASAF has a few limitations:

  • Trajectory Length Sensitivity: The "pure" ASAF (full trajectory) struggles in environments like MuJoCo where episodes are very long or vary in length. In these cases, the windowed version (ASAF-w) is necessary.
  • Initial State Bias: The windowed version (ASAF-w) makes a simplifying assumption that all sub-trajectories have an equal probability of starting, which is technically an approximation.
  • Reward Extraction: While ASAF learns a policy that imitates the expert perfectly, it doesn't explicitly produce a "transferable" reward function in the same way some IRL methods do. The authors suggest exploring how to extract robust rewards from the ASAF discriminator in future work.

Summary updated

BibTeX
@inproceedings{barde2020adversarial,
  author = {Paul Barde and Julien Roy and Wonseok Jeon and Joelle Pineau and Chris Pal and Derek Nowrouzezahrai},
  title = {{Adversarial Soft Advantage Fitting: Imitation Learning without Policy Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=Vi4bt93_TTe},
}
Figure