Omni-GAN: On the Secrets of cGANs and Beyond

Peng Zhou, Lingxi Xie, Bingbing Ni, Qi Tian

TL;DR

Omni-GAN stabilizes conditional GAN (cGAN) training by combining strong classification-based supervision with moderate regularization (weight decay). This approach prevents the dreaded "mode collapse" while enabling record-breaking performance, including an Inception Score on ImageNet that surpasses previous benchmarks by over 100 points.

What Problem Does This Paper Address?

Conditional Generative Adversarial Networks (cGANs) are the workhorse of high-quality image synthesis, but they are notoriously temperamental. As the number of image categories increases (e.g., the 1000 classes in ImageNet), training becomes unstable.

Researchers typically choose between two types of discriminators: projection-based (like BigGAN), which are stable but often yield lower quality, and classification-based (like AC-GAN), which can produce higher quality but are prone to sudden "mode collapse"—where the generator starts producing a limited, repetitive set of outputs. The authors set out to uncover the "secrets" of this instability and design a discriminator that offers the best of both worlds: high fidelity and rock-solid stability.

Methods

The authors introduce Omni-GAN, which centers on two main innovations:

  1. Omni-loss: A flexible multi-label classification framework for the discriminator. Unlike standard cGAN losses that treat "real/fake" and "class label" as separate tasks, Omni-loss formulates them into a unified multi-label vector. This allows the model to receive "strong supervision"—meaning the discriminator is forced to explicitly recognize the specific class of an image, not just its general "realness."
  2. Moderate Regularization: The paper identifies that strong supervision causes the discriminator to overfit or "memorize" the training set too quickly, triggering early collapse. The authors find that simple weight decay acts as a "moderate" regularizer that prevents this memorization without the heavy computational cost of methods like gradient penalties.

To further push the boundaries, they propose Omni-INR-GAN. This version integrates Implicit Neural Representations (INR) into the generator. Instead of generating a fixed grid of pixels, the generator learns a function that maps continuous $(x, y)$ coordinates to RGB values. This allows the model to generate images at any aspect ratio and arbitrary resolutions (e.g., upscaling a low-res image by 60x).

Figure 2: Different discriminator models for training a cGAN. Omni-loss supports to implement a classification-based cGAN or a projection-based cGAN, enabling us to fairly and intuitively explore the secrets behind them. Please refer to the texts in Sec. 2.1 and Sec. 3.1 for details.

Datasets

The models were rigorously tested on several standard benchmarks:

  • CIFAR-10 & CIFAR-100: Used for initial control experiments and stability testing.
  • ImageNet (128×128 and 256×256): The primary benchmark for high-fidelity generation.
  • Cityscapes: Used to evaluate performance in image-to-image translation tasks.
  • MNIST & SVHN: Used for specialized multi-label domain experiments.

Key Insights and Ideas

  • The Devil is in the Discriminator: The authors argue that the key to cGAN success isn't just the generator, but ensuring the discriminator perceives concepts deeply (strong supervision) while being restrained from memorizing them (regularization).
  • Weight Decay is the "Secret Sauce": While often overlooked in GAN literature, weight decay proved essential for classification-based cGANs. As shown in Figure 3, without weight decay, Omni-GAN collapses early; with it, it maintains high performance indefinitely.
  • INR as a Powerful Prior: By using INR, the generator learns a continuous representation of natural images. This makes it incredibly effective for downstream tasks like super-resolution because the model "understands" the underlying structure of the scene rather than just interpolating pixels.
Figure 3: IS on CIFAR100. “wd” stands for weight de- cay. The combination of strong supervision and weight de- cay is crucial. Weight decay effectively alleviates the col- lapse problem of strongly supervised cGANs (Omni-GAN) so that the cGANs enjoy superior performance from strong supervision. On the other hand, weight decay may slightly impair the performance of weakly supervised cGANs (e.g., projection-based BigGAN, one-sided Omni-GAN).

Key Results

  • SOTA on ImageNet: Omni-INR-GAN set new records with Inception Scores (IS) of 262.85 for 128×128 images and 343.22 for 256×256 images. For context, these scores are more than 100 points higher than previous records.
  • Faster Convergence: Omni-GAN is remarkably efficient. On ImageNet 128×128, it reached the performance level of a BigGAN trained for 14 days in just one day.
  • Extreme Super-Resolution: Thanks to the INR integration, Omni-INR-GAN can extrapolate images to over 60x higher resolution while maintaining semantic details (like the stripes on a zebra) that other methods like LIIF or DIP miss.
Figure 1: (a) The trend of Inception scores along the train- ing procedure on CIFAR100, showing that Omni-GAN en- joys both high performance and a lower risk of mode col- lapse. (b) The tradeoff curves using the truncation trick to generate 128×128 images on ImageNet, where Omni-GAN and Omni-INR-GAN outperform BigGAN.

Limitations and Future Work

  • Architecture Conflicts: The authors noted that Omni-GAN did not play well with StyleGAN2's "equalized learning rate" technique, suggesting that certain modern GAN architectures might require different regularization strategies.
  • Multi-scale Training: Attempting to train Omni-INR-GAN on multiple scales simultaneously led to instability, likely due to an imbalance in power between the generator and discriminator.
  • Future Directions: The authors suggest exploring multi-label discriminators for more complex tasks like domain adaptation and cross-domain image translation.

Summary updated

BibTeX
@misc{zhou2020omni,
  author = {Peng Zhou and Lingxi Xie and Bingbing Ni and Qi Tian},
  title = {{Omni-GAN: On the Secrets of cGANs and Beyond}},
  year = {2020},
  eprint = {2011.13074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.13074},
}
Figure