On-Line Adaptative Curriculum Learning for GANs

Thang Doan, João Monteiro, Isabela Albuquerque, Bogdan Mazoure, Audrey Durand, Joelle Pineau, R. Devon Hjelm

Abstract

Generative Adversarial Networks (GANs) frequently suffer from mode collapse because strong discriminators cause vanishing gradients, leaving the generator blind to missing parts of the data distribution. This paper introduces acGAN, an online adaptive curriculum learning framework that trains a generator against an ensemble of discriminators of varying capacities using a multi-armed bandit algorithm. This naturally creates a training curriculum where weak discriminators first help the generator discover all data modes, and strong discriminators later refine the sample quality.

Introduction

A notorious challenge in training GANs is mode collapse or missing modes, where the generator learns to produce only a small subset of the target data distribution. The authors argue this is largely due to mode-specific vanishing gradients. If a generator completely misses a distinct mode in the dataset, a highly expressive (strong) discriminator will easily separate the real data from the fake data in that region. Consequently, the discriminator's gradient becomes flat (vanishing), providing zero useful feedback for the generator to learn how to produce that missing mode.

Comparison of distributions (top) and gradients (bottom) for strong vs. weak discriminators. Strong discriminators lead to vanishing gradients in regions with no generator samples, whereas weak discriminators provide a smoother signal.

While hand-crafted curriculums or multi-discriminator setups exist, there hasn't been a principled, automated way to dynamically balance the trade-off between discovering missing modes and generating high-quality samples during training.

Methodology: The acGAN Framework

To solve this, the authors propose Adaptative Curriculum GAN (acGAN), which frames GAN training as a one-student/multiple-teachers problem.

The acGAN framework: The generator produces fake samples, which are evaluated by an ensemble of discriminators. A bandit algorithm (Hedge) uses progress-based rewards to update the weights of each discriminator's feedback.

The framework consists of several key components:

  • Ensemble of Discriminators: Instead of one discriminator, the generator faces an ensemble of $N$ discriminators with increasing architectural capacity (e.g., varying number of layers).
  • Adversarial Bandit Framework: The system dynamically decides how much "weight" to give each discriminator's feedback. They formalize this using the full-information adversarial bandit framework, specifically employing the Hedge algorithm.
  • Progress-Based Reward: To update the weights, the bandit algorithm uses a reward function based on the generator's progress—specifically, how much better the generator fools a given discriminator at the current step compared to the previous step.
  • Dynamic Curriculum: The generator is trained using a weighted mixture of gradients from all discriminators. The weights are updated online, allowing the network to automatically shift its attention between different discriminators as training progresses.

Experimental Setup

The authors evaluated their approach on a mix of synthetic and standard image benchmarks:

  • Synthetic Gaussian Mixtures: 2D grids of 8 and 25 Gaussian distributions to visually and quantitatively test mode dropping.
  • Stacked-MNIST: A dataset created by stacking three random MNIST digits into an RGB image, resulting in 1,000 distinct modes to test mode coverage.
  • CIFAR-10: A standard benchmark of 50,000 natural images used to evaluate visual quality via Fréchet Inception Distance (FID).

Results and Discussion

The core insight of acGAN is the synergy between discriminator types. Low-capacity (weak) discriminators provide smooth gradients that help the generator find missing modes, while high-capacity (strong) discriminators force the production of sharp details. Without explicit programming, the bandit algorithm naturally discovers a curriculum. Early in training, the generator makes the most progress against weak discriminators, which receive higher weights. As the generator masters these, the algorithm automatically shifts weights to stronger discriminators to refine details.

Key results include:

  • Perfect Mode Recovery: On the 25-mode Gaussian dataset, acGAN recovered all 25 modes, whereas a standard Vanilla GAN only found 17. On Stacked-MNIST, acGAN successfully recovered all 1,000 modes, matching or outperforming complex baselines like VEEGAN and PacGAN.
  • Superior Image Quality: On CIFAR-10, acGAN achieved an FID of 3.34 with 5 discriminators, significantly better than Vanilla GAN (4.80) and the GMAN baseline (4.42).
  • Faster Convergence: By receiving the most useful gradient signal for its current state, acGAN reached minimum FID scores faster than uniform ensembling methods.

Conclusion

While acGAN demonstrates robust performance, the authors acknowledge that the non-stationary nature of GAN training makes bandit tuning challenging. Future work may involve contextual bandits, using the generator's internal state as context to better model reward distributions and create even more intelligent curriculum generation.

Summary updated

BibTeX
@inproceedings{doan2019line,
  author = {Thang Doan and João Monteiro and Isabela Albuquerque and Bogdan Mazoure and Audrey Durand and Joelle Pineau and R. Devon Hjelm},
  title = {{On-Line Adaptative Curriculum Learning for GANs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013470},
}
Figure