Training GANs with Stronger Augmentations via Contrastive Discriminator

03/17/2021
by   Jongheon Jeong, et al.
19

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.

READ FULL TEXT

page 17

page 18

page 19

page 20

page 21

research
02/25/2020

Freeze Discriminator: A Simple Baseline for Fine-tuning GANs

Generative adversarial networks (GANs) have shown outstanding performanc...
research
09/16/2023

Enhancing GAN-Based Vocoders with Contrastive Learning Under Data-limited Condition

Vocoder models have recently achieved substantial progress in generating...
research
03/06/2023

Guiding Energy-based Models via Contrastive Latent Variables

An energy-based model (EBM) is a popular generative framework that offer...
research
03/05/2021

Contrastive Disentanglement in Generative Adversarial Networks

Disentanglement is defined as the problem of learninga representation th...
research
02/25/2020

Freeze the Discriminator: a Simple Baseline for Fine-Tuning GANs

Generative adversarial networks (GANs) have shown outstanding performanc...
research
11/27/2022

DigGAN: Discriminator gradIent Gap Regularization for GAN Training with Limited Data

Generative adversarial nets (GANs) have been remarkably successful at le...
research
06/23/2020

Contrastive Generative Adversarial Networks

Conditional image synthesis is the task to generate high-fidelity divers...

Please sign up or login with your details

Forgot password? Click here to reset