Progressive Augmentation of GANs

Dan Zhang, Anna Khoreva

Training Generative Adversarial Networks (GANs) is often described as a delicate balancing act. You have two neural networks—a generator trying to create realistic data and a discriminator trying to spot the fakes—locked in a high-stakes game of cat and mouse. If the discriminator gets too good too quickly, the game ends: the generator stops receiving useful feedback, and training stalls.

In this NeurIPS 2019 paper, researchers from the Bosch Center for Artificial Intelligence introduce Progressive Augmentation of GANs (PA-GAN), a clever way to keep the discriminator "challenged but not overconfident" throughout the training process.

The Core Problem: GAN Instability

The fundamental issue in GAN training is instability. Because real data and synthetic data often exist on low-dimensional manifolds that don't overlap, it is mathematically "easy" for a discriminator to find a perfect decision boundary. When the discriminator becomes too confident (its loss drops to zero), the gradients it provides to the generator become useless, a phenomenon known as vanishing gradients.

Existing solutions like label smoothing or gradient penalties help, but they can sometimes bias the model or impair the generator's ultimate performance. The authors sought a way to "throttle" the discriminator's power without modifying the underlying data or the fundamental GAN objective.

Methods: Progressive Augmentation

To solve this, the authors introduce Progressive Augmentation (PA). Instead of just showing the discriminator an image $x$, they show it a pair $(x, s)$, where $s$ is a vector of random bits.

Architecture of Progressive Augmentation showing the injection of random bits at different progression levels.

This approach relies on three main components:

  1. The Checksum Principle: The target label for the discriminator is no longer just "Real" or "Fake." It's determined by a "checksum" (XOR logic) of the data source and the random bits. For example, at level 1 (one bit), a real image with bit $s=0$ might be labeled "Class 0," while a fake image with $s=0$ is "Class 1." This forces the discriminator to not only look at the image but also learn the association rule between the image and the bits.
  2. Progressive Difficulty: As training continues and the discriminator starts to "win," the authors increase the number of random bits ($l \to l+1$). This exponentially increases the number of possible combinations the discriminator must track, effectively moving the goalposts just as the discriminator gets close to them.
  3. Scheduling: To decide when to add more bits, the authors monitor the Kernel Inception Distance (KID). When the generator's improvement saturates at a certain level of difficulty, the system "levels up" the augmentation.

Crucially, the authors provide a mathematical proof that this method preserves the original GAN objective (minimizing Jensen-Shannon divergence) and does not bias the discriminator's optimality.

Key Insights and Ideas

  • Structural vs. Data Augmentation: Unlike standard augmentations (like rotating or cropping an image), PA-GAN doesn't change the pixels of the image itself. It appends information. This means the generator doesn't have to learn to be invariant to rotations; it just has to learn to make better images.
  • Preventing Overfitting: By increasing the dimensionality of the discriminator's input, PA-GAN prevents the discriminator from simply "memorizing" the training set.
  • Orthogonality: One of the best features of PA-GAN is that it is "orthogonal" to other techniques. You can use it alongside Spectral Normalization, Self-Attention (SAGAN), or Self-Supervised learning (SS-GAN) to get even better results.

Key Results

The researchers evaluated PA-GAN across four popular benchmarks: Fashion-MNIST, CIFAR10, CELEBA-HQ (128x128), and Tiny-ImageNet. The results show that PA-GAN consistently improves performance across different architectures (DCGAN and SAGAN):

  • FID Score Improvement: The method achieved an average improvement of ~3 points in the Fréchet Inception Distance (FID) score, a standard metric for image quality and diversity.
  • State-of-the-Art Unsupervised Results: When combined with Self-Supervised GANs (SS-GAN), they achieved an FID of 14.7 on CIFAR10. At the time, this was on par with the much larger BigGAN model that used full label supervision.
  • Qualitative Diversity: Visual results showed that PA-GAN helps the generator produce more diverse samples (e.g., more varied clothing styles or facial expressions) rather than collapsing into a few "safe" modes.
Qualitative results demonstrating high-quality and diverse facial image synthesis on the CelebA-HQ dataset.

Limitations and Future Work

While PA-GAN is highly effective, the authors noted some nuances. For instance, while PA-GAN is compatible with Gradient Penalty (GP) methods, the combination sometimes showed diminishing returns compared to using PA-GAN with Spectral Normalization. Additionally, while the "progression scheduling" is automated via KID scores, the initial choice of where to inject the bits (input space vs. feature space) can affect results depending on the dataset.

The authors suggest that future research could explore applying the "checksum principle" to other areas, such as semi-supervised learning or transfer learning, where controlling a model's confidence is equally vital.

Summary updated

BibTeX
@inproceedings{zhang2019progressive,
  author = {Dan Zhang and Anna Khoreva},
  title = {{Progressive Augmentation of GANs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure