Abstract
Generative Adversarial Networks (GANs) often require complex architectural modifications and massive computational resources to achieve high-fidelity image synthesis. This paper introduces FastGAN, which utilizes a "free" adversarial training loop for the discriminator to act as a computationally efficient stabilizer. By replacing expensive techniques like spectral normalization and large-scale batching with robust adversarial training, FastGAN enables faster convergence and superior image quality on standard hardware. Experimental results show that FastGAN achieves state-of-the-art performance on ImageNet and CIFAR datasets using as few as 2–4 GPUs.
Introduction
Training GANs is notoriously difficult, often plagued by issues such as mode collapse and gradient vanishing. To mitigate these, the current state-of-the-art relies on a "bag of tricks," including Spectral Normalization, Two Time-scale Update Rules (TTUR), and massive batch sizes. However, these solutions impose a significant "hardware tax," requiring extensive GPU clusters. This work investigates whether state-of-the-art results can be achieved using standard ResNet architectures by focusing on training dynamics rather than architectural complexity.
Methods
FastGAN leverages Free AdverSarial Training to stabilize the discriminator. The core mechanism involves training the discriminator on adversarial examples—images slightly perturbed to challenge the model.
Technical Innovations
- Hessian-Free Stability: The authors demonstrate that one-step adversarial training serves as an efficient approximation of the "Follow-the-Ridge" (FR) optimizer. While FR provides stability via second-order derivatives (Hessians), it is computationally prohibitive. FastGAN provides similar stability benefits with negligible overhead.
- Free Training Loop: By reusing gradients calculated during the backward pass to update both model weights and adversarial perturbations simultaneously, the training remains computationally "free."
- Architectural Simplicity: FastGAN demonstrates that complex additions like Self-Attention or Spectral Normalization are unnecessary if the discriminator is robustly trained.
- Improved Loss Function: A modified ACGAN loss incorporating a KL-divergence term encourages the discriminator to assign uniform probabilities to fake image labels, effectively combatting mode collapse by forcing the generator to produce diverse samples.
Experimental Results
The researchers evaluated FastGAN across CIFAR10, CIFAR100, and various scales of ImageNet.
Performance and Efficiency
FastGAN consistently outperformed predecessors in both speed and quality. On ImageNet-143 (128px), it reached target scores in $7.14 \times 10^4$ seconds, nearly 8x faster than SNGAN. On full ImageNet, FastGAN achieved an Inception Score (IS) of 65.57, significantly higher than SAGAN (52.52), despite a 13% smaller model size and 57% faster training time.
As shown in the CIFAR benchmarks, FastGAN achieves superior Inception Scores and Frechet Inception Distances (FID) compared to SNGAN and RobGAN while maintaining lower training times. Notably, FastGAN operates effectively with equal learning rates for the generator and discriminator, removing the need for the complex tuning required by TTUR.
Discussion and Limitations
FastGAN democratizes high-fidelity image synthesis by making it accessible to researchers with modest compute resources. While it excels in fidelity (IS), there remains a slight gap in matching the exact data distribution (FID) compared to some compute-heavy models like SAGAN on full ImageNet. Future work may involve scaling FastGAN's efficient training loop to larger architectures to further close this gap. Additionally, while the model is robust, performance is sensitive to the perturbation magnitude ($c_{max}$), requiring dataset-specific tuning for optimal results.
Summary updated