Abstract
Adversarial formulations have rekindled interest in two-player min-max games. A central obstacle in the optimization of such games is the rotational dynamics that hinder their convergence. In this paper, we show that game optimization shares dynamic properties with particle systems subject to multiple forces, and one can leverage tools from physics to improve optimization dynamics. Inspired by the physical framework, we propose LEAD, an optimizer for min-max games. Next, using Lyapunov stability theory from dynamical systems as well as spectral analysis, we study LEAD’s convergence properties in continuous and discrete time settings for a class of quadratic min-max games to demonstrate linear convergence to the Nash equilibrium. Finally, we empirically evaluate our method on synthetic setups and CIFAR-10 image generation to demonstrate improvements in GAN training.
Introduction
Min-max optimization is a cornerstone of modern machine learning, driving progress in Generative Adversarial Networks (GANs) and multi-agent reinforcement learning. However, the optimization of these two-player games is notoriously difficult. A primary obstacle is the presence of rotational dynamics, where the optimization path orbits the Nash Equilibrium indefinitely instead of converging to it. While second-order optimizers can mitigate this, they are often computationally expensive due to the need for Jacobian-vector products. LEAD (Least Action Dynamics) addresses this by modeling optimization through the lens of classical mechanics.
Methods: Optimization as a Physical System
The authors propose modeling the optimization process as a physical system where the trajectory is the path of a particle of mass $m$ moving through a force field governed by Newton’s Second Law ($m\ddot{X} = F$).
The LEAD algorithm is derived by introducing three key forces to the system:
- Curl Force: The standard gradient field that drives the players.
- Magnetic Force: A counter-rotational force added to specifically suppress the "orbiting" behavior characteristic of min-max games.
- Friction: A dissipative force that slows the particle, ensuring it eventually settles at the equilibrium.
By applying the Principle of Least Action to this physical model and discretizing the resulting equations, the authors derive the LEAD optimizer. A key technical feature of LEAD is its use of a coupling term involving cross-derivatives ($\nabla_{xy} f$). By focusing on these interactions between players, LEAD captures critical second-order information without the massive computational cost of full Hessian-based methods.
Theoretical Analysis and Empirical Evaluation
The authors use Lyapunov stability theory and spectral analysis to study LEAD’s convergence. They provide a formal proof that LEAD achieves linear convergence to the Nash Equilibrium in both continuous and discrete time settings for quadratic min-max games.
Empirically, LEAD was evaluated across several benchmarks:
- Toy Quadratic Games: Confirmed theoretical predictions of stability and convergence.
- 8-Gaussians: Demonstrated LEAD's ability to capture all modes of a distribution, effectively solving the "mode collapse" problem where standard optimizers like Adam often fail.
- CIFAR-10: On this standard image generation benchmark, LEAD achieved a Fréchet Inception Distance (FID) of 10.49 using a ResNet architecture. This performance is particularly notable as it outperformed significantly larger models like BigGAN while maintaining a per-iteration computational time comparable to simple first-order methods.
Conclusion and Future Work
LEAD demonstrates that tools from classical mechanics can provide powerful solutions for modern optimization challenges. By treating the optimizer as a physical entity, LEAD achieves a balance between the stability of second-order methods and the efficiency of first-order approaches. While the current theoretical proofs are limited to quadratic settings, the empirical success on deep networks suggests a robust framework for future research in non-convex adversarial landscapes.
Summary updated