A generator has no right answer to compare against, so it is judged by comparing two sets of images in a feature space: every image metric is a choice of features, a distance between the two clouds of vectors, and a sample count; text-to-image adds a check against the prompt, and in the end people decide.
You need: what CLIP and DINOv2 are, from the sibling page Vision encoders: ViT, CLIP and SigLIP; Bradley-Terry ratings, from Human preference and arenas. Everything else is defined here.
Two knobs move every number in the first row without changing a single image: N, the sample count (section 3), and the pixels that reach the features: file format, resizing (section 5).
| Metric | Features | Distance | Catches | Misses or misleads |
|---|---|---|---|---|
| FID | Inception-v3 pool, 2,048-d (ImageNet classifier) | Fréchet distance of two Gaussians | bad images and too little variety, in one number | biased upward at small N; moved by JPEG and resizing; ImageNet-class leakage; blind to the prompt |
| KID | Inception, 2,048-d | unbiased kernel MMD (cubic polynomial) | the same as FID, with honest error bars | the same features, so the same leakage and preprocessing traps |
| Precision / recall | any (VGG-16 in the paper) | k-nearest-neighbour balls | separates fidelity from variety | sensitive to outliers and to k |
| FD-DINOv2 | DINOv2 ViT-L/14 (self-supervised) | Fréchet distance | agrees with human judgments where Inception does not | still biased in N; a different scale from FID |
| CMMD | CLIP ViT-L/14 at 336 px | Gaussian-kernel MMD | no Gaussian assumption; text-to-image era features | official code uses the biased estimator; CLIP's own blind spots |
| CLIPScore | CLIP image and text | cosine to the prompt | gross prompt mismatch | counts, relations, text; a "bag of words" |
| VQA-based (TIFA, VQAScore, GenEval) | a VLM or detector answers questions | share of yes answers | missing objects, counts, colours, positions | only as good as the VLM; its own hallucinations |
| Human preference | people, or reward models trained on their votes | pairwise wins, Elo / Bradley-Terry | what users actually prefer | style, self-selected prompts, reward hacking |
Everything measured here uses the topic's data setup: the 10,000 Fashion-MNIST test images are the reference, and eight sets of 10,000 images, from perfect to bad, are scored against them. They come from checkpoints the topic's earlier runs and sibling pages already trained; nothing was trained for this page.
Each strip: the first image of each class, T-shirt to ankle boot (the VAE ignores labels, so its strip is ten random draws; the "half" set only has the first five classes). measured on Apple M1 Pro (MPS); sampling times in the Metric comparator tab.
A classifier is scored image by image. A generator draws a new image from noise, and there is no "correct" image for that noise; the question is whether its output distribution matches the data distribution. That splits into fidelity (does each image look real? a blurry VAE sample fails), coverage (does it make everything the data has, in the right proportions? a model that only draws trousers fails), alignment (does the image match its class label or prompt?) and preference (would a person choose it? which mixes all three with taste). One number cannot answer all four.
Images are compared in a feature space because raw pixels are a bad one: shift a shirt by two pixels and almost every pixel changes. The network decides what "similar" means: Inception-v3 was trained to name 1,000 ImageNet classes, DINOv2 learned without labels, CLIP learned from captions. That is why the same eight sets are ranked differently by different metrics (section 4).
FID, the Fréchet Inception Distance (Heusel et al. 2017), is the standard score for image generators. FID in four steps (features, a Gaussian per set, the distance between the Gaussians, the number) on real data first: a good model, a blurry one and a model with half the variety go through the same steps. Pick a set; the figure replays.
Drawn: 300 test images and 300 samples of the chosen set on the plane of the first two principal components of the real features (18% of their variance); each bell's height is its fitted density, on one scale. The terms and FID use all 2,048 dimensions over all 10,000 images. measured on Apple M1 Pro (MPS features, CPU float64 statistics).
The Distance between the two Gaussians, the Fréchet (2-Wasserstein) distance, has a closed form:
Read the two terms for the two failures. The VAE's samples are blurry, so their features sit away from the real ones and the mean term is large. The "half" set holds perfect real images of 5 classes: each image is flawless, yet its FID is far from the floor, mostly through the covariance term. FID cannot tell you which failure you have; precision and recall can (section 4).
The topic's own implementation (shared by every run in the topic), the formula line for line:
def frechet(mu1, s1, mu2, s2):
"""||mu1 - mu2||^2 + Tr(S1 + S2 - 2 (S1 S2)^(1/2)) (Dowson and Landau 1982; Heusel et al. 2017)."""
diff = mu1 - mu2
covmean = linalg.sqrtm(s1 @ s2) # scipy >= 1.16: no disp argument
if not np.isfinite(covmean).all():
off = np.eye(s1.shape[0]) * 1e-6
covmean = linalg.sqrtm((s1 + off) @ (s2 + off))
covmean = covmean.real
return float(diff @ diff + np.trace(s1) + np.trace(s2) - 2 * np.trace(covmean))
tr_covmean = np.sum(np.sqrt(np.linalg.eigvals(sigma1.dot(sigma2)).astype("complex128")).real)). This page's scripts use the same identity in a symmetric form and agree with scipy's sqrtm to 1e-05 (the 1,000 VAE samples: 86.91202 against 86.91201).torch-fidelity's Inception feature extractor insists on uint8 input and resizes inside the network (torch_fidelity/feature_extractor_inceptionv3.py lines 103 and 111, v0.4.0): vassert(torch.is_tensor(x) and x.dtype == torch.uint8, "Expecting image as torch.Tensor with dtype=torch.uint8") then x = interpolate_bilinear_2d_like_tensorflow1x(x, size=(self.INPUT_IMAGE_SIZE, self.INPUT_IMAGE_SIZE), align_corners=False). That bilinear resize copies the 2017 TensorFlow code on purpose, so its numbers match the papers that used it; section 5 shows what other resizes do.
FID at N samples is too large, by roughly K/N: Chong and Forsyth 2020 showed FIDN ≈ FID∞ + K/N, with a slope K that depends on the generator. The figure plays it on the page's runs: each column is one set scored on N of its images against the full 10,000 test images (the mean of three draws below 10,000).
Hence the convention: 50,000 generated images against statistics of the whole training set (since Heusel et al.; stated for ADM by Dhariwal and Nichol 2021 and for EDM2 by Karras et al. 2024). The official FID code warns: "We recommend using a minimum sample size of 10,000 to calculate the FID otherwise the true FID of the generative model is underestimated" (TTUR README; read "misestimated": the finite-N error is an overestimate, as the curves show). Below 2,048 samples the covariance is not even full rank.
FID is biased upwards at small counts even with nothing wrong. Two samples drawn from the same distribution still get a positive FID, and it shrinks as the count grows:
import numpy as np
from scipy import linalg
def fid(a, b): # the Frechet distance FID uses, on any features
m1, m2 = a.mean(0), b.mean(0)
s1, s2 = np.cov(a, rowvar=False), np.cov(b, rowvar=False)
covmean = linalg.sqrtm(s1 @ s2).real
return float(((m1 - m2) ** 2).sum() + np.trace(s1 + s2 - 2 * covmean))
d = 64 # Inception features have 2,048 dimensions; 64 keeps this fast
rng = np.random.default_rng(0)
A = rng.normal(size=(d, d)) / np.sqrt(d)
cov = A @ A.T + 0.1 * np.eye(d) # one fixed "true" feature distribution
L = np.linalg.cholesky(cov)
draw = lambda n: rng.normal(size=(n, d)) @ L.T
for n in [500, 2000, 10000, 50000]:
scores = [fid(draw(n), draw(n)) for _ in range(3)]
print(f"n = {n:>6}: FID between two samples of the SAME distribution = {np.mean(scores):.4f} (3 draws: {', '.join(f'{s:.4f}' for s in scores)})")n = 500: FID between two samples of the SAME distribution = 3.3324 (3 draws: 3.3952, 3.3297, 3.2723) n = 2000: FID between two samples of the SAME distribution = 0.8557 (3 draws: 0.8410, 0.8715, 0.8546) n = 10000: FID between two samples of the SAME distribution = 0.1669 (3 draws: 0.1666, 0.1617, 0.1726) n = 50000: FID between two samples of the SAME distribution = 0.0331 (3 draws: 0.0338, 0.0334, 0.0322)measured on Apple M1 Pro CPU (numpy 2.5.4, scipy 1.18.1; the root’s
src/read/fid_bias.py). The true distance is 0; the estimate falls roughly as 1 / n, and with 2,048 Inception dimensions instead of 64 the bias is far larger. So "FID 3.3" at 500 samples and "FID 0.03" at 50,000 can be the same model: compare only at equal n, and prefer 50,000.Three draws per point below 10,000; reference always the full 10,000 test images. Dashed (1/N view): the straight-line fit FIDN = FID∞ + K/N through N = 1,000 to 10,000, extended to 1/N = 0. measured on Apple M1 Pro.
Every fix to FID changes one box of the hero: the distance (KID, precision and recall, CMMD's kernel) to drop the Gaussian assumption or the bias, or the features (FD-DINOv2, CMMD's CLIP) to stop seeing the world as ImageNet classes. All were run on the same eight sets; the Metric comparator tab has every value at every N.
MMD compares two sets through a kernel k(x, y), a similarity between two feature vectors: MMD² = mean k within real + mean k within generated − 2 mean k across; identical clouds give 0. KID (Bińkowski et al. 2018) uses Inception features and the cubic kernel k(x, y) = (x·y / d + 1)³, and drops the k(x, x) terms from the within-set means. That makes it unbiased: its average over draws is the true value at any N, so the floor sits at 0 and only the error bar shrinks with N. The KID paper's example, CIFAR-10 train against test: "at n=2 000, when the KID estimator is essentially always 0, the FID estimator is still quite large" (section 4). torch-fidelity computes it on 100 random subsets of 1,000 images per side (defaults.py lines 20 and 21, v0.4.0) and reports mean and standard deviation; the score is usually printed times 1,000.
The real set's KID is -0.13 at 250 and -0.01 at 10,000: zero within noise at every N, where its FID falls from 44.9 to 2.54. DDPM's KID is 5.58 at 250 and 5.05 at 10,000: the same value, so small-N KIDs can be compared with large-N ones. Check against torch-fidelity's own KID on 2,000 random DDIM samples: 4.97 (x 1,000), this page's 5.09 (different random subsets). The cost is noise: one draw at small N can come out negative (an unbiased estimate of a value near zero has to). Report the spread across subsets and compare models at the same subset size.
KID stays put as N shrinks (x 1,000; mean of three draws at 250):
Kynkäänniemi et al. 2019 estimate each set's region of feature space as a union of balls, one around every sample, with radius equal to its distance to its k-th nearest neighbour (k = 3). Precision is the share of generated samples inside the real region (realistic?); recall is the share of real samples inside the generated region (covered?). The paper used VGG-16 features and 50,000 images per set; here, Inception and DINOv2 features at 10,000.
The real set scores precision 0.78 and recall 0.78: with k = 3 even real data is not at 1.00, so read each model against it. The half set keeps real-level precision (0.79) and loses recall (0.46); strong guidance (flow s = 4) has precision 0.75 and recall 0.15 against 0.61 and 0.47 without guidance; the VAE is low on both (0.16, 0.08). These are the two failures FID merged in section 2. Their weakness: one real outlier swells the real region, and fakes clustered near it count as precise; Naeem et al. 2020 proposed density and coverage to fix that.
Top right is perfect. measured on Apple M1 Pro; k = 3, equal set sizes, reference = the 10,000 test images.
Stein et al. 2023 ran what they call the largest human study of generative-model realism so far and found "no strong correlation between human evaluation and any common metric computed in the Inception representation space outside of the simplistic CIFAR10 dataset"; replacing Inception-V3 with DINOv2 ViT-L/14 (self-supervised, 142M images without labels) "recovers the correlation". Diffusion models fooled their raters more often yet were ranked worse than GANs by FID. EDM2 (Karras et al. 2024) reports both, FID 1.81 and FDDINOv2 33.09 for EDM2-XXL with guidance on ImageNet-512 (Tables 2 and 5), and the two want different settings (best guidance 1.4 for FID, 1.9 for FDDINOv2), so they tuned each separately. FD values live on DINOv2's scale: an FDDINOv2 of 33 is not "worse" than an FID of 1.81 from the same model.
Here: DINOv2 ViT-B/14 (the model pinned by Vision encoders; the paper's L/14 was not run), the final [CLS] vector; the test-set vectors reproduce that page's stored embeddings (cosine 1.0000 at worst over the 10,000 images). The real floor here is 17.1 at 10,000 and 375 at 250: DINOv2's 768 features carry a large small-N bias too. Its order of the six models: DDPM 250, flow s=1.5, DDIM 10, flow s=1, flow s=4, VAE; Inception's: DDPM 250, DDIM 10, flow s=1.5, flow s=1, flow s=4, VAE. The visible change: DINOv2 puts DDIM with 10 steps (219) behind flow with s = 1.5 (217), where Inception has DDIM second.
Jayasumana et al. 2024 ("Rethinking FID") replace both parts: L2-normalised CLIP ViT-L/14 at 336 px embeddings, and MMD with a Gaussian kernel exp(−‖x − y‖² / 2σ²), σ = 10, times 1,000. FID needed "more than 20,000 images" to settle on COCO-30K subsets while "CMMD provides consistent estimates even with small image sets"; on PartiPrompts raters preferred a fully trained Muse model 92.5% to 6.9% over an early-stopped one while FID preferred the early-stopped one, and CMMD agreed with the raters.
Here: the official code's kernel, scale and estimator, on CLIP ViT-B/32 (the topic's pinned CLIP) for the full sweep, because the paper's L/14 at 336 px ran at about 10 images per second on this laptop (the 10,000 test images took 1,022 s, measured). As a check, both scored the same 1,000-image subset of each set: L/14-336 orders the five model sets DDPM 250, flow s=4, flow s=1, DDIM 10, VAE; B/32 orders them DDPM 250, flow s=4, flow s=1, DDIM 10, VAE (the same order). Values differ in scale (VAE 1.32 against 0.46; DDPM 0.035 against 0.034), so B/32 numbers are not CMMD numbers to quote, only a ranking.
On unit vectors ‖x − y‖² is at most 4, so with σ = 10 the kernel never leaves the range exp(−0.02) to 1, where it is almost a straight line: exp(−d²/200) ≈ 1 − d²/200. Put that into the MMD and every term cancels except the means, so CMMD ≈ 1,000 · ‖μg − μr‖² / σ² = 10 · ‖μg − μr‖². Checked at 10,000: real CMMD 0.0002 against 10 · ‖Δμ‖² = 0.0002; DDPM 250 CMMD 0.0254 against 10 · ‖Δμ‖² = 0.0254; VAE CMMD 0.4795 against 10 · ‖Δμ‖² = 0.4801.
Code: k_xx = jnp.mean(jnp.exp(-gamma * (...))) over the full matrix (cmmd/distance.py, last changed in commit 5b09c22: docstring line 35, the means on lines 59 to 90, _SIGMA = 10 and _SCALE = 1000 on lines 25 and 28); the embeddings are L2-normalised by the scenic CLIP model it calls.
Ranking the six model sets (leaving out the real and half sets) at 10,000 samples, rank in brackets (table beside):
FID, KID and the others agree on the ends (DDPM best, the VAE worst) and disagree in the middle. DDIM with 10 steps is second by FID (13.8) and KID, but 5th by CMMD and 4th by the classifier FD; strong guidance (flow s = 4) is 5th by FID and 3rd by CMMD. Different features see different failures: the classifier knows what each garment should look like, CLIP (with the code's kernel) compares averages, Inception sees through ImageNet classes. A claim that model A beats model B is only as strong as the agreement between metrics with different features.
FID is a function of the pixels that reach Inception, so anything between the generator and the metric changes it: file format, resizing, the reference set, the code. The rule: process both sets identically, with the same code, and say how.
PIL saves JPEG at quality 75 unless told otherwise, so img.save("x.jpg") is enough: FID moves from 2.54 to 10.04. Compress the reference the same way and it comes back to 2.60. The clean-fid paper (Parmar, Zhang and Zhu 2022) found the same on FFHQ: JPEG-75 copies of real images score "a high score (21)", while StyleGAN2 scores "around 3"; and on LSUN Church, whose training images were stored as JPEG, compressing StyleGAN2's samples at quality 87 improved its FID from 4.00 to 3.48.
Compression is not neutral: it erases fine detail the model got wrong as well as detail it got right. The flow model: 15.96, 22.11, 21.40 and 13.75 in the same four cases. Other features notice JPEG too: the JPEG-75 real set's FD-DINOv2 is 81.3 (floor 17.1) and its CMMD 0.103 (floor 0.0002), worse than the flow model's 0.072.
Inception wants 299 x 299. Downsampling with a fixed-width bilinear filter (TensorFlow 1, PyTorch's F.interpolate) aliases: fine detail folds into false patterns. Here the images are 28 px, so the resize is an upsampling and cannot alias; resizing one set differently still moves FID (Fig. 3, step 5). Beside: what each resize hands the network, and the same effect at full scale.
measured on Apple M1 Pro: 10,000 images per set, reference = the 10,000 test images, torch-fidelity 0.4.0 Inception features. Pre-resizing only the real set to 299 with PIL bicubic gives 74.19, with nearest-neighbour 331.25; both sets the same way, 3.22.
published Parmar, Zhang and Zhu 2022, Table 1. Left: FFHQ real images resized to 299 by each library, scored against the PIL-bicubic version of the same images (right answer 0). Right: StyleGAN2's samples resized by each library, against PIL-bicubic reference statistics (2.98 when both match). The same real images already differ by 4.34 (TensorFlow bilinear) and 7.43 (nearest); StyleGAN2's 2.98 becomes 7.45 if only its samples go through TensorFlow's or PyTorch's bilinear resize. Their library offers mode="clean" (PIL bicubic) plus two legacy modes that reproduce the old numbers.
Distribution metrics ignore the prompt: a model that draws beautiful random scenes scores well. For text-to-image each image is also checked against its prompt, either with one similarity or with questions.
CLIPScore (Hessel et al. 2021) is CLIP's cosine between image and text, CLIP-S = 2.5 · max(cos, 0), with CLIP ViT-B/32 (the 2.5 stretches the usual 0 to 0.4 range of cosines; the paper scored captions, prefixed "A photo depicts"). Many text-to-image papers instead report 100 · cos with a larger CLIP and call it "CLIP score": the same idea on another scale. It needs no reference image and inherits CLIP's blind spots: CLIP's text side behaves much like a "bag of words" (the VQAScore authors' phrase), so counts, relations and text are weak, as Vision encoders shows with a typographic image (its section 6).
Question-answering checks ask instead. TIFA (Hu et al. 2023) turns the prompt into question-answer pairs with a language model and asks a VQA model about the image; with mPLUG it correlated with human faithfulness ratings at Spearman 0.60 against 0.33 for CLIPScore (Table 2). DSG (Cho et al. 2024) orders the questions in a dependency graph, so "is the motorcycle blue?" is skipped when there is no motorcycle. VQAScore (Lin et al. 2024) asks one question, "Does this figure show '{text}'? Please answer yes or no.", and uses the probability of "Yes"; on Winoground its group score was 46.0 against 7.8 for CLIPScore.
Compositional benchmarks fix the prompt suite and the judge. GenEval (Ghosh et al. 2023) uses an object detector instead of a VLM for six tasks (single object, two objects, counting, colours, position, attribute binding): SD v1.5 scores 0.43 overall, SDXL 0.55, IF-XL 0.61, with position at most 0.15 (Table 2), and it agrees with human annotators on 83% of images against 88% between annotators. T2I-CompBench (Huang et al. 2023; its extended ++ version: 8,000 compositional prompts in four groups, attribute binding, object relationships, generative numeracy and complex compositions) scores spatial relations and counts with a detector and the rest with multimodal LLMs. DPG-Bench (Hu et al. 2024, ELLA) is about 1,000 dense, long prompts for "dense prompt following". Each reports a per-skill breakdown, which is the useful part.
The topic's eight shared prompts, two seeds, four guidance scales (s = 1 is no guidance: one U-Net pass per step; 7.5 is the default), 64 images. Each image gets CLIPScore with CLIP ViT-B/32 (Hessel's model), the cosine from CLIP ViT-L/14 at 336 px, a VQAScore-style P(yes) and a TIFA-style share of three yes/no questions answered by SmolVLM-500M (the topic's VLM, not the papers' models).
Averaged over the 16 prompt-seed pairs, CLIPScore rises from 0.741 without guidance to 0.834 at s = 3 and 0.851 at 7.5, then 0.843 at 12; the VQA P(yes) from 0.70 to 0.90, the element questions answered yes from 75% to 90%. Without guidance (s = 1, the plain conditional model) several images barely follow the prompt: no stop sign, no lighthouse on a cliff, a distorted puppy (thumbnails above). Guidance costs time: 8.5 s per image at s = 1 (one U-Net pass per step) against 15.7 s with guidance (two). Past s = 3 the averages flatten, while the thumbnails get more saturated, which none of these scores penalises. The VLM has its own errors: it answers yes to "Does the mug say HELLO?" for a mug lettered HELLLO (seed 0, s = 12) and for a plain mug with the word on a card beside it (seed 1, s = 7.5), so a VQA-based score is only as good as its VLM.
SD 1.5 fp16, 512 x 512, 25 DPM-Solver steps, attention slicing; SmolVLM at 320 image tokens. measured on Apple M1 Pro (MPS). Thumbnails reduced for the page.
People are the final judge. Arenas show two anonymous models' images for the same prompt, collect a vote, and fit a Bradley-Terry (Elo-style) rating; the mechanics, confidence intervals and critiques (style, self-selected prompts, private variants) are on Human preference and arenas. The text-to-image boards move monthly; a dated reading is in the closed block at the end of this section.
Reward models learn to predict those votes, so they can score thousands of images (or serve as a reward for fine-tuning). They are measured by the share of held-out human pairwise choices they predict:
Each model wins on its own test set; on another's the gap shrinks (HPS v2 reaches 65.7% on ImageReward's test set, ImageReward 65.1%). PickScore's model rankings correlate 0.790 with the users' own Elo rankings. A reward model is a learned proxy: optimise a generator against it and you get what it rewards, not what people want (the failure Reward hacking describes for language models), and reporting the same reward model you trained against goes up by construction. Hold out a different reward model, a question-based check and a human comparison. These numbers are the papers' (not run here: each model is about 1B parameters and teaches nothing a table does not).
published accuracy on pairwise human choices, HPD v2 test set (Wu et al. 2023); bar length is the accuracy on a 0 to 100% axis, 50% is chance.
| Model | Backbone | Training data | Accuracy on its own test set | Baselines in the same table |
|---|---|---|---|---|
| PickScore (Kirstain et al. 2023) | CLIP-H, fine-tuned | Pick-a-Pic: real users' choices in a web app, 583,747 training examples | 70.5% | expert humans 68.0%, zero-shot CLIP-H 60.8%, aesthetics 56.8% |
| HPS v2 (Wu et al. 2023) | OpenCLIP ViT-H/14, fine-tuned | HPD v2: 798,090 choices | 83.3% | PickScore 79.8%, ImageReward 74.0%, CLIP ViT-H/14 65.1% |
| ImageReward (Xu et al. 2023) | BLIP | 136,892 expert comparisons over 8,878 prompts | 65.14% | CLIP score 54.82%, aesthetic 57.35%, BLIP 57.76% |
The two boards use different anchors and voters, so their numbers are not on one scale: compare ranks, not values. Ratings with few votes ("preliminary") move.
A VLM answers questions about images, so it is graded like a language model, against known answers. The benchmarks are named on Vision-language models: how images become tokens and catalogued with current scores on Long-context and multimodal benchmarks; the statistics of grading (error bars, paired tests) are on Eval statistics. Two habits carry over to every VLM score: report a text-only (blind) baseline beside it (GeminiPro scores 42.9% on MMMU with no image at all, random 22.1%), and report the yes-rate beside any yes/no accuracy (a model that always says yes gets F1 66.67 on POPE). The sibling page ran a POPE-style probe on SmolVLM-500M (69 of 72 right, yes to 2 of 47 absent objects, both adversarial: "a dog" on the cat with a DOG sticker); that page owns the probe.
What each image benchmark guards against, and the number that shows why (POPE's yes-bias, MMBench's CircularEval, MMStar's questions that need the image, OCRBench's five parts), is owned by Long-context and multimodal benchmarks.
FVD (Unterthiner et al. 2018) is the Fréchet distance on features of I3D, an action-recognition network trained on Kinetics. It inherits FID's sample-count and preprocessing traps and adds one: Ge et al. 2024 found that FVD "increases only slightly with large temporal corruption" and that picking motionless samples can "drastically decrease FVD without improving the temporal quality": it mostly scores frames, not motion. Movie Gen's authors state that FVD and IS "do not correlate with human evaluation scores" and use human comparisons instead; VBench (Huang et al. 2023) splits video quality into 16 dimensions, each with its own prompts and evaluator. FAD (Kilgour et al. 2018) is the Fréchet distance on VGGish audio embeddings; on artificial distortions it correlated 0.52 with human ratings, against 0.39 for the signal-to-distortion ratio. The models these score are on Video and audio generation.
Fewer samples than feature dimensions. With N below 2,048 the Inception covariance is singular (below 128 for the classifier's features). Scoring 20 samples in the classifier space during this page's CPU smoke test, the topic's own fid.py printed LinAlgWarning: Matrix is singular. The result might be inaccurate or the array might not have a square root. The number still comes out, and means little.
Taking the first N samples of a class-sorted set. This page's first KID cross-check passed torch-fidelity the first 2,000 DDIM samples. The sets are stored 1,000 per class in class order, so those were T-shirts and trousers only: KID x 1,000 came out 49.7 instead of 4.97 for a random 2,000. Shuffle before taking a subset.
Mixing CLIPScore conventions. 2.5 · cos with ViT-B/32 (Hessel et al.), 100 · cos with ViT-L/14 (many text-to-image papers), with or without "A photo depicts": three scales for one idea. The same SD image scores 0.900 as Hessel's CLIP-S, 0.895 with the "A photo depicts" prefix, and 33.9 as 100 · cos with CLIP L/14-336 (the puppy, seed 0, s = 7.5).
Reading a small FID change as progress. FID went from 9.1 to 8.4 after your change: same reference set, N, resize, file format and code? Several seeds? A 0.7 difference between single runs can be noise. Check precision and recall, the samples, and a second metric with different features (FD-DINOv2 or CMMD).
You ship a new image model weekly. Design its evaluation. Fixed, versioned harness. Fidelity and diversity: FD-DINOv2 and FID (torch-fidelity, PNG, clean resize) on 30k to 50k samples against a fixed reference, plus precision and recall, with seed spread. Prompt following: GenEval-style detector checks and VQA-based scores on a fixed prompt suite, broken down by skill (counting, text, spatial). Preference: a held-out reward model that is never the training reward, plus a weekly blind human side-by-side against the current model (a few hundred pairs, Bradley-Terry with intervals). Safety and regressions: a red-team prompt set. Gate releases on human preference, not on any single automatic metric; track automatic metrics for regressions between human rounds.
How would you measure and reduce VLM hallucination? Measure with POPE-style balanced yes/no questions (random, popular, adversarial absent objects; report yes-rate and F1), a caption hallucination rate, and a blind baseline. Reduce with higher resolution or more image tokens, negative examples ("no") in instruction data, preference tuning against hallucinated answers; re-measure on held-out images.
Runs (measured on Apple M1 Pro, 16 GB; GPU steps on MPS one at a time under the topic's shared lock with PyTorch's memory cap at 0.45 of the machine; torch 2.14.1, diffusers 0.41.0, transformers 5.20.1, torch-fidelity 0.4.0; code in this page's src/runs/, recorded outputs in src/out/):
Models: the topic's checkpoints (TinyUNet DDPM resumed to 8,000 steps by Diffusion from zero, the topic's flow model (root Flow lab recordings), the topic's 16-d VAE (root Latent lab recordings); Fashion-MNIST, MIT licence); stable-diffusion-v1-5/stable-diffusion-v1-5 at 451f4fe (CreativeML OpenRAIL-M; safety checker not loaded); HuggingFaceTB/SmolVLM-500M-Instruct at a7da5b9 (Apache 2.0); openai/clip-vit-base-patch32 at 3d74acf and openai/clip-vit-large-patch14-336 at ce19dc9 (no licence field on the Hub cards; the OpenAI CLIP code is MIT); facebook/dinov2-base at f9e44c8 (Apache 2.0).
Source read: torch-fidelity v0.4.0 (feature_extractor_inceptionv3.py lines 103 and 111, metric_fid.py line 39, defaults.py lines 20 and 21, metric_kid.py line 68); google-research cmmd (distance.py lines 25, 28, 35, 59 to 90; embedding.py line 23; io_util.py line 46) and scenic's CLIP layers.py line 454, read 2026-10-17; the topic's src/data/fid.py. Every line in src/inputs/source_lines.json.
Papers and leaderboards: 73 entries, each with its quote, table and URL, in src/inputs/published.json (read 2026-10-17). Disagreements found while reading them are in the page's src/facts.md (for example CMMD's paper against its code, and the FID sample-size advice living in the code README rather than the paper). T2I-CompBench and DPG-Bench were added on 2026-10-24 from their arXiv abstracts.
src/runs/ and src/out/ in this page's folder; runs/make_data.py builds the page data, runs/check_data.py proves the page embeds exactly it.Five distances, eight sets, six sample counts: every number this page measured. Each set has 10,000 images; at smaller N the value is the mean of three random subsets (the bar shows their range), always against the full 10,000 test images. Lower is better for all five. measured on Apple M1 Pro (MPS features, CPU statistics).
Rank 1 = best among the six model sets (real and half excluded). Red: the rank differs from FID's at the same N; the second table row per set gives the rank at 10,000 for the same metric, so you can see what a small-N evaluation would have concluded.
Pick the question you are trying to answer and how many samples you can afford; the card gives what to compute, how to set it up, what to report next to it, and the evidence on this page or elsewhere. These are recommendations built from the measurements and papers on this page, not a standard.
FID, KID, FD-DINOv2, CMMD and the classifier FD for eight sets at six sample counts, with ranks at any N. about 8 min
Eight evaluation questions, each with what to compute, how to set it up and what to report. about 5 min
The whole topic as a map; this page is its evaluation stop. The models scored here come from the topic's own runs and from Diffusion from zero; how each was trained is on the sibling pages below.
The 8,000-step DDPM scored here; samplers and guidance measured with the classifier FD. 43 min, plus 20 in closed details
The flow model and its guidance scales. 43 min, plus 17 in closed details
Reconstruction metrics (PSNR, SSIM, LPIPS, rFID) and the tokenizer comparator. 40 min, plus 17 in closed details
The DINOv2, CLIP and SigLIP features behind FD-DINOv2, CMMD and CLIPScore. 34 min, plus 12 in closed details
The POPE-style hallucination probe (a closed block in its section 7) and the question set on SmolVLM. 33 min, plus 11 in closed details
The video and audio models FVD and FAD score, and the media-specific measures (VBench, MOS and MUSHRA, WER, speaker similarity, CLAP score) in its section 9. 28 min, plus 17 in closed details
MMMU and its blind baseline, charts, documents, video and audio benchmarks with current scores. about 27 min
Bradley-Terry, confidence intervals, style control and the critiques of arenas, text and image. about 29 min
How many prompts or questions an evaluation needs. about 25 min
Judges, human evaluation and harnesses, for the language side. about 17 min
What happens when a model is optimised against a learned score. 33 min, plus 12 in closed details
FID tables of latent diffusion and how to read their gaps. about 24 min
Estimator bias and variance, the idea behind FID's bias and KID's fix. about 33 min
The definition of FID. about 20 min for section 4
FIDN is linear in 1/N; extrapolate. about 30 min
Aliased resizing and JPEG; the clean-fid library. about 30 min
KID and why it is unbiased. about 30 min
k-NN manifolds for fidelity and coverage. about 25 min
How FID can be gamed without better images. about 30 min
The human study and FD-DINOv2; their dgm-eval code. about 45 min
CLIP features and an MMD distance. about 25 min
The reference-free image-text score. about 20 min
Object-focused prompt-following checks with a detector. about 20 min
Compositional prompts by skill, scored by detectors and multimodal LLMs. about 25 min
Dense, long prompts and the benchmark for following them. about 20 min
One yes/no question, and GenAI-Bench. about 30 min
Preference data from real users and a reward model. about 25 min
The two libraries most FIDs come from today. about 10 min each