Skip to main content
QUICK REVIEW

[Paper Review] GANs beyond divergence minimization

Alexia Jolicoeur‐Martineau|arXiv (Cornell University)|Sep 6, 2018
Adversarial Robustness in Machine LearningComputer Science25 references6 citations
TL;DR

This paper challenges the widely held belief that GANs train generators by minimizing a divergence, showing instead that most generator loss functions are not divergences and do not require matching the discriminator's objective. It introduces four new classes of generator loss functions—some of which are actual divergences—demonstrating that diverse loss functions converge well and yield comparable generation quality to standard GANs, implying GANs are more flexible than previously thought.

ABSTRACT

Generative adversarial networks (GANs) can be interpreted as an adversarial game between two players, a discriminator D and a generator G, in which D learns to classify real from fake data and G learns to generate realistic data by "fooling" D into thinking that fake data is actually real data. Currently, a dominating view is that G actually learns by minimizing a divergence given that the general objective function is a divergence when D is optimal. However, this view has been challenged due to inconsistencies between theory and practice. In this paper, we discuss of the properties associated with most loss functions for G (e.g., saturating/non-saturating f-GAN, LSGAN, WGAN, etc.). We show that these loss functions are not divergences and do not have the same equilibrium as expected of divergences. This suggests that G does not need to minimize the same objective function as D maximize, nor maximize the objective of D after swapping real data with fake data (non-saturating GAN) but can instead use a wide range of possible loss functions to learn to generate realistic data. We define GANs through two separate and independent D maximization and G minimization steps. We generalize the generator step to four new classes of loss functions, most of which are actual divergences (while traditional G loss functions are not). We test a wide variety of loss functions from these four classes on a synthetic dataset and on CIFAR-10. We observe that most loss functions converge well and provide comparable data generation quality to non-saturating GAN, LSGAN, and WGAN-GP generator loss functions, whether we use divergences or non-divergences. These results suggest that GANs do not conform well to the divergence minimization theory and form a much broader range of models than previously assumed.

Motivation & Objective

  • To challenge the dominant theory that GANs train generators by minimizing a divergence when the discriminator is optimal.
  • To investigate whether generator loss functions in practice are actual divergences or deviate from divergence-based objectives.
  • To propose and evaluate four new classes of generator loss functions, some of which are formal divergences, to broaden the design space of GANs.
  • To test whether using actual divergences in generator training improves performance compared to non-divergence losses.
  • To demonstrate that generator training does not require matching the discriminator's objective, enabling greater flexibility in loss function design.

Proposed method

  • Reinterprets GANs through two independent optimization steps: discriminator maximization and generator minimization, decoupling the two objectives.
  • Introduces four new classes of generator loss functions: (1) matching fake discriminator output to real labels, (2) matching to a threshold (e.g., 0.5), (3) matching mean fake output to mean real output, and (4) using proper divergences like Divergence Matching (DM) and Log-likelihood Matching (LM).
  • Defines generator losses based on minimizing a distance between the discriminator’s output on fake data and target values (e.g., y_real, y_mid), rather than relying on the discriminator’s objective function.
  • Employs both synthetic (Swiss roll) and real-world (CIFAR-10) datasets to evaluate convergence and generation quality across diverse loss functions.
  • Uses Fréchet Inception Distance (FID) and Inception Score (IS) to quantitatively compare generation quality across different loss functions.
  • Analyzes gradient behavior and convergence dynamics, particularly in cases where the discriminator becomes near-perfect, to assess robustness of different loss functions.

Experimental results

Research questions

  • RQ1Are the standard generator loss functions in GANs actually divergences, even when the discriminator is optimal?
  • RQ2Does minimizing a formal divergence in the generator step lead to better generation performance than non-divergence losses?
  • RQ3Can generator training be decoupled from the discriminator’s objective function without harming performance?
  • RQ4Do loss functions that match the discriminator output of fake data to real labels or thresholds (e.g., 0.5) perform comparably to non-saturating GANs?
  • RQ5Why do some divergences (e.g., DM, LM) fail to converge well on synthetic data despite theoretical advantages?

Key findings

  • Most standard GAN generator loss functions, including non-saturating GAN, LSGAN, and WGAN-GP, are not actual divergences, even when the discriminator is optimal.
  • The generator does not need to minimize the same objective that the discriminator maximizes, nor does it need to match the discriminator’s objective after swapping real and fake data.
  • A wide range of loss functions—including non-divergences—converge well and produce generation quality comparable to non-saturating GAN, LSGAN, and WGAN-GP on CIFAR-10.
  • On the Swiss roll dataset, loss functions based on divergences (DM and LM with y_mid) underperformed, suggesting that convergence is not guaranteed by being a formal divergence.
  • FID scores on CIFAR-10 were consistently competitive across all tested loss functions, with no single loss function significantly outperforming others.
  • The results suggest that the generator learns primarily by increasing the discriminator’s output on fake data, not by minimizing a divergence, undermining the theoretical foundation of divergence minimization in GANs.

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.