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

Mode Regularized Generative Adversarial Networks

Tong Che, Yanran Li, Athul Jacob, Yoshua Bengio, Wenjie Li

Generative Adversarial Networks (GANs) are famous for their ability to dream up realistic images, but they are equally infamous for being highly unstable during training. They are notoriously prone to a failure mode called mode collapse, where the generator finds a few "safe" samples that fool the discriminator and stops trying to learn the rest of the data's diversity.

Example of mode collapse where a GAN only generates the digit 8.

In this ICLR 2017 paper, "Mode Regularized Generative Adversarial Networks," Tong Che and colleagues propose a clever way to tether the generator to reality using geometric regularizers and a new training pipeline called MDGAN.

TL;DR

This paper introduces Mode Regularized GANs (Reg-GAN) and Manifold-Diffusion GANs (MDGAN), which use an auxiliary encoder to provide stable geometric gradients. By forcing the generator to reconstruct real data points and regularizing its behavior across the data manifold, the authors significantly reduce mode collapse and stabilize training across complex datasets like CelebA and MNIST.

What Problem Does This Paper Address?

The core issue is the "shape" of the discriminator. In a standard GAN, the generator relies entirely on the discriminator’s gradients to learn. However, in high-dimensional space, the discriminator function can be highly non-linear, featuring "plateaus" (where gradients vanish) or "wrong maxima" (which push the generator toward the wrong distribution).

Discriminator gradients guiding the generation manifold towards real data manifolds.

This often leads to mode missing. For example, if you are training on a dataset of faces, the generator might get really good at producing front-facing blond women but completely "forget" that people with hats, glasses, or side-profiles exist. Because the discriminator is satisfied with the front-facing samples, the generator has no incentive to explore the "missing modes" of the data.

Methods

The authors propose two primary innovations to fix the generator's "tunnel vision":

1. Mode Regularization (Reg-GAN)

The authors introduce an encoder $E(x)$ that maps real data $x$ back to the latent space $z$. They then add two regularizing terms to the generator's loss:

  • Geometric Metric: They minimize the distance (e.g., $L_2$ norm) between a real sample $x$ and its reconstruction $G(E(x))$. This provides a stable, non-adversarial gradient that anchors the generator to the actual data manifold.
  • Mode Regularizer: They encourage the discriminator to assign a high "realness" score to these reconstructions ($D(G(E(x)))$). This forces the generator to distribute its probability mass across all modes present in the training data.

2. Manifold-Diffusion Training (MDGAN)

To further stabilize training on large datasets, they split the process into two steps:

  • Manifold Step: The generator and encoder are trained to match the "manifold" of the real data using the geometric loss.
  • Diffusion Step: A second discriminator ($D_2$) is introduced to distinguish between "reconstructed" samples ($G(E(x))$) and "purely generated" samples ($G(z)$). This helps the generator smoothly "diffuse" or spread its probability mass across the manifold learned in the first step.

Datasets

The researchers evaluated their approach on:

  • MNIST: The classic handwritten digits dataset.
  • Compositional MNIST: A custom challenge where three digits are concatenated to create a dataset with 1,000 distinct modes.
  • CelebA: A large-scale dataset of celebrity faces.
  • Toy Datasets: 2D mixtures of Gaussians used to visualize mode capture.

Key Insights and Ideas

  • The Discriminator is an Unreliable Narrator: Standard GANs fail because the discriminator doesn't care about the shape of the space between manifolds. By adding a simple $L_2$ distance metric, the authors provide a "North Star" that doesn't change every time the discriminator updates.
  • Encoders as Mode Anchors: By forcing the generator to be able to reconstruct any given real image, you mathematically prevent it from ignoring modes. If it can reconstruct a "person with a hat," that mode is officially part of its repertoire.
  • Stability over Complexity: Unlike VAEGANs, which rely on complex probabilistic assumptions (like factorized Gaussian posteriors), this method uses a "plain" autoencoder approach. The authors argue this is more flexible and less prone to the blurry outputs typically associated with Variational Autoencoders.

Key Results

  • Capturing 1,000 Modes: On the Compositional MNIST task, a standard DCGAN missed roughly 200 modes. The Reg-DCGAN reduced this to just 32 missed modes.
  • CelebA Diversity: Using a third-party "mode estimator" (a separate classifier), the authors found that their MDGAN model missed significantly fewer images/attributes compared to standard DCGAN. Qualitatively, MDGAN was much better at generating rare features like side-profiles and berets.
  • Quantitative Superiority: The authors introduced the MODE score, which combines visual quality and variety. Their regularized models consistently outperformed standard GANs and VAEGANs in this metric.

Limitations and Future Work

  • Architectural Overhead: Adding an encoder and potentially a second discriminator increases the computational cost and memory requirements of the model.
  • Hyperparameter Sensitivity: While the authors claim MDGAN is easier to tune, the weights for the regularizers ($\lambda_1, \lambda_2$) still require careful selection to balance "realness" with "diversity."
  • Metric Reliance: The "missing mode" estimation relies on a third-party discriminator trained with noise, which is a clever proxy but not a perfect ground-truth measure of a model's entropy.

The paper concludes that by simply giving the generator a more "predictable" geometric target alongside the adversarial one, we can build generative models that are both more stable and more representative of the diverse world they aim to mimic.

Summary updated

BibTeX
@inproceedings{che2017mode,
  author = {Tong Che and Yanran Li and Athul Jacob and Yoshua Bengio and Wenjie Li},
  title = {{Mode Regularized Generative Adversarial Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2017},
  url = {https://openreview.net/forum?id=HJKkY35le},
}
Figure