HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Differentiable Augmentation for Data-Efficient GAN Training

Shengyu Zhao Zhijian Liu Ji Lin Jun-Yan Zhu Song Han

Differentiable Augmentation for Data-Efficient GAN Training

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.

Code Repositories

uzielroy/StyleGan_FewShot
pytorch
Mentioned in GitHub
milmor/TransGAN
tf
Mentioned in GitHub
POSTECH-CVLab/PyTorch-StudioGAN
pytorch
Mentioned in GitHub
milmor/LadaGAN-pytorch
pytorch
Mentioned in GitHub
milmor/ladagan
tf
Mentioned in GitHub
gaborvecsei/SLE-GAN
tf
Mentioned in GitHub
milmor/self-supervised-gan
tf
Mentioned in GitHub
eps696/stylegan2
tf
Mentioned in GitHub
mit-han-lab/data-efficient-gans
Official
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-cifar-10DiffAugment-BigGAN
FID: 4.61
image-generation-on-cifar-10-10-dataDiffAugment-CR-BigGAN
FID: 18.7
image-generation-on-cifar-10-10-dataDiffAugment-BigGAN
FID: 22.4
image-generation-on-cifar-10-10-dataDiffAugment-StyleGAN2
FID: 14.5
image-generation-on-cifar-10-20-dataDiffAugment-StyleGAN2
FID: 12.15
image-generation-on-cifar-10-20-dataDiffAugment-BigGAN
FID: 14.04
image-generation-on-cifar-10-20-dataDiffAugment-CR-BigGAN
FID: 12.84
image-generation-on-imagenet-128x128DiffAugment-BigGAN
FID: 6.8
IS: 100.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp