The Role of ImageNet Classes in Fréchet Inception Distance

Tuomas Kynkäänniemi, Tero Karras, Miika Aittala, Timo Aila, Jaakko Lehtinen
3/11/2022
322 citations
cs.CVcs.AIcs.LG

Official code: kynkaat/role-of-imagenet-classes-in-fid (27 stars, Python, last commit 2025-09-06).

Abstract

Fréchet Inception Distance (FID) is the primary metric for ranking models in data-driven generative modeling. While remarkably successful, the metric is known to sometimes disagree with human judgement.

Show full abstract

We investigate a root cause of these discrepancies, and visualize what FID "looks at" in generated images. We show that the feature space that FID is (typically) computed in is so close to the ImageNet classifications that aligning the histograms of Top-$N$ classifications between sets of generated and real images can reduce FID substantially -- without actually improving the quality of results. Thus, we conclude that FID is prone to intentional or accidental distortions. As a practical example of an accidental distortion, we discuss a case where an ImageNet pre-trained FastGAN achieves a FID comparable to StyleGAN2, while being worse in terms of human evaluation.

View on arXivView PDF

Code Implementations(1)

The Role of ImageNet Classes in Fréchet Inception Distance

271Python, CudaAug 15, 20221 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kynknniemi2022role,
  title  = {The Role of ImageNet Classes in Fréchet Inception Distance},
  author = {Tuomas Kynkäänniemi and Tero Karras and Miika Aittala and Timo Aila and Jaakko Lehtinen},
  year   = {2022},
  eprint = {2203.06026},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.06026}
}

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/2203.06026.svg)](https://codeofpaper.com/paper/2203.06026)

Discussion