Differentiable Augmentation for Data-Efficient GAN Training

Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, Song Han
6/18/2020
cs.CVcs.GRcs.LG

Official code: mit-han-lab/data-efficient-gans (1,310 stars, BSD-2-Clause, PyTorch, last commit 2024-09-24).

Abstract

The performance of generative adversarial networks (GANs) heavily deteriorates given a limited amount of training data. This is mainly because the discriminator is memorizing the exact training set. To combat it, we propose Differentiable Augmentation (DiffAugment), a simple method that improves the data efficiency of GANs by imposing various types of differentiable augmentations on both real and fake samples. Previous attempts to directly augment the training data manipulate the distribution of real images, yielding little benefit; DiffAugment enables us to adopt the differentiable augmentation for the generated samples, effectively stabilizes training, and leads to better convergence. Experiments demonstrate consistent gains of our method over a variety of GAN architectures and loss functions for both unconditional and class-conditional generation. With DiffAugment, we achieve a state-of-the-art FID of 6.80 with an IS of 100.8 on ImageNet 128x128 and 2-4x reductions of FID given 1,000 images on FFHQ and LSUN. Furthermore, with only 20% training data, we can match the top performance on CIFAR-10 and CIFAR-100. Finally, our method can generate high-fidelity images using only 100 images without pre-training, while being on par with existing transfer learning algorithms. Code is available at https://github.com/mit-han-lab/data-efficient-gans.

View on arXivView PDF

Code Implementations(1)

PyTorchBSD-2-Clause

[NeurIPS 2020] Differentiable Augmentation for Data-Efficient GAN Training

1,310173C++, CudaJun 15, 20202 years agoBSD-2-Clause
data-efficientgansgenerative-adversarial-networkimage-generationneurips-2020+2 more

Similar Papers

Cite this paper

@article{zhao2020differentiable,
  title  = {Differentiable Augmentation for Data-Efficient GAN Training},
  author = {Shengyu Zhao and Zhijian Liu and Ji Lin and Jun-Yan Zhu and Song Han},
  year   = {2020},
  eprint = {2006.10738},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10738}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.10738.svg)](https://codeofpaper.com/paper/2006.10738)

Discussion