GANs as Gradient Flows that Converge
Yu-Jui Huang, Yuchong Zhang
TL;DR
This work casts unsupervised learning as a gradient flow in the space of probability densities, showing that a distribution-dependent ODE drives the current density toward the unknown data distribution $\rho_d$. It reveals a precise equivalence between simulating this gradient flow and training a GAN, offering a cooperative navigator-calibrator interpretation that explains GAN divergence through unintended MSE fitting. The analysis hinges on a nonlinear Fokker–Planck equation, a Trevisan superposition-based construction of a solution to the density-dependent ODE, and a convergence proof establishing $\rho^{Y_t}\to\rho_d$ in $L^1$ as $t\to\infty$. The results provide a mathematically rigorous backbone for gradient-flow approaches to implicit generative modeling and offer principled insights for improving GAN stability and convergence in practice.
Abstract
This paper approaches the unsupervised learning problem by gradient descent in the space of probability density functions. A main result shows that along the gradient flow induced by a distribution-dependent ordinary differential equation (ODE), the unknown data distribution emerges as the long-time limit. That is, one can uncover the data distribution by simulating the distribution-dependent ODE. Intriguingly, the simulation of the ODE is shown equivalent to the training of generative adversarial networks (GANs). This equivalence provides a new "cooperative" view of GANs and, more importantly, sheds new light on the divergence of GANs. In particular, it reveals that the GAN algorithm implicitly minimizes the mean squared error (MSE) between two sets of samples, and this MSE fitting alone can cause GANs to diverge. To construct a solution to the distribution-dependent ODE, we first show that the associated nonlinear Fokker-Planck equation has a unique weak solution, by the Crandall-Liggett theorem for differential equations in Banach spaces. Based on this solution to the Fokker-Planck equation, we construct a unique solution to the ODE, using Trevisan's superposition principle. The convergence of the induced gradient flow to the data distribution is obtained by analyzing the Fokker-Planck equation.
