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

TL;DR

This paper provides a theoretical breakthrough for Generative Adversarial Networks (GANs) by proving that gradient descent in Maximum Mean Discrepancy (MMD) GANs can be globally convergent. By introducing a novel "parametric energy" regularizer and viewing the training process as a gradient flow on a statistical manifold, the authors bridge the gap between empirical GAN success and rigorous mathematical convergence guarantees.

What Problem Does This Paper Address?

Training GANs is famously like trying to balance a pencil on its tip—it’s a "min-max" game where a generator and a discriminator (or critic) constantly try to outsmart each other. While this works well in practice, we lack a solid theoretical understanding of why (or if) the discrete steps of gradient descent actually lead to the target distribution.

Most existing theory focuses on the stability of the equilibrium point, but it doesn't guarantee that you'll actually reach that point from a random starting position. The authors tackle this by focusing on MMD GANs, which use a kernel-based distance measure to compare distributions, and ask: Can we define a version of this training that is guaranteed to converge to the right answer?

Methods

The authors introduce three key innovations:

  1. A New Regularizer ($MMD_{\alpha, \beta}$): Unlike the popular WGAN-GP, which penalizes the gradient of the critic with respect to the input data, this paper proposes a penalty with respect to the generator's parameters. This "parametric energy" ensures the optimization landscape remains smooth and well-behaved.
  2. The Statistical Manifold Perspective: They treat the space of all possible distributions the generator can produce as a "statistical manifold." By defining a new Riemannian metric on this manifold, they show that GAN training is equivalent to a "gradient flow"—essentially a path of steepest descent—toward the target distribution.
  3. Continuous to Discrete Flow: They first prove convergence for a continuous-time flow (an idealized version of training) and then derive non-asymptotic convergence rates for the actual discrete gradient descent steps used in code.

Datasets

As a primarily theoretical paper, the authors use synthetic benchmarks to validate their proofs:

  • 2D Mixture of Gaussians: A classic "toy" problem consisting of 8 modes (clusters) arranged in a circle. This is a standard test for "mode collapse," a common GAN failure where the generator only learns one part of the data.
  • Random Feature Maps: Used to approximate the Reproducing Kernel Hilbert Space (RKHS) for the MMD computation.

Key Insights and Ideas

  • The "Mass Correction" Effect: The paper reveals that the generator's dynamics are driven by a "matrix-valued kernel" ($\Gamma_\theta$). This kernel acts as a similarity measure in the hidden space, meaning the generator doesn't just move points randomly; it moves them based on how they relate to all other generated samples.
  • Alleviating Singularity: Standard MMD flows often get "stuck" because the underlying operators can become singular (non-invertible). The new $\alpha, \beta$ regularization acts as a damping term that keeps the math stable, even when the generator is far from the target.
  • Geometry Matters: By viewing GAN training through the lens of Riemannian geometry, the authors show that the "optimal" direction for the generator isn't just the standard Euclidean gradient, but a "natural" gradient that accounts for the shape of the space of probability distributions.

Key Results

  • Global Convergence: The authors prove that under specific conditions (related to the "Parametric Grammian"), gradient descent is globally convergent to the target distribution.
  • Empirical Validation: In experiments on the 8-mode Gaussian mixture:
  • Without regularization ($\alpha=0$): The GAN suffered from cycles and mode collapse, failing to capture the distribution.
  • With the new regularization ($\alpha=100$): The generator converged gracefully and accurately to all 8 modes.
  • Neural Kernels: They demonstrated that even when the kernel is "learned" (using a deep neural network as the witness function), the flow exhibits the same stable convergence behavior predicted by their fixed-kernel theory.

Limitations and Future Work

  • The "Neural Case": While the paper touches on learned kernels, much of the rigorous proof relies on the properties of fixed kernels in an RKHS. The authors suggest that exploring the "Neural Tangent Kernel" (NTK) regime could be a promising way to extend these proofs to fully deep architectures.
  • Computational Overhead: Calculating the parametric gradient penalty involves Jacobians of the generator, which can be computationally expensive for very large models compared to standard GAN losses.
  • Static vs. Dynamic Discrepancies: The paper opens a new door to investigating the relationship between "static" distances (like standard MMD) and "dynamic" distances (the path-length on the manifold), which could lead to even more efficient training algorithms.

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