Convergence of Learning Dynamics in Stackelberg Games

Tanner Fiez, Benjamin Chasnov, Lillian J. RatliffarXiv 2019

Abstract

This paper investigates the convergence of learning dynamics in Stackelberg games. In the class of games we consider, there is a hierarchical game being played between a leader and a follower with continuous action spaces. We establish a number of connections between the Nash and Stackelberg equilibrium concepts and characterize conditions under which attracting critical points of simultaneous gradient descent are Stackelberg equilibria in zero-sum games. Moreover, we show that the only stable critical points of the Stackelberg gradient dynamics are Stackelberg equilibria in zero-sum games. Using this insight, we develop a gradient-based update for the leader while the follower employs a best response strategy for which each stable critical point is guaranteed to be a Stackelberg equilibrium in zero-sum games. As a result, the learning rule provably converges to a Stackelberg equilibria given an initialization in the region of attraction of a stable critical point. We then consider a follower employing a gradient-play update rule instead of a best response strategy and propose a two-timescale algorithm with similar asymptotic convergence guarantees. For this algorithm, we also provide finite-time high probability bounds for local convergence to a neighborhood of a stable Stackelberg equilibrium in general-sum games. Finally, we present extensive numerical results that validate our theory, provide insights into the optimization landscape of generative adversarial networks, and demonstrate that the learning dynamics we propose can effectively train generative adversarial networks.

Introduction

Game theory has become a foundational tool in machine learning, particularly for modeling interactions in Generative Adversarial Networks (GANs) and multi-agent reinforcement learning. Most existing research assumes players act simultaneously and seeks a Nash equilibrium—a state where no player can improve their outcome by unilaterally changing their strategy. However, many real-world scenarios naturally possess a hierarchical structure where one agent leads and another follows. These are known as Stackelberg games.

The convergence properties of learning algorithms in continuous, general-sum Stackelberg games have historically been unexplored. Standard simultaneous gradient descent often fails in these settings, leading to frustrating cycling or divergence because it ignores the inherent hierarchy. This paper rigorously defines, analyzes, and builds algorithms for finding local Stackelberg equilibria in continuous spaces, offering a solution to the rotational dynamics that plague adversarial training.

Differential Stackelberg Equilibria

The authors formalize the concept of a differential Stackelberg equilibrium, which is a local, continuous, and computationally tractable version of the classic Stackelberg equilibrium. In this framework, the leader anticipates the follower's optimal response, allowing for a more stable optimization landscape than simultaneous play.

To find these equilibria, the paper proposes a two-timescale stochastic gradient algorithm:

  1. The Follower (Fast timescale): Updates its strategy using standard gradient descent to minimize its own cost, acting as if the leader's strategy is fixed.
  2. The Leader (Slow timescale): Updates its strategy using a modified gradient that explicitly accounts for how the follower will react.

Mathematically, the leader's update relies on the Implicit Function Theorem to calculate the derivative of the follower's best-response curve. Because this requires computing an inverse-Hessian-vector product—traditionally difficult for large neural networks—the authors utilize conjugate gradient methods and auto-differentiation libraries to ensure the algorithm remains scalable.

Theoretical Contributions and Insights

The research establishes several key theoretical connections between equilibrium concepts:

  • Nash as a Subset of Stackelberg: In zero-sum games, any stable local Nash equilibrium is also a local Stackelberg equilibrium. This implies that searching for a Stackelberg equilibrium is a valid strategy even when the ultimate goal is a Nash solution.
  • Stability of Non-Nash Attractors: Simultaneous gradient descent often gets stuck in "spurious" non-Nash attractors. The authors prove that many of these are actually valid Stackelberg equilibria, suggesting that standard GAN training might already be finding useful Stackelberg solutions.
  • Eliminating Rotational Dynamics: The Stackelberg update explicitly accounts for the follower's response, which alters the Jacobian of the game dynamics. This effectively cancels out the imaginary eigenvalues that cause the cycling behavior common in adversarial training.
  • The Leader's Advantage: The mathematical framework confirms that the leader in a Stackelberg game is guaranteed a cost at least as good as—and often strictly better than—what it would achieve in a simultaneous Nash game.

Experimental Validation

The authors validated their theory using a mix of classic game theory problems and standard machine learning benchmarks. In toy games like the Cournot Duopoly and Location Games, they validated exact mathematical convergence. In synthetic GAN tasks, such as learning a Covariance Matrix or a Mixture of Gaussians, simultaneous gradient descent cycled wildly, while the Stackelberg dynamics converged rapidly and stably to the true data distribution.

Finally, the authors demonstrated scalability by training a DCGAN on the MNIST dataset. This confirmed that the second-order mathematics (inverse-Hessian-vector products) required for the leader's update is not an insurmountable barrier for deep neural networks with millions of parameters.

Conclusion

This work provides a rigorous foundation for learning in hierarchical games. By introducing a two-timescale algorithm with provable convergence guarantees, the authors offer a path toward more stable and efficient training for adversarial models. While computational overhead and Hessian invertibility remain practical considerations, the ability to eliminate rotational dynamics represents a significant advancement in multi-agent learning theory.

Summary updated

BibTeX
@misc{fiez2019convergence,
  author = {Tanner Fiez and Benjamin Chasnov and Lillian J. Ratliff},
  title = {{Convergence of Learning Dynamics in Stackelberg Games}},
  year = {2019},
  eprint = {1906.01217},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.01217},
}
Figure