When, Why, and Which Pretrained GANs Are Useful?

Timofey Grigoryev, Andrey Voynov, Artem Babenko
2/17/2022
cs.LGcs.CV

Official code: yandex-research/gan-transfer (25 stars, Jupyter Notebook, last commit 2022-02-21).

Abstract

The literature has proposed several methods to finetune pretrained GANs on new datasets, which typically results in higher performance compared to training from scratch, especially in the limited-data regime. However, despite the apparent empirical benefits of GAN pretraining, its inner mechanisms were not analyzed in-depth, and understanding of its role is not entirely clear.

Show full abstract

Moreover, the essential practical details, e.g., selecting a proper pretrained GAN checkpoint, currently do not have rigorous grounding and are typically determined by trial and error. This work aims to dissect the process of GAN finetuning. First, we show that initializing the GAN training process by a pretrained checkpoint primarily affects the model's coverage rather than the fidelity of individual samples. Second, we explicitly describe how pretrained generators and discriminators contribute to the finetuning process and explain the previous evidence on the importance of pretraining both of them. Finally, as an immediate practical benefit of our analysis, we describe a simple recipe to choose an appropriate GAN checkpoint that is the most suitable for finetuning to a particular target task. Importantly, for most of the target tasks, Imagenet-pretrained GAN, despite having poor visual quality, appears to be an excellent starting point for finetuning, resembling the typical pretraining scenario of discriminative computer vision models.

View on arXivView PDF

Code Implementations(1)

Supplementary code for "When, Why, and Which Pretrained GANs Are Useful?" (ICLR'22)

252Jupyter Notebook, PythonFeb 11, 20224 years ago

Similar Papers

Cite this paper

@article{grigoryev2022when,
  title  = {When, Why, and Which Pretrained GANs Are Useful?},
  author = {Timofey Grigoryev and Andrey Voynov and Artem Babenko},
  year   = {2022},
  eprint = {2202.08937},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.08937}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.08937.svg)](https://codeofpaper.com/paper/2202.08937)

Discussion