HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium

Martin Heusel; Hubert Ramsauer; Thomas Unterthiner; Bernhard Nessler; Sepp Hochreiter

GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium

Abstract

Generative Adversarial Networks (GANs) excel at creating realistic images with complex models for which maximum likelihood is infeasible. However, the convergence of GAN training has still not been proved. We propose a two time-scale update rule (TTUR) for training GANs with stochastic gradient descent on arbitrary GAN loss functions. TTUR has an individual learning rate for both the discriminator and the generator. Using the theory of stochastic approximation, we prove that the TTUR converges under mild assumptions to a stationary local Nash equilibrium. The convergence carries over to the popular Adam optimization, for which we prove that it follows the dynamics of a heavy ball with friction and thus prefers flat minima in the objective landscape. For the evaluation of the performance of GANs at image generation, we introduce the "Fréchet Inception Distance" (FID) which captures the similarity of generated images to real ones better than the Inception Score. In experiments, TTUR improves learning for DCGANs and Improved Wasserstein GANs (WGAN-GP) outperforming conventional GAN training on CelebA, CIFAR-10, SVHN, LSUN Bedrooms, and the One Billion Word Benchmark.

Code Repositories

yenchenlin/fid
pytorch
Mentioned in GitHub
djl11/mxnet-fid
mxnet
Mentioned in GitHub
vict0rsch/pytorch-fid-wrapper
pytorch
Mentioned in GitHub
ShwanMario/ASWD
pytorch
Mentioned in GitHub
mbinkowski/DeepSpeechDistances
tf
Mentioned in GitHub
onethousand1000/eg3d-projector
pytorch
Mentioned in GitHub
mseitzer/pytorch-fid
pytorch
Mentioned in GitHub
minhnhat93/tf-SNDCGAN
tf
Mentioned in GitHub
abdulfatir/gan-metrics-pytorch
pytorch
Mentioned in GitHub
w86763777/pytorch-gan-metrics
pytorch
Mentioned in GitHub
kthksgy/pytorch-template
pytorch
Mentioned in GitHub
dzq84/MusicScore-script
pytorch
Mentioned in GitHub
KbeautyHair/BaselineModel
pytorch
Mentioned in GitHub
AlexiaJM/Deep-learning-with-cats
pytorch
Mentioned in GitHub
kenanidris/deoldify
tf
Mentioned in GitHub
beresandras/buggy-resizing-critique
pytorch
Mentioned in GitHub
milmor/diffusion-transformer
pytorch
Mentioned in GitHub
ngushchin/entropicotbenchmark
pytorch
Mentioned in GitHub
Soldie/DeOldify-colorir-imagens-antigas
pytorch
Mentioned in GitHub
nvlabs/long-video-gan
pytorch
Mentioned in GitHub
SiskonEmilia/StyleGAN-PyTorch
pytorch
Mentioned in GitHub
reyllama/mixdl
pytorch
Mentioned in GitHub
bioinf-jku/TTUR
Official
tf
Mentioned in GitHub
iamalexkorotin/Wasserstein2Benchmark
pytorch
Mentioned in GitHub
NVlabs/eg3d
pytorch
Mentioned in GitHub
milmor/LDT
tf
Mentioned in GitHub
xiongjiechen/ASWD
pytorch
Mentioned in GitHub
milmor/LadaGAN-pytorch
pytorch
Mentioned in GitHub
jantic/DeOldify
pytorch
Mentioned in GitHub
hidekifujinami6/gan_evaluation
pytorch
Mentioned in GitHub
raahii/evan
pytorch
Mentioned in GitHub
zzz2010/starganv2_paddle
pytorch
Mentioned in GitHub
sergkuzn148/lol3
pytorch
Mentioned in GitHub
francois-rozet/piqa
pytorch
Mentioned in GitHub
watsonyanghx/GAN_Lib_Tensorflow
tf
Mentioned in GitHub
milmor/ladagan
tf
Mentioned in GitHub
jleinonen/keras-fid
Mentioned in GitHub
recluse27/Colorizator
tf
Mentioned in GitHub
sergkuzn148/stg
pytorch
Mentioned in GitHub
SUPERSHOPxyz/stylegan3-gradient
pytorch
Mentioned in GitHub
rucmlcv/L2M-GAN
pytorch
Mentioned in GitHub
agupta231/CARROL
tf
Mentioned in GitHub
Mohanned-Elkholy/ResNet-GAN
pytorch
Mentioned in GitHub
alfagao/DeOldify
pytorch
Mentioned in GitHub
leognha/PyTorch-FID-score
pytorch
Mentioned in GitHub
chameleonTK/continual-learning-for-HAR
pytorch
Mentioned in GitHub
raahii/video-gans-evaluation
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-cifar-10WGAN-GP + TT Update Rule
FID: 24.8
image-generation-on-lsun-bedroom-64-x-64WGAN-GP + TT Update Rule
FID: 9.5

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
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium | Papers | HyperAI