Skip to main content
QUICK REVIEW

[Paper Review] Improving the Speed and Quality of GAN by Adversarial Training

Jiachen Zhong, Xuanqing Liu|arXiv (Cornell University)|Aug 7, 2020
Generative Adversarial Networks and Image SynthesisComputer Science23 references14 citations
TL;DR

This paper proposes FastGAN, a simple yet effective training algorithm that improves GAN training speed and image quality without architectural innovations or heavy regularization. By introducing an additional adversarial training loop to the discriminator, FastGAN achieves state-of-the-art Inception Score and FID on CIFAR10, CIFAR100, and ImageNet using only 2–4 GPUs, outperforming SNGAN and SAGAN with plain ResNet generators and discriminators.

ABSTRACT

Generative adversarial networks (GAN) have shown remarkable results in image generation tasks. High fidelity class-conditional GAN methods often rely on stabilization techniques by constraining the global Lipschitz continuity. Such regularization leads to less expressive models and slower convergence speed; other techniques, such as the large batch training, require unconventional computing power and are not widely accessible. In this paper, we develop an efficient algorithm, namely FastGAN (Free AdverSarial Training), to improve the speed and quality of GAN training based on the adversarial training technique. We benchmark our method on CIFAR10, a subset of ImageNet, and the full ImageNet datasets. We choose strong baselines such as SNGAN and SAGAN; the results demonstrate that our training algorithm can achieve better generation quality (in terms of the Inception score and Frechet Inception distance) with less overall training time. Most notably, our training algorithm brings ImageNet training to the broader public by requiring 2-4 GPUs.

Motivation & Objective

  • To address the trade-off between training speed, model expressiveness, and sample quality in GANs, especially under limited computational resources.
  • To eliminate reliance on computationally expensive techniques like spectral normalization, large batch training, or TTUR while maintaining or improving performance.
  • To enable efficient, high-quality ImageNet training on standard hardware (2–4 GPUs), making advanced GAN training accessible to a broader audience.
  • To demonstrate that plain ResNet-based generators and discriminators can achieve strong performance when combined with a novel adversarial training scheme.

Proposed method

  • Introduces a two-loop adversarial training strategy where the discriminator undergoes an additional adversarial training phase to improve its robustness and generalization.
  • Employs a modified loss function that combines standard GAN loss with a perturbation-based adversarial objective, enhancing discriminator stability and gradient flow.
  • Uses a projected gradient descent (PGD) attack with bounded perturbations (controlled by $c_{ ext{max}}$) to generate adversarial examples during discriminator training.
  • Applies the improved loss function to the discriminator, which is trained to distinguish real data from adversarially perturbed fake samples, improving generalization.
  • Employs a two-time-scale update rule implicitly through training dynamics, though no explicit TTUR is used.
  • Relies solely on standard ResNet architectures for both generator and discriminator, avoiding self-attention, skip connections with noise, or weight normalization.

Experimental results

Research questions

  • RQ1Can a plain ResNet-based GAN achieve high-quality image generation without spectral normalization, self-attention, or large batch training?
  • RQ2Does adding an auxiliary adversarial training loop to the discriminator improve both training speed and sample quality?
  • RQ3Can the proposed method train high-fidelity GANs on ImageNet with only 2–4 GPUs, reducing the barrier to entry?
  • RQ4How does the proposed adversarial training scheme compare to SNGAN and SAGAN in terms of FID and Inception Score across multiple datasets?
  • RQ5What is the impact of hyperparameters like $c_{ ext{max}}$ on the final generation quality and training stability?

Key findings

  • FastGAN achieves a Fréchet Inception Distance (FID) of 14.48 on ImageNet-143 (128×128) with only 2 GPUs, outperforming SNGAN (FID: 30.83) and RobGAN (FID: 33.98) in less than half the time.
  • On CIFAR10, FastGAN reaches an Inception Score of 8.87 and FID of 17.27, surpassing the baseline RobGAN (IS: 6.26, FID: 43.69) with better intra-class diversity.
  • FastGAN trains 3–4× faster per 1000 iterations than SNGAN on CIFAR10 (95.5s vs. 245.1s per 1000 iterations), while achieving better or comparable metrics.
  • On ImageNet-143 (64×64), FastGAN completes training in 36,100 seconds using 1 GPU, compared to 222,000 seconds for SNGAN, a 6× speedup with better FID (12.04 vs. 29.70).
  • Extending training time for FastGAN on ImageNet-143 further improves performance (IS: 42.91, FID: 11.98), indicating room for further gains with longer training.
  • Ablation studies confirm that $c_{ ext{max}} = 0.006$ yields optimal performance on both CIFAR10 and CIFAR100, balancing robustness and training stability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.