Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Training GANs with Stronger Augmentations via Contrastive Discriminator

About

Recent works in Generative Adversarial Networks (GANs) are actively revisiting various data augmentation techniques as an effective way to prevent discriminator overfitting. It is still unclear, however, that which augmentations could actually improve GANs, and in particular, how to apply a wider range of augmentations in training. In this paper, we propose a novel way to address these questions by incorporating a recent contrastive representation learning scheme into the GAN discriminator, coined ContraD. This "fusion" enables the discriminators to work with much stronger augmentations without increasing their training instability, thereby preventing the discriminator overfitting issue in GANs more effectively. Even better, we observe that the contrastive learning itself also benefits from our GAN training, i.e., by maintaining discriminative features between real and fake samples, suggesting a strong coherence between the two worlds: good contrastive representations are also good for GAN discriminators, and vice versa. Our experimental results show that GANs with ContraD consistently improve FID and IS compared to other recent techniques incorporating data augmentations, still maintaining highly discriminative features in the discriminator in terms of the linear evaluation. Finally, as a byproduct, we also show that our GANs trained in an unsupervised manner (without labels) can induce many conditional generative models via a simple latent sampling, leveraging the learned features of ContraD. Code is available at https://github.com/jh-jeong/ContraD.

Jongheon Jeong, Jinwoo Shin• 2021

Related benchmarks

TaskDatasetResultRank
Image GenerationCIFAR-10 (test)--
471
Image GenerationCIFAR-10 unconditional (test)
FID9.8
39
Image GenerationAFHQ Dog v1 (test)
FID7.16
15
Image GenerationAFHQ Cat v1 (test)
FID3.82
15
Image GenerationAFHQ Wild v1 (test)
FID2.54
14
Image SynthesisAFHQ Dog
FID7.16
11
Image SynthesisAFHQ Wild life
FID2.54
8
Image SynthesisAFHQ Cat
FID3.82
8
Showing 8 of 8 rows

Other info

Follow for update