NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Convergence of Gradient Descent in GANs: MMD GAN As a Gradient Flow

Youssef Mroueh, Truyen Nguyen

Introduction

Generative Adversarial Networks (GANs) have revolutionized generative modeling, yet they remain notoriously difficult to train. Common issues like mode collapse—where the generator produces limited varieties of output—and training oscillations hinder their practical application. While empirical "tricks" like gradient penalties have improved stability, a rigorous theoretical understanding of why and how these models converge has been lacking. This paper addresses this gap by framing MMD (Maximum Mean Discrepancy) GAN training as a gradient flow on a statistical manifold.

The Convergence Challenge

The primary difficulty in GAN training lies in the optimization landscape. Standard gradient descent often fails to respect the underlying geometry of probability distributions, leading to unstable trajectories. For MMD GANs specifically, there has been no clear proof that discrete gradient steps actually lead the generator to the true target distribution. This paper bridges the gap between empirical success and theoretical rigor by introducing a novel parametric gradient regularizer.

Methodology: Geometry and Gradient Flows

The authors propose a framework that leverages differential geometry to stabilize training:

  1. Parametric Gradient Regularizer ($MMD_{\alpha, \beta}$): Unlike previous methods that penalize gradients relative to input data, this method penalizes gradients with respect to the generator's parameters. This ensures a smoother optimization landscape.
  2. The Parametric Grammian: A new operator is introduced to capture how the generator's output distribution evolves as its parameters change, defining the "velocity" of the distribution's movement.
  3. Statistical Manifold & Riemannian Structure: By treating the space of possible distributions as a "statistical manifold," the authors show that training is equivalent to a fluid-like "gradient flow" toward the target distribution under a specific Riemannian metric.
  4. Global Convergence Proof: This geometric perspective allows for a formal proof of global convergence, providing a non-asymptotic rate that quantifies the steps needed to reach the target.

Experimental Validation

The theory was tested using a 2D Mixture of Gaussians with 8 modes arranged in a circle—a standard benchmark for detecting mode collapse.

Comparison of Euclidean Gradient Flows (α=0) and Kernelized Gradient Flows (α=100). The proposed method (c, d) achieves stable convergence to all modes, whereas the standard approach (a, b) suffers from instability and mode collapse.

As shown in the figure above, the standard MMD GAN (Euclidean flow, $\alpha=0$) fails to capture the target distribution, exhibiting cycles and mode collapse. In contrast, the proposed kernelized flow ($\alpha=100$) converges gracefully to all 8 modes, with the MMD loss decreasing steadily toward zero. The $MMD_{\alpha, \beta}$ regularizer acts as a damping term, preventing optimization from exploding when the Parametric Grammian becomes singular—a frequent failure point in standard models.

Limitations and Future Work

While the theoretical foundation is robust, challenges remain in scaling these methods to high-dimensional data due to the computational cost of the Parametric Grammian. The authors also acknowledge that some assumptions regarding the existence of solutions to the flow are not yet fully realistic in practice. Future research will explore extending this framework to "neural witness functions," where the kernel itself is a learned neural network, potentially bridging the gap to large-scale deep learning applications.

Summary updated

BibTeX
@inproceedings{mroueh2021convergence,
  author = {Youssef Mroueh and Truyen Nguyen},
  title = {{On the Convergence of Gradient Descent in GANs: MMD GAN As a Gradient Flow}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure