Training Generative Adversarial Networks (GANs) typically requires massive amounts of high-quality data. When data is scarce, models often struggle to generalize, leading to poor image generation. This NeurIPS 2021 paper presents a novel approach to training GANs in low-data regimes, moving beyond simple image augmentations to leverage the structural properties of the networks themselves.
TL;DR
The authors demonstrate that GANs contain sparse "lottery tickets"—subnetworks that can be trained in isolation to outperform their dense counterparts when data is limited. By combining these sparse architectures with a new adversarial feature-level augmentation (AdvAug), they achieve state-of-the-art results on limited datasets without requiring any pre-training.
What Problem Does This Paper Address?
When training data is limited (e.g., in medical imaging or rare species documentation), the discriminator tends to memorize the small training set, becoming "overconfident."
This leads to severe overfitting. The discriminator easily distinguishes real from fake images based on memorized noise rather than meaningful features. Eventually, this causes the training process to collapse, resulting in a generator that produces poor-quality images.
While existing solutions focus on data-level augmentations (like flipping or rotating images) or transfer learning from large datasets, these approaches have limits. Transfer learning requires a highly relevant source dataset, and standard augmentations can sometimes "leak" into the generated images, causing the model to generate unnatural artifacts.
Methods
To combat this, the authors propose a two-stage framework:
- Finding the "Winning Ticket": Using the Lottery Ticket Hypothesis (LTH), the authors identify a highly sparse subnetwork within the GAN. They use Iterative Magnitude Pruning (IMP): training the full model on the small dataset, pruning the weights with the lowest magnitudes, rewinding the remaining weights to their original values, and repeating. Surprisingly, they find that high-quality "GAN tickets" can be identified even with very little data.
- Training with Multi-Level Augmentation: Once the sparse subnetwork (the "ticket") is found, it is trained using a combination of:
- Data-level Augmentations: Standard techniques like DiffAug or ADA.
- AdvAug (Adversarial Feature Augmentation): This is the paper's key algorithmic contribution. Instead of just perturbing pixels, AdvAug injects adversarial noise into the intermediate feature maps of both the generator and discriminator. This regularizes the training landscape and prevents the discriminator from becoming overconfident.
Key Insights and Ideas
- Sparsity as a Structural Prior: Sparse subnetworks are inherently more robust to overfitting. The authors argue that the "winning ticket" acts as an inductive prior that is significantly more data-efficient than a dense model.
- The "Aha" Moment on Data Size: One might assume you need a massive dataset to find a good subnetwork. The authors show the opposite: the quality of the sparse mask remains stable even when training data is reduced by 90%.
- Orthogonality: The lottery ticket approach doesn't replace data augmentation; it complements it. The gains from using a sparse architecture are "orthogonal" to the gains from pixel-level flips and rotations.
- Feature-Level vs. Pixel-Level: By perturbing features (AdvAug), the model avoids "distribution leaking," where the generator accidentally learns to mimic the augmentation artifacts rather than the actual underlying data distribution.
Key Results
The proposed method consistently outperformed dense baselines and matched or beat transfer learning methods across several standard and few-shot benchmarks (including CIFAR-10, CIFAR-100, Tiny-ImageNet, and 100-shot datasets like Obama, Grumpy Cat, and Panda).
Notable performance highlights include:
- Tiny-ImageNet (10% data): A sparse BigGAN ticket (67.24% sparsity) improved the Fréchet Inception Distance (FID)—where lower is better—from 84.53 (dense) to 73.23. Adding AdvAug further dropped the FID to 70.91.
- CIFAR-100 (10% data): Their method achieved an FID of 22.37, significantly better than the dense BigGAN baseline with DiffAug (25.69).
- Few-Shot Success: On the 100-shot Panda dataset, the method achieved an FID of 14.75 training entirely from scratch. This outperformed FreezeD (17.95), a popular transfer learning method that requires heavy pre-training on the massive FFHQ face dataset.
Limitations and Future Work
- Computational Overhead: The primary limitation is the "train-prune-rewind" cycle required to find the lottery ticket. This makes the initial discovery phase computationally expensive compared to standard training.
- Inference Speed: While the resulting models are sparse, the paper focuses on data efficiency during training rather than optimizing for inference speed on specialized hardware.
- Broader Impact: The authors acknowledge that making GANs easier to train with less data could potentially lower the barrier for creating malicious content like DeepFakes, necessitating further research into detection mechanisms.
Future work could involve finding "early-bird" tickets to reduce the pruning cost or exploring how these sparse priors behave in even more extreme "one-shot" learning scenarios.
Summary updated