Top-k Training of GANs: Improving GAN Performance by Throwing Away Bad Samples
Samarth Sinha, Zhengli Zhao, Anirudh Goyal, Colin Raffel, Augustus Odena
Abstract
We introduce a simple (one line of code) modification to the Generative Adversarial Network (GAN) training algorithm that materially improves results with no increase in computational cost: When updating the generator parameters, we simply zero out the gradient contributions from the elements of the batch that the critic scores as 'least realistic'. Through experiments on many different GAN variants, we show that this 'top-k update' procedure is a generally applicable improvement. In order to understand the nature of the improvement, we conduct extensive analysis on a simple mixture-of-Gaussians dataset and discover several interesting phenomena. Among these is that, when gradient updates are computed using the worst-scoring batch elements, samples can actually be pushed further away from their nearest mode. We also apply our method to recent GAN variants and improve state-of-theart FID for conditional generation from 9.21 to 8.57 on CIFAR-10. ⇤ Samarth Sinha and Zhengli Zhao contributed equally as joint first authors.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a6b0127c-ac30-4e85-a15a-30802686304bCited by top-tier papers8
- Improved Consistency Regularization for GANsZhengli Zhao, Sameer Singh, Honglak Lee, Zizhao Zhang et al.AAAI 2021 · 166 citations
- Styleformer: Transformer based Generative Adversarial Networks with Style VectorJeeseung Park, Younggeun KimCVPR 2022 · 49 citations
- When, Why, and Which Pretrained GANs Are Useful?Timofey Grigoryev, Andrey Voynov, Artem BabenkoICLR 2022 · 25 citations
- Self-Diagnosing GAN: Diagnosing Underrepresented Samples in Generative Adversarial NetworksJinhee Lee, Haeri Kim, Youngkyu Hong, Hye Won ChungNeurIPS 2021 · 25 citations
- Accelerating Federated Learning with Quick Distributed Mean EstimationRan Ben-Basat, Shay Vargaftik, Amit Portnoy, Gil Einziger et al.ICML 2024 · 11 citations
Builds on6
- Consistency Regularization for Generative Adversarial NetworksHan Zhang, Zizhao Zhang, Augustus Odena, Honglak LeeICLR 2020 · 305 citations
- Improved Consistency Regularization for GANsZhengli Zhao, Sameer Singh, Honglak Lee, Zizhao Zhang et al.AAAI 2021 · 166 citations
- Small-GAN: Speeding up GAN Training using Core-SetsSamarth Sinha, Han Zhang, Anirudh Goyal, Yoshua Bengio et al.ICML 2020 · 87 citations
- Bridging the Gap Between f-GANs and Wasserstein GANsJiaming Song, Stefano ErmonICML 2020 · 45 citations
- Your Local GAN: Designing Two Dimensional Local Attention Mechanisms for Generative ModelsGiannis Daras, Augustus Odena, Han Zhang, Alexandros G. DimakisCVPR 2020
Related papers
- Collaborative Sampling in Generative Adversarial NetworksYuejiang Liu, Parth Kothari, Alexandre AlahiAAAI 2020 · 17 citations
- Adaptive Weighted Discriminator for Training Generative Adversarial NetworksVasily Zadorozhnyy, Qiang Cheng, Qiang YeCVPR 2021
- Training GANs with Stronger Augmentations via Contrastive DiscriminatorJongheon Jeong, Jinwoo ShinICLR 2021 · 68 citations
- Taming GANs with Lookahead-MinmaxTatjana Chavdarova, Matteo Pagliardini, Sebastian U. Stich, François Fleuret et al.ICLR 2021 · 4 citations
- Your GAN is Secretly an Energy-based Model and You Should Use Discriminator Driven Latent SamplingTong Che, Ruixiang Zhang, Jascha Sohl-Dickstein, Hugo Larochelle et al.NeurIPS 2020 · 128 citations
