SOTAVerified

Adaptive Weighted Discriminator for Training Generative Adversarial Networks

2020-12-05CVPR 2021Code Available1· sign in to hype

Vasily Zadorozhnyy, Qiang Cheng, Qiang Ye

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Generative adversarial network (GAN) has become one of the most important neural network models for classical unsupervised machine learning. A variety of discriminator loss functions have been developed to train GAN's discriminators and they all have a common structure: a sum of real and fake losses that only depends on the actual and generated data respectively. One challenge associated with an equally weighted sum of two losses is that the training may benefit one loss but harm the other, which we show causes instability and mode collapse. In this paper, we introduce a new family of discriminator loss functions that adopts a weighted sum of real and fake parts, which we call adaptive weighted loss functions or aw-loss functions. Using the gradients of the real and fake parts of the loss, we can adaptively choose weights to train a discriminator in the direction that benefits the GAN's stability. Our method can be potentially applied to any discriminator model with a loss that is a sum of the real and fake parts. Experiments validated the effectiveness of our loss functions on an unconditional image generation task, improving the baseline results by a significant margin on CIFAR-10, STL-10, and CIFAR-100 datasets in Inception Scores and FID.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-10aw-SN-GANFID8.03Unverified
CIFAR-10aw-BigGANFID6.89Unverified
CIFAR-100aw-BigGANFID10.23Unverified

Reproductions