NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improved generator objectives for GANs

Ben Poole, Alexander A. Alemi, Jascha Sohl-Dickstein, Anelia AngelovaarXiv 2016

Abstract

Generative Adversarial Networks (GANs) are powerful tools for modeling complex data distributions, but they often suffer from "mode collapse," where the generator produces high-quality samples with limited variety. This paper provides a theoretical bridge between the heuristic objectives used in practice and the formal theory of $f$-divergences. By reinterpreting GAN training as a density ratio estimation problem, the authors demonstrate that standard GAN objectives are inherently mode-seeking. They introduce a flexible framework that allows the generator to target any $f$-divergence, enabling a tunable trade-off between sample quality and diversity.

Introduction

In the original GAN formulation, the generator and discriminator engage in a minimax game that theoretically minimizes the Jensen-Shannon (JS) divergence. However, the theoretical objective often leads to vanishing gradients in practice. To circumvent this, researchers typically employ an "alternative" objective ($G_{ALT}$). While $G_{ALT}$ improves training stability, its theoretical properties were previously poorly understood. This paper addresses the gap by identifying the specific divergence minimized by $G_{ALT}$ and explaining why it leads to mode-dropping behavior.

Theoretical Framework: Decoupling Objectives

The authors propose a framework that views GAN training as two distinct steps:

  1. Density Ratio Estimation: The discriminator is trained to estimate the ratio between the data density $p(x)$ and the model density $q(x)$.
  2. Divergence Minimization: The generator uses this estimated ratio to minimize a chosen $f$-divergence.

A key innovation is the decoupling of the discriminator’s objective ($f_D$) from the generator’s objective ($f_G$). This allows practitioners to use a stable discriminator to estimate the density ratio while the generator minimizes a divergence better suited for the desired output characteristics (e.g., KL, Reverse KL, or Hellinger distance). The general generator objective is derived as: $$G_{f_D, f_G} = \mathbb{E}_{x \sim p} [f_G((f'_D)^{-1}(T(x)))]$$ where $T(x)$ is the discriminator's output.

Explaining Mode Collapse

The authors provide a mathematical "smoking gun" for mode collapse by proving that the standard heuristic objective ($G_{ALT}$) corresponds to the $f$-divergence $f_G(u) = \log(1 + 1/u)$.

Figure 1: (a) Visualization of different f-divergence functions. (b) Impact of divergence choice on a 1D toy dataset (mixture of Gaussians). Note how the GAN and RKL objectives are highly mode-seeking compared to the mode-covering KL objective.

As shown in Figure 1, this divergence is even more "mode-seeking" than the Reverse KL divergence. In the 1D toy example, while the Forward KL objective attempts to cover both modes of the data distribution, the GAN and Reverse KL objectives collapse to a single mode. This explains why GANs often prefer to "hide" in high-probability regions of the data space rather than capturing the full diversity of the dataset.

Experimental Results

The framework was evaluated on a 1D Gaussian mixture and the CIFAR-10 dataset. By utilizing $\alpha$-divergences, the authors demonstrated a continuous spectrum between mode-seeking (low $\alpha$) and mode-covering (high $\alpha$) behavior.

Figure 2: Generated CIFAR-10 samples. The framework allows for increased diversity in color and object types by selecting more mode-covering objectives.

On CIFAR-10, moving toward mode-covering objectives (such as Forward KL, where $\alpha \to 1$) significantly increased the variety of generated samples. Mode-seeking objectives tended to produce samples dominated by common background colors (e.g., green and brown), whereas mode-covering objectives produced a wider palette and more distinct object classes. Importantly, this increase in diversity did not come at a significant cost to the visual quality of individual samples.

Conclusion

This work clarifies the theoretical underpinnings of practical GAN training. By showing that mode collapse is a direct consequence of the mode-seeking nature of standard objectives, the authors provide a path forward for training more diverse generative models. Future work remains in developing robust quantitative metrics for diversity and addressing the bias introduced when the discriminator is non-optimal.

Summary updated

BibTeX
@misc{poole2016improved,
  author = {Ben Poole and Alexander A. Alemi and Jascha Sohl-Dickstein and Anelia Angelova},
  title = {{Improved generator objectives for GANs}},
  year = {2016},
  eprint = {1612.02780},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.02780},
}
Figure