GANs beyond divergence minimization

Alexia Jolicoeur-MartineauarXiv 2018

Introduction

The standard theoretical foundation for Generative Adversarial Networks (GANs) posits that the generator ($G$) succeeds by minimizing a specific statistical divergence between the real and fake data distributions. However, in "GANs beyond divergence minimization," Alexia Jolicoeur-Martineau challenges this restrictive view. The paper argues that the divergence minimization framework is not a requirement for successful GAN training and proposes a much broader framework based on "matching" discriminator outputs.

The Divergence Minimization Paradigm

Traditionally, GANs are viewed through two lenses: an adversarial game where $G$ attempts to fool a discriminator ($D$), and a mathematical process of divergence minimization (e.g., Jensen-Shannon or Wasserstein distance).

A notable discrepancy exists between this theory and practical application. The "saturating" loss function, which strictly adheres to divergence theory, often performs poorly in practice. Conversely, the "non-saturating" loss—the industry standard—does not strictly minimize a divergence when the discriminator is optimal. This observation suggests that the generator's objective can be generalized beyond simple distance metrics between distributions.

A Generalized Matching Framework

Jolicoeur-Martineau proposes that instead of maximizing the probability of being "real," the generator can be trained to match the discriminator's outputs for fake data to those of real data or specific target labels. This leads to four new classes of loss functions:

  1. Discriminator Matching (DM): $G$ minimizes the distance between $D(x_{real})$ and $D(x_{fake})$.
  2. Label Matching (LM): $G$ minimizes the distance between $D(x_{fake})$ and a target label (e.g., the "real" label $y_{real}$ or the classification threshold $y_{mid}$).
  3. Expectation Discriminator Matching (EDM): $G$ matches the mean output of $D$ for fake data to the mean output for real data.
  4. Expectation Label Matching (ELM): $G$ matches the mean output of fake data to a target label.

These strategies can utilize various distance metrics ($d$), such as absolute difference, squared difference, or log-differences. While these matching strategies can function as divergences under specific conditions, the paper demonstrates they are effective even when they do not.

Experimental Evaluation

The proposed framework was tested on two distinct benchmarks:

  • Synthetic Swiss Roll: A 2D manifold used to visualize the generator's ability to capture complex distributions.
  • CIFAR-10: A standard image dataset used to evaluate high-dimensional image generation quality via Fréchet Inception Distance (FID).

Key Results

The empirical results support the flexibility of the matching framework. On the CIFAR-10 dataset, many of the proposed matching losses achieved FID scores comparable to established methods.

FID scores for various generator loss functions across GAN, LSGAN, and WGAN-GP frameworks.

As shown in the results, most matching losses produced FIDs in the 55–65 range. This performance is on par with the standard non-saturating GAN (~57.66) and WGAN-GP (~55.18). Crucially, the "Saturating GAN" loss—the one most theoretically aligned with Jensen-Shannon Divergence—performed significantly worse, yielding an FID of 90.46.

The experiments also highlighted the "overshooting" phenomenon. In standard GANs, $G$ often pushes $D(x_{fake})$ beyond the equilibrium point, causing instability. The matching framework allows for more controlled objectives, such as aiming for the classification threshold ($y_{mid}$), although aiming for the "real" label ($y_{real}$) often proved more stable in practice by providing stronger gradients.

Conclusion

"GANs beyond divergence minimization" shifts the focus from rigid statistical theory to a more flexible optimization perspective. By demonstrating that divergence minimization is optional, the work opens the door for researchers to design custom loss functions tailored to specific tasks. The success of a GAN appears to depend less on the specific mathematical form of the generator's loss and more on the discriminator's ability to provide a consistent gradient toward the "real" data manifold.

Summary updated

BibTeX
@misc{jolicoeurmartineau2018gans,
  author = {Alexia Jolicoeur-Martineau},
  title = {{GANs beyond divergence minimization}},
  year = {2018},
  eprint = {1809.02145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.02145},
}
Figure