Subscribe
AI
6 min read

What Is FID? The Metric That Ranked AI Images for a Decade

Frechet Inception Distance scored every generative image model from StyleGAN to Imagen. Here is how it works, what it hides, and what is replacing it.

Olivetti-style poster with two dashed ellipses of dots joined by a measurement bracket, headline WHAT IS FID? THE IMAGE METRIC
Olivetti-style poster with two dashed ellipses of dots joined by a measurement bracket, headline WHAT IS FID? THE IMAGE METRIC

Every image-generation paper you have read since 2018 probably reports one number you cannot eyeball. It is usually a two-digit score next to words like "50K" or "ImageNet," and for nearly a decade it decided which model was state of the art. That number is the Frechet Inception Distance, or FID. A paper from April 2026 describes the era bluntly: "For nearly a decade, the community has been collectively performing gradient descent on this single metric." The community has also spent the last two years taking the metric apart. This explainer covers what FID measures, why it won, and what it got wrong.

What FID actually computes

FID was introduced in 2017 by Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler and Sepp Hochreiter at Johannes Kepler University Linz, in a paper about stabilizing GAN training. The evaluation metric proposed inside that paper outlived the training trick it was bundled with.

The metric never looks at pixels. Comparing a generated cat to a real cat pixel by pixel is meaningless, because good images differ from each other in every position. Instead FID asks a trained image classifier to describe both piles of images. The classifier is Inception-v3, the reference ImageNet-era network published by Christian Szegedy and colleagues in late 2015 (paper here), whose final pooling layer gives a 2,048-dimensional descriptor per image. FID runs tens of thousands of real images and tens of thousands of generated images through it, and records the 2,048-dimensional activation vector of the final pooling layer, the representation sitting just below the object categories.

Then it compresses each pile. For both sets of activation vectors it computes a mean vector and a covariance matrix, which is to say it fits a multivariate Gaussian to each cloud of features. Finally it computes the Frechet distance between the two Gaussians, also known as the Wasserstein-2 distance. The closed-form formula needs only those four objects: the two means and the two covariances. A perfect generator whose outputs are statistically indistinguishable from the reference set scores 0. Lower is better. Typical published scores on ImageNet-family tasks run from single digits for the best models to the tens or hundreds for weak ones.

The intuition is that feature space is a perceptual space. If a generator produces blurry textures, wrong object counts or missing categories, its activation cloud sits in a different place or has a different shape than the real cloud. FID is the distance between the clouds.

Illustration: two image sets fed through a camera-shaped classifier, emerging as two dashed ellipses joined by a measurement span

Why it beat the metric before it

The standard metric before FID was the Inception Score, proposed by Tim Salimans and colleagues in 2016 in an GAN training tricks paper. The Inception Score looked only at generated images, asking whether each one was confidently classifiable and whether the set covered many classes. It had a structural flaw: it never consulted real data, so a model that memorized a few thousand ImageNet images and replayed them could score well. Heusel's team introduced FID explicitly because it was more consistent with human judgment than the Inception Score, and because it compared against real distributions, it captured both quality and diversity in one number.

Adoption was fast and then permanent. Nvidia's StyleGAN paper made FID the scoreboard of the GAN era. Google's Imagen paper reported a state-of-the-art FID of 7.27 on COCO in 2022 and used it as its headline quantitative result. The metric also traveled: the Fréchet Video Distance adapted the recipe for video models, led by Thomas Unterthiner, a co-author of the original FID paper. By 2024, FID was still described on its reference summary page as the standard quality metric for synthetic image models.

The recipe hardened into convention: generate 50,000 samples, use a standard reference set like COCO-30k or the ImageNet validation split, and use one of a few public implementations, notably Nvidia's StyleGAN-era metric code, because tiny implementation differences in image resizing change the score. A number only means something when your neighbor used the same harness.

The cracks

Three lines of research broke the consensus.

The Gaussian assumption throws away everything. FID models a complex feature cloud with two statistics: mean and covariance. Any two distributions that share those statistics are identical to FID. Researchers noticed this early enough that Tuomas Kynkaanniemi and colleagues at Nvidia added separate precision and recall tests in 2019, because FID alone blurs the distinction between a generator that makes only realistic images (high precision, low diversity) and one that covers everything badly. FID cannot separate those cases reliably; precision and recall can, which is why serious evaluations started reporting both.

Sample size moves the number. Estimating a 2,048-by-2,048 covariance matrix from 10,000 samples is a small-sample statistics problem, and the estimator is biased.

Illustration: gauges giving conflicting readings to an orderly stack and a fragmented stack of photos

In 2020, Alexander Mathiasen and Frederik Hvilshoj showed the bias is large enough to matter and even proposed backpropagating through FID itself as a training loss. A 2026 paper from Quentin Berthet and colleagues, MIND: Monge Inception Distance, states the consequence directly: FID's need to estimate high-dimensional covariance is behind its "poor sample complexity," and their sliced optimal-transport alternative claims 5,000 samples can replace FID with 50,000.

Inception-v3 is the wrong witness. The classifier FID trusts was trained on 2012-era ImageNet labels. A CVPR 2024 paper by Sadeep Jayasumana and colleagues tested FID against human raters on modern text-to-image models and found it wanting: FID "contradicts human raters," fails to reflect the gradual improvement of iterative model versions, does not track distortion levels, and changes inconsistently when sample size varies. Their diagnosis is that Inception features simply cannot represent the varied content of text-to-image output. They proposed CMMD, which compares CLIP embeddings of the two image sets with a kernel distance that fits no Gaussian at all and needs no 50,000-sample budget.

A second 2026 paper adds a quieter problem. Yunghee Lee and Byeonghyun Pak studied six reference datasets and found that the geometry of the reference set itself decides whether FID improves when sample quality improves: on dispersed datasets, better samples can produce a worse FID. The number is not purely a property of your model. It is partly a property of your benchmark.

What teams use now

Production image-model evaluation in 2026 is a stack. FID-style scores still anchor papers because reviewers expect them, and the Representation Frechet Loss paper shows the idea circling back: instead of only grading with the Frechet distance, that team optimizes it directly as a training loss using modern vision encoders such as DINOv2 and SigLIP, noting that optimizing modern representation spaces improves their target metric while worsening legacy FID. Labs that train commercial image and video models now report human preference win-rates and text-alignment scores as the primary axis, with CLIP-space metrics like CMMD as the cheap automatic proxy, and FID mostly as a regression test on fixed reference sets.

If you are evaluating a model yourself, the practical rules fall out of the research. Hold the reference set and the harness fixed so scores are comparable across your own versions. Use at least tens of thousands of samples if you insist on FID, fewer if you use CMMD or MIND. Report a diversity-sensitive companion metric next to any single Frechet-style number. And when an FID delta decides a product claim, treat it the way leaderboard deltas are treated everywhere else on this site: as a weak signal that a human check should confirm.

Sources

AILLMeducational