Skip to main content
QUICK REVIEW

[Paper Review] Connecting GANs, MFGs, and OT

Haoyang Cao, Xin Guo|arXiv (Cornell University)|Feb 10, 2020
Multimodal Machine Learning ApplicationsComputer Science58 references16 citations
TL;DR

This paper establishes theoretical connections between Generative Adversarial Networks (GANs), Mean-Field Games (MFGs), and Optimal Transport (OT), framing GANs as MFGs under Pareto Optimality and as OT problems minimizing transport cost from latent to data distribution. It proposes MFGAN, a GAN-based algorithm using two neural networks trained adversarially to solve coupled HJB and Fokker-Planck equations, demonstrating superior performance in high-dimensional MFG problems with fewer iterations than prior methods.

ABSTRACT

Generative adversarial networks (GANs) have enjoyed tremendous success in image generation and processing, and have recently attracted growing interests in financial modelings. This paper analyzes GANs from the perspectives of mean-field games (MFGs) and optimal transport. More specifically, from the game theoretical perspective, GANs are interpreted as MFGs under Pareto Optimality criterion or mean-field controls; from the optimal transport perspective, GANs are to minimize the optimal transport cost indexed by the generator from the known latent distribution to the unknown true distribution of data. The MFGs perspective of GANs leads to a GAN-based computational method (MFGANs) to solve MFGs: one neural network for the backward Hamilton-Jacobi-Bellman equation and one neural network for the forward Fokker-Planck equation, with the two neural networks trained in an adversarial way. Numerical experiments demonstrate superior performance of this proposed algorithm, especially in the higher dimensional case, when compared with existing neural network approaches.

Motivation & Objective

  • To unify the theoretical frameworks of GANs, MFGs, and optimal transport by revealing their conceptual and mathematical connections.
  • To develop a novel computational method, MFGAN, for solving mean-field games using the adversarial training paradigm of GANs.
  • To demonstrate the effectiveness of MFGAN in solving high-dimensional MFG problems where traditional methods struggle.
  • To show that GANs can be interpreted as optimal transport problems minimizing cost from latent to data distribution.
  • To validate the method numerically, especially in cases without explicit solutions, by capturing complex structures like periodicity.

Proposed method

  • MFGAN formulates the solution of MFGs as a two-network adversarial training setup: one network learns the value function via the backward Hamilton-Jacobi-Bellman (HJB) equation, and the other learns the density flow via the forward Fokker-Planck (FP) equation.
  • The method uses deep Galerkin method (DGM) architectures to parametrize both the value function $u_\theta$ and the density $m_\omega$ using deep neural networks with ReLU or tanh activations.
  • A generator loss $\hat{L}_{\text{Val}}$ measures the residual of the HJB equation, while a discriminator loss $\hat{L}_{\text{MF}}$ measures the residual of the Fokker-Planck equation.
  • Normalization is enforced via a penalty term $\hat{L}_{\text{MF,norm}}$ to ensure $m_\omega$ remains a valid probability density.
  • Periodicity in the solution is enforced through additional penalty terms $\hat{L}_{\text{Val,per}}$ and $\hat{L}_{\text{MF,per}}$ that penalize deviations across symmetric boundary points.
  • The algorithm uses stochastic gradient descent with $N_\theta = N_\omega = 10$ steps per iteration, adaptive learning rates, and minibatch sampling for efficient training.

Experimental results

Research questions

  • RQ1How can GANs be interpreted through the lens of mean-field games under Pareto Optimality?
  • RQ2What is the connection between GANs and optimal transport in terms of minimizing transport cost from latent to data distribution?
  • RQ3Can the adversarial training framework of GANs be adapted to solve coupled HJB and Fokker-Planck equations in MFGs?
  • RQ4How does the proposed MFGAN method perform in high-dimensional MFG problems compared to existing neural network approaches?
  • RQ5Can MFGAN capture complex solution structures such as periodicity without prior transformation of the input?

Key findings

  • In a 4-dimensional MFG problem, MFGAN achieved a relative $l_2$ error of less than $2 \times 10^{-2}$ for the value function and $4 \times 10^{-3}$ for the density function within $8 \times 10^4$ iterations, outperforming a prior method that required $10^6$ iterations.
  • For an 8-dimensional ergodic MFG without explicit solution, MFGAN successfully solved the coupled HJB-FP system and accurately captured the periodic structure of the solution using penalty terms.
  • The generator loss $\hat{L}_{\text{Val}}$ dropped below $10^{-3}$ and the discriminator loss $\hat{L}_{\text{MF}}$ reached $10^{-2}$ after $10^5$ iterations in the 8D experiment.
  • The method demonstrated stability and convergence in high-dimensional settings, with training results stabilizing after approximately $8 \times 10^4$ iterations in the 4D case.
  • The use of penalty terms for periodicity enforcement allowed the model to capture symmetric solution features without requiring input transformation or architectural modifications.
  • The proposed MFGAN framework reduces the number of required iterations and training samples, offering a computational advantage over existing deep learning-based MFG solvers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.