Introduction
Heavy Ball momentum, or Polyak momentum, is a fundamental component of modern optimization, particularly in deep learning via optimizers like Adam. While its benefits for standard minimization problems—accelerating convergence and navigating complex loss landscapes—are well-documented, its behavior in min-max games remains poorly understood. Min-max formulations are central to Generative Adversarial Networks (GANs) and adversarial training, where two networks compete in a zero-sum game. These dynamics are notoriously unstable, often leading to oscillations or divergence.
Empirical observations have suggested that standard momentum heuristics often fail in min-max settings. For instance, practitioners have found that negative momentum or alternating update schemes can improve GAN stability. This research provides a theoretical foundation for these phenomena using continuous-time analysis.
Methodology: A First-Order ODE Approach
To bridge the gap between discrete algorithmic steps and theoretical understanding, the authors employ continuous-time differential equations (ODEs). Traditional analysis of Heavy Ball momentum often uses second-order ODEs, which couple step size and momentum and typically assume positive momentum values.
In contrast, this work derives a novel first-order ODE formulation. This approach allows for the independent analysis of step size ($h$) and momentum ($\beta$), facilitating the study of negative momentum values. The researchers analyze these ODEs both locally, by examining Jacobian matrices near equilibrium points, and globally, by investigating how the algorithm's trajectory interacts with the loss landscape's geometry—a concept known as implicit gradient regularization.
Stability and the "Opposite Day" Effect
A primary finding of this analysis is that momentum behaves fundamentally differently in min-max games compared to minimization. In minimization, larger positive momentum generally expands the range of stable step sizes. In min-max games, the reverse is true: smaller or even negative momentum values enhance stability.
As shown in Figure 2, there is a clear trade-off between step size and momentum. While positive momentum can achieve optimal local convergence rates for very small step sizes, decreasing momentum (moving towards negative values) significantly widens the "safe zone" for larger step sizes, preventing the common issue of divergence in GAN training.
Implicit Regularization and Update Strategies
Beyond local stability, the choice of momentum and update rules exerts a global influence on the optimization trajectory. The study compares simultaneous updates (both players update at once) with alternating updates (players update sequentially).
The analysis reveals that alternating updates mathematically amplify the algorithm's tendency to seek out "flatter" regions of the loss landscape—areas with lower gradient norms. As illustrated in Figure 4, trajectories with lower momentum and alternating updates consistently result in lower average gradient slopes. This implicit regularization is crucial for GANs, as sharp gradient regions are a major source of training instability. By steering the optimization toward shallower regions, these configurations naturally stabilize the training process and lead to better generative performance, as measured by Fréchet Inception Distance (FID) and Inception Scores.
Conclusion
This research clarifies the counter-intuitive behavior of momentum in min-max games. By demonstrating that smaller momentum and alternating updates provide implicit regularization toward flatter regions, the authors provide a mathematical explanation for common empirical "tricks" in GAN training. Future work will focus on incorporating stochasticity into these models to better reflect the noise of mini-batch SGD and exploring the link between these flat trajectories and the generalization capabilities of min-max models.
Summary updated