Abstract
Generative adversarial imitation learning (GAIL) is a popular inverse reinforcement learning approach for jointly optimizing policy and reward from expert trajectories. A primary question about GAIL is whether applying a certain policy gradient algorithm to GAIL attains a global minimizer (i.e., yields the expert policy), for which existing understanding is very limited. Such global convergence has been shown only for the linear (or linear-type) MDP and linear (or linearizable) reward. In this paper, we study GAIL under general MDP and for nonlinear reward function classes (as long as the objective function is strongly concave with respect to the reward parameter). We characterize the global convergence with a sublinear rate for a broad range of commonly used policy gradient algorithms, all of which are implemented in an alternating manner with stochastic gradient ascent for reward update, including projected policy gradient (PPG)-GAIL, Frank-Wolfe policy gradient (FWPG)-GAIL, trust region policy optimization (TRPO)-GAIL and natural policy gradient (NPG)-GAIL. This is the first systematic theoretical study of GAIL for global convergence.
Introduction
Generative Adversarial Imitation Learning (GAIL) has emerged as a powerful framework for learning policies directly from expert demonstrations. By framing imitation learning as a min-max game—where a discriminator learns a reward function to distinguish expert behavior from agent behavior, and a generator (the policy) seeks to maximize this learned reward—GAIL avoids the need for manually specified reward functions. However, the adversarial optimization landscape is notoriously difficult to navigate.
Historically, theoretical guarantees for GAIL have been limited. Because policy optimization is inherently nonconvex, standard theory often only guarantees convergence to local stationary points, which may correspond to suboptimal policies. Previous proofs of global convergence (finding the true expert policy) were restricted to linear MDPs and linear reward functions. This paper provides the first systematic theoretical proof that several popular GAIL algorithms can achieve global convergence under general MDPs and nonlinear reward functions, even when dealing with the bias of Markovian sampling.
Methodology
The authors analyze a nested-loop GAIL framework. In the inner loop, the reward function (discriminator) is updated using stochastic projected gradient ascent. In the outer loop, the policy (generator) is updated using one of four popular policy gradient algorithms:
- PPG-GAIL: Projected Policy Gradient
- FWPG-GAIL: Frank-Wolfe Policy Gradient
- TRPO-GAIL: Trust Region Policy Optimization
- NPG-GAIL: Natural Policy Gradient
To ensure mathematical tractability, the authors introduce a strongly concave regularizer to the reward function—a technique common in practice for stabilizing training. This transforms the problem into a "nonconvex-strongly-concave" game.
Theoretical Framework
The core theoretical breakthrough lies in proving that the GAIL objective satisfies a gradient dominance property. This property ensures that as long as the algorithm continues to find local improvements, it will eventually reach the global optimum, effectively bypassing the traps of nonconvexity.
Furthermore, the study addresses the challenge of Markovian sampling. Unlike standard optimization assuming i.i.d. data, GAIL relies on sequential trajectories from a changing policy. The authors rigorously bound the bias introduced by this sampling, proving that convergence is maintained if batch sizes are appropriately scaled.
Convergence and Complexity Results
The study provides rigorous sample complexity bounds for all four algorithms to reach an $\epsilon$-accurate globally optimal policy. A key finding is that TRPO-GAIL significantly outperforms other methods in terms of sample complexity. This is attributed to TRPO's ability to perform analytical updates of policy parameters, avoiding the high sample cost associated with estimating natural gradients in methods like NPG.
As shown in the table above, PPG-GAIL, FWPG-GAIL, and NPG-GAIL all achieve global convergence with a total sample complexity of $\tilde{\mathcal{O}}(1/\epsilon^4)$. TRPO-GAIL shows superior efficiency, requiring $\tilde{\mathcal{O}}(1/\epsilon^3)$ in the unregularized case and achieving the best overall performance of $\tilde{\mathcal{O}}(1/\epsilon^2)$ when the MDP is regularized.
Conclusion and Future Work
This work establishes the first systematic theoretical foundation for the global convergence of GAIL. While the guarantees rely on a strongly concave reward objective and, in some cases, tabular policy parameterization, they provide a roadmap for understanding adversarial imitation learning in complex environments. The tools developed for handling nonconvex-strongly-concave min-max problems with Markovian sampling are expected to be broadly applicable to general GANs and bi-level optimization problems.
Summary updated