Kynkäänniemi, Karras, Laine, Lehtinen and Aila (2019) — ARXIV-1904.06991

Key takeaways

  • The definition, and it is a set-membership question, not a density one. Embed 50 000 real and 50 000 generated images, and for each feature vector form a hypersphere reaching its kth nearest neighbour. The union of the spheres approximates that distribution’s manifold. Then precision = fraction of generated samples inside the real manifold, recall = fraction of real samples inside the generated manifold. Two manifolds, estimated separately, never mixed.

  • The features are VGG-16, activations after the second fully connected layer. Not Inception-v3, which is what FID uses. The authors tried the Zhang et al. perceptual stack too and found VGG-16 fc2 “works considerably better”, because it puts less weight on exact spatial arrangement. Figure 3c shows Inception-v3 features give “substantially similar” results — so the two metrics are not independent instruments, but they are also not the same network, and a document that says they are is wrong.

  • k = 3 and 50 000 samples are the defaults, and k is not a free parameter you can vary between compared runs. “Higher values of k increase the precision and recall estimates in a fairly consistent fashion, and lower values decrease them”, until they saturate at 1.0 or 0.0. k trades manifold coverage against volume overestimation; k = 3 was chosen as the value that avoids saturating “most of the time”.

  • Figure 4 is the case for reporting both, and it is stronger than anything the record had. Four StyleGAN setups on FFHQ:

    setupFIDwhat it looks likeP/R
    A91.7heavily truncated; high quality, all alikehigh P, low R
    B16.9good quality, lower variationhigher P
    C4.5the FID-optimised config; faces start to distortlower P
    D16.7”nearly all of the generated images have low quality”much lower P

    B and D are 0.2 FID apart and perceptually opposite. The paper puts it plainly: “it is unclear which application might favor setup D where practically all images are broken over setup B that produces high-quality samples at a lower variation.” And C, the configuration FID picks, has visible artifacts.

  • FID is not neutral between the two components — it prefers recall. Over six StyleGAN training configurations (Fig. 7), “FID favors configurations with high recall (A, F) over the ones with high precision (B, C), and the same is also true for the individual snapshots”. The best-recall configuration sets a

new state-of-the-art FID on FFHQ. That asymmetry is THEORY-110.

  • The mechanism for the asymmetry is stated, not just observed. FID is a Wasserstein-2 distance in feature space, so “low intrinsic variation implies low FID even when much of that variation is missed”. BigGAN’s per-class numbers show it: “Lemon” and “Broccoli” have very low recall and good FID, while the classes Brock et al. call difficult have higher recall.
  • FID varies by up to ±14% between consecutive training iterations of StyleGAN. Quoted while explaining why snapshots are amortised — a much larger floor than the 1–2% SOTA-307 calibrates for SiT on ImageNet, in a different family and for a different quantity (consecutive snapshots of one run, not seeds).
  • Two metrics turn model selection into a multi-objective problem, and the paper’s answer is the Pareto frontier. With one metric you take the best snapshot. With precision and recall, snapshots “represent a wide range of different tradeoffs”, so they report the minimal subset guaranteed to contain the optimum for any tradeoff rather than assuming which tradeoff you want.
  • The predecessor fails exactly where the metric is needed most. Sajjadi et al.’s (2018) precision/recall calls setups B, C and D “essentially perfect” and gives the heavily truncated A the lowest precision. Under a truncation sweep it reports both precision and recall rising as truncation is removed, which is backwards. The diagnosis: truncation packs samples into a small region, and a relative-density method reads a dense cluster with no real images near it as low precision. Fewer clusters fixes precision and breaks recall.
  • The per-sample extension needs a different estimator. The realism score R(φ_g, Φ_r) = max_φr { ‖φ_r − NN_k(φ_r, Φ_r)‖ / ‖φ_g − φ_r‖ } is continuous and agrees with the binary function at R ≥ 1. But sparse regions of the training set give huge hyperspheres, which are harmless in aggregate and ruinous for one sample, so the half of the hyperspheres with the largest radii are discarded — for R only, never for f. An aggregate estimator and a per-sample estimator of the same quantity needed different bias/variance choices.
  • A side result worth keeping. Of 500 000 StyleGAN interpolation paths with both endpoints on the real manifold, only 2.4% crossed an unrealistic region, “suggesting that the subset of W on the real manifold is highly convex”.

Standing in the anthology

Filed because SOTA-425 made it load-bearing in the unit before this one. The 2026-09-23 metric-definition sweep looked at 1904.06991 and declined it — “named twice, both times as ‘the appendix also reports it’. Not load-bearing on anything” — which was accurate then. SOTA-425 now tells readers to report the metric and argues from its values, so the decline expired and that practice’s Source section said so.

What reading it changed:

  • It corrected the record about its own instrument. SOTA-425 and SOTA-337 both said precision and recall are computed with “the same ImageNet network FID uses”. They are not: VGG-16 fc2 against Inception-v3 pool3. The hazard those documents describe survives — both are ImageNet classifiers — but the sentence did not, and it took the defining paper to see that.
  • It supplies SOTA-425 a better demonstration than its source had, two

conditions it lacked (k, and the Pareto frontier), and THEORY-110.

  • It supplies SOTA-307 a second variance figure from a different family.

What it does not settle. Whether ADM’s precision and recall — the numbers SOTA-425 argues from — were computed in VGG or Inception features. LIT-699 cites this paper for the metric and says it evaluates “all models using the same codebase”, but never names the feature network for precision and recall as it does for FID. So the values are internally consistent and their comparability with numbers from elsewhere is unstated.

The antecedent is unheld and that is a deliberate deferral, not an oversight. Sajjadi et al. (2018), 1806.00035, is the formulation this paper replaces, and everything the record knows about it comes from this paper’s

account of it — the same one-sided position THEORY-109 is in with respect to classifier guidance. Filing it would be the way to check that account rather than repeat it.