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

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

26 Jun 2017NeurIPS 2017 12arXiv:1706.08500archive 2025-07-28

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

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\'echet 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1706.08500")

Code

Syntology Ran 3 of 4 code samples harvested from 4 repositories linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 3 samples from 3 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

71 repositories listed; official and paper-mentioned ones first.

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

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

4 samples harvested; 3 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
2ran · fixture could not drive it
1unverified

Licence: 1 of the 4 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_frechet_distance bioinf-jku/TTUR/fid.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 5277c96076ea2fe5 · report
calculate_frechet_distance hidekifujinami6/gan_evaluation/fid_score.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 80628f7f07bed5a8 · report
quick_scale SiskonEmilia/StyleGAN-PyTorch/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · b919a96235b8ee68 · report
get_activations yenchenlin/fid/fid_score.py community (archive-listed) unverified Apache-2.0 (permissive) · 04254f2109518e2b · report

Tasks

Emotion Recognition in ConversationImage GenerationVideo Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Generation CIFAR-10 WGAN-GP + TT Update Rule FID 24.8 #61 of 78 Archive leaderboard report
Image Generation LSUN Bedroom 64 x 64 WGAN-GP + TT Update Rule FID 9.5 #2 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: TTUR

AdamBatch NormalizationConvolutionDCGANLayer NormalizationReLUTTURWGAN GPWGAN-GP Loss

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections