Overview
Generative Adversarial Networks (GANs) are notoriously difficult to train, leading to a "zoo" of proposed loss functions and stabilization techniques. This paper provides a massive empirical audit of these methods, revealing that Spectral Normalization is the most robust and efficient choice for practitioners, while the specific choice of loss function matters far less than proper regularization.
The Problem: Navigating the GAN "Zoo"
Since their inception, GANs have been plagued by instability, mode collapse, and extreme sensitivity to hyperparameters. To solve this, the research community has produced a flurry of "tricks": new loss functions (like WGAN or Least Squares), various normalization schemes (Batch Norm, Layer Norm, Spectral Norm), and regularization penalties (Gradient Penalty).
However, these components are rarely compared head-to-head in a controlled, large-scale environment. A practitioner starting a new project is often left guessing: Should I use WGAN-GP or a non-saturating loss with Spectral Norm? Does Batch Norm help or hurt the discriminator? This paper aims to "sober up" the field by providing a rigorous, large-scale empirical study to identify what actually works across different datasets and architectures.
Experimental Setup
The authors conducted an extensive search over the "GAN landscape," exploring combinations of:
- Loss Functions: Non-saturating (NS), Wasserstein (WGAN), and Least-Squares (LS).
- Regularization/Normalization: Gradient Penalty (GP), Dragan, Spectral Normalization (SN), Batch Normalization (BN), Layer Normalization (LN), and $L_2$ weight decay.
- Architectures: A deep convolutional GAN (SNDCGAN) and a larger ResNet-based architecture (ResNet19).
To ensure a fair comparison, they used sequential Bayesian optimization to find the best possible performance for each combination within a fixed computational budget. They primarily used the Fréchet Inception Distance (FID) to evaluate image quality.
The study utilized three standard benchmarks for image generation:
- CIFAR-10: $32 \times 32$ images, a classic small-scale benchmark.
- CelebA-HQ-128: $128 \times 128$ high-quality celebrity faces.
- LSUN-Bedroom: $128 \times 128$ images of bedrooms, which are more diverse and challenging than faces.
Note: The authors notably advocate for calculating FID using the test set rather than the training set to avoid over-optimistic results—a subtle but important detail for reproducibility.
Key Findings
- Spectral Normalization (SN) is the MVP: SN consistently improved model quality across almost all settings. Unlike Gradient Penalty (GP), which requires expensive gradient calculations and extra hyperparameter tuning, SN is computationally "cheap" and very stable. Models using SN showed significantly lower variance in FID scores across hyperparameter trials compared to the non-regularized baseline.
- The "Budget" Perspective: This is perhaps the most practical insight. If you only have the resources to try 2 or 3 hyperparameter settings, you are far more likely to get a good result using Spectral Normalization than Gradient Penalty. For example, to achieve an FID below 100 on LSUN-Bedroom using a non-saturating loss with GP, a user might need 6+ hyperparameter trials. With SN, they could achieve a better result in just 2 trials.
- Loss Choice is Secondary: The authors found that the "non-saturating" loss (the original GAN loss with a slight modification) is remarkably stable. If you have good regularization (like SN), the specific mathematical form of the loss function becomes much less critical.
- Batch Norm in the Discriminator is Risky: While Batch Norm is a staple in the Generator, the authors found that adding it to the Discriminator often hurts performance, contrary to some common practices.
- Reproducibility Pitfalls: The paper highlights how tiny differences in implementation—like how images are resized or which specific layer of InceptionNet is used for FID—can change scores by 10% or more, making "paper-to-paper" comparisons difficult without shared code.
Limitations and Future Work
The authors acknowledge several areas for further exploration. First, this study focused on unconditional generation; dynamics might change when class labels are provided (Conditional GANs). Second, while "large-scale" for its time, the study doesn't cover the massive scale of models like BigGAN, which use even higher-capacity architectures and larger batch sizes. Finally, while FID is the current standard, it isn't perfect and can sometimes fail to distinguish between a model that produces slightly noisy images and one that has dropped entire categories of data (mode collapse).
The Bottom Line: For the average researcher or engineer, the paper's message is clear: start with the non-saturating loss and Spectral Normalization. It’s the most reliable path to a working model.
Summary updated