TL;DR
This paper introduces OPT-AIL (Optimization-based Adversarial Imitation Learning), the first framework that provides rigorous theoretical guarantees for adversarial imitation learning using general function approximation (like deep neural networks). By decoupling the problem into online reward optimization and optimism-regularized policy learning, the authors bridge a long-standing gap between theory and practice, delivering state-of-the-art empirical performance on continuous control tasks.
What Problem Does This Paper Address?
Imitation learning (IL) allows agents to learn complex behaviors directly from expert demonstrations without a hand-engineered reward function. A dominant paradigm here is Adversarial Imitation Learning (AIL), where a discriminator tries to distinguish between expert and agent behaviors while the agent learns a policy to fool the discriminator.
While AIL achieves massive practical success when powered by deep neural networks, its theoretical foundations have lagged behind. Existing proofs of efficiency are largely restricted to simple tabular settings or linear models. Furthermore, these theoretical algorithms rely on complex exploration mechanisms (like count-based or covariance-matrix bonuses) that are notoriously difficult to implement with deep neural networks. This paper addresses this disconnect by establishing the first provably efficient AIL framework designed for general function approximation.
Methods
The authors introduce OPT-AIL, a framework that decomposes the adversarial game into two cleanly coupled optimization problems:
- Reward Learning via Online Optimization: Because the reward landscape shifts dynamically as the policy updates, the authors frame reward learning as an online stochastic optimization problem. In practice, they solve this using a no-regret algorithm called Follow-the-Regularized-Leader (FTRL) with a gradient penalty.
- Policy Learning via Optimism Regularization: To encourage thorough exploration of the environment without relying on brittle, setting-specific bonuses, the framework introduces an optimism-regularized objective.
Under this framework, they develop two concrete algorithms:
- Model-free OPT-AIL: Learns Q-value functions by minimizing an optimism-regularized Bellman error.
- Model-based OPT-AIL: Learns environmental transition dynamics using optimism-regularized maximum likelihood estimation (MLE) and plans within that learned model.
Datasets
The algorithms were evaluated on 8 continuous control tasks from the feature-based DMControl (DeepMind Control Suite) benchmark:
- Cartpole Swingup, Cheetah Run, Finger Spin, Hopper Hop, Hopper Stand, Walker Run, Walker Stand, and Walker Walk.
The expert demonstrations were generated by training an online DrQ-v2 agent on each task.
Key Insights and Ideas
- The Online Optimization Lens Justifies Practice: Historically, practical deep AIL algorithms have successfully used off-policy data to train reward models, but lacked theoretical justification. This paper shows that off-policy reward learning naturally aligns with FTRL, providing a solid theoretical foundation for why this works.
- Unified Exploration via Optimism: Instead of adding ad-hoc exploration bonuses (like counting state visitations), OPT-AIL simply subtracts a regularization term that biases the optimization toward optimistic value estimates. This elegant mathematical shift scales seamlessly to neural networks.
- Bypassing Restrictive Assumptions: By utilizing the generalized eluder coefficient (GEC) to measure function complexity, the theoretical guarantees apply to a vast class of non-linear models, including deep neural networks, rather than just linear or tabular models.
Key Results
- Theoretical Efficiency: The authors prove that both model-free and model-based OPT-AIL achieve polynomial expert sample complexity and interaction complexity. They require a number of expert trajectories that scales with the covering number of the function class, rather than the size of the state space.
- Empirical Superiority: In experiments across the DMControl suite, OPT-AIL consistently outperformed state-of-the-art deep imitation learning baselines (such as HyPE, HyPER, and CMIL).
- Extreme Data Efficiency: OPT-AIL shines brightest in low-data regimes. When trained on only a single expert trajectory, it uniquely managed to achieve near-expert performance on highly challenging tasks like Walker Run and Walker Stand.
Limitations and Future Work
While this work represents a major leap forward, the authors note a couple of open theoretical gaps:
- Sample Complexity Gap: In tabular settings, the optimal expert sample complexity is $\widetilde{O}(H^{3/2}/\epsilon)$. OPT-AIL achieves $\widetilde{O}(H^2/\epsilon^2)$ under general function approximation. Closing this gap remains an open challenge.
- Horizon-Independent Bounds: The current bounds scale with the planning horizon $H$. Designing an AIL framework with general function approximation that achieves horizon-free bounds is an exciting direction for future research.
Summary updated