Skip to main content
QUICK REVIEW

[Paper Review] Consistency Regularization for Generative Adversarial Networks

Han Zhang, Zizhao Zhang|arXiv (Cornell University)|Oct 26, 2019
Generative Adversarial Networks and Image SynthesisComputer Science37 references47 citations
TL;DR

CR-GAN adds consistency regularization to GAN discriminators by penalizing sensitivity to semantic-preserving augmentations, achieving state-of-the-art FID on CIFAR-10 and CelebA and boosting conditional generation on CIFAR-10 and ImageNet-2012.

ABSTRACT

Generative Adversarial Networks (GANs) are known to be difficult to train, despite considerable research effort. Several regularization techniques for stabilizing training have been proposed, but they introduce non-trivial computational overheads and interact poorly with existing techniques like spectral normalization. In this work, we propose a simple, effective training stabilizer based on the notion of consistency regularization---a popular technique in the semi-supervised learning literature. In particular, we augment data passing into the GAN discriminator and penalize the sensitivity of the discriminator to these augmentations. We conduct a series of experiments to demonstrate that consistency regularization works effectively with spectral normalization and various GAN architectures, loss functions and optimizer settings. Our method achieves the best FID scores for unconditional image generation compared to other regularization methods on CIFAR-10 and CelebA. Moreover, Our consistency regularized GAN (CR-GAN) improves state-of-the-art FID scores for conditional generation from 14.73 to 11.48 on CIFAR-10 and from 8.73 to 6.66 on ImageNet-2012.

Motivation & Objective

  • Motivate stabilizing GAN training with a lightweight regularizer that complements spectral normalization.
  • Introduce consistency regularization (CR) by enforcing discriminator outputs to be invariant to semantic-preserving augmentations.
  • Demonstrate CR-GAN's compatibility with various GAN losses, architectures, and optimizers.
  • Show that CR-GAN achieves state-of-the-art FID on unconditional generation and improves conditional generation scores.

Proposed method

  • Augment real data fed to the discriminator with semantic-preserving transformations.
  • Add a penalty term L_cr that minimizes the L2 distance between discriminator outputs on original and augmented inputs (L_cr = ||D(x) - D(T(x))||^2).
  • Incorporate L_cr into the discriminator loss with a coefficient lambda, keeping the generator loss unchanged.
  • Apply CR-GAN across multiple GAN variants and losses, with spectral normalization, and demonstrate reduced computational overhead compared to gradient-based regularizers.
  • Provide ablations to analyze augmentation types, regularization coefficient sensitivity, and architecture dependence.

Experimental results

Research questions

  • RQ1Does consistency regularization improve GAN training stability and sample quality across different losses and architectures?
  • RQ2How does CR-GAN interact with spectral normalization and other regularizers?
  • RQ3What are the effects of augmentation type and regularization strength on CR-GAN performance?
  • RQ4Can CR-GAN improve state-of-the-art GANs in unconditional and conditional image generation?
  • RQ5Is CR-GAN computationally efficient compared to gradient-based regularizers?

Key findings

  • CR-GAN achieves the best FID scores for unconditional image generation on CIFAR-10 and CelebA across tested settings.
  • With conditional generation, CR-GAN improves FID from 14.73 to 11.48 on CIFAR-10 and from 8.73 to 6.66 on ImageNet-2012.
  • CR-GAN consistently improves performance when used with spectral normalization across different architectures and loss functions.
  • CR-GAN is approximately 1.7x faster than gradient-based regularizers and adds only a small forward/backward pass overhead.
  • Adding CR to state-of-the-art BigGAN⋆ improves CIFAR-10 FID from 20.42 to 11.48 and ImageNet FID from 7.75 to 6.66.

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.