MIND: Monge Inception Distance for Generative Models Evaluation

Quentin Berthet, Yu-Han Wu, Clement Crepy, Romuald Elie, Klaus Greff, Michael Eli SanderNeurIPS 2026

TL;DR

Evaluating generative image models usually means generating 50,000 images just to compute a single Fréchet Inception Distance (FID) score—a slow, statistically brittle process. This paper introduces MIND (Monge Inception Distance), a drop-in replacement that swaps clunky high-dimensional matrix math for simple 1D sorting along random projections. The result is a metric that needs 10× fewer samples, runs over 100× faster, and can't be easily tricked by matching basic statistics.

What Problem Does This Paper Address?

Suppose you’ve just trained a diffusion model. How do you objectively know if its generated cats look like real cats? The standard pipeline passes both real and generated images through a pre-trained feature extractor (traditionally Inception-v3) to get 2,048-dimensional embeddings, then measures the statistical distance between the two clouds of points.

Figure 2: General pipeline for evaluating generative model sampling distance to a dataset.

For years, the gold standard for measuring that gap has been FID. FID simplifies the problem by assuming both embedding clouds are big multivariate Gaussians, comparing only their means ($\mu$) and $2048 \times 2048$ covariance matrices ($\Sigma$).

This creates two major headaches:

  1. Sample hunger: Estimating a $2048 \times 2048$ covariance matrix accurately requires huge sample sizes—typically 50,000 generated images. With fewer samples, FID becomes heavily biased and noisy, turning live training evaluation into a massive bottleneck.
  2. Blindness to shape: Because FID only sees the first two moments (mean and covariance), it isn't a true mathematical distance. Two wildly different distributions can share the exact same mean and covariance, leaving FID vulnerable to "metric hacking."

Methods

Named after Gaspard Monge, the father of optimal transport theory, MIND ditches the Gaussian assumption entirely. Instead, it uses the Sliced Wasserstein Distance.

Computing optimal transport ("earth mover's distance") directly in 2,048 dimensions is computationally brutal. MIND sidesteps this with a neat geometric trick:

  1. Pick $M$ random unit directions on a hypersphere (typically $M \in [100, 1000]$).
  2. Project both the real and generated $d$-dimensional embeddings onto each 1D line.
  3. Compute the exact 1D squared Wasserstein distance ($W_2^2$) along each line and average them.
Figure 3: Computation of MIND based on the idea of Sliced Wasserstein, illustrated in 2D with a single projection. (Left) Two samples of synthetic embeddings (orange and blue), along with the unit sphere and a random unit direction u. (Bottom Right) The two histograms of distributions of the projections along u. (Top Right) The associated cumulative distribution functions (cdf), the hatched area is related to 1D Wasserstein distances along u: it is the W1 distance, and used for all convex costs with pairwise sorted distances.

Why 1D? Because in one dimension, optimal transport has a trivial closed-form solution: you just sort the numbers and average the squared differences between paired elements! Sorting runs in $O(n \log n)$ time, requires almost no memory, and parallelizes effortlessly on GPUs and TPUs.

Finally, because projecting $d$-dimensional vectors onto a 1D line shrinks squared distances by a factor of $1/d$, the authors multiply the result by a scaling factor $\alpha = 3d$. This aligns MIND's numerical scale directly with FID, making it an intuitive drop-in replacement. While demonstrated on Inception-v3 for fair comparison, MIND works on any embedding space (CLIP, DINO, audio, or video).

Datasets

No new benchmarks are introduced. Evaluations primarily use ImageNet-64 (100k real images vs. 50k generated samples per model from U-Net diffusion models and BigGAN). For perturbation tests, ImageNet-64 is also mixed in varying ratios with CelebA.

Key Insights and Ideas

  • Sorting beats matrix square roots: Replacing $d \times d$ covariance estimation and matrix square roots with 1D sorting eliminates rank-deficiency issues when sample size $n \le d$. You no longer need tens of thousands of samples just to stabilize your linear algebra.
  • True metrics resist "moment hacking": The authors construct an adversarial attack where identical copies of an image are imperceptibly perturbed via gradient descent so their embeddings match the exact mean and covariance of real data. Because MIND is a proper statistical distance (zero if and only if the distributions are identical), it catches the distributional mismatch that fools FID.
  • Reliable fast-loop tuning: Tasks like sweeping Classifier-Free Guidance (CFG) strengths or finding early-stopping steps in diffusion samplers fail with low-sample FID due to severe upward bias. MIND at 2k samples cleanly matches its 10k trajectory, making rapid online tuning practical.

Key Results

  • 10× Sample Efficiency: $\text{MIND}_{5k}$ correlates at 0.997 with $\text{FID}_{50k}$ across diffusion training runs, while correlating better with training progress (0.888 vs. 0.875) and avoiding early saturation. Even 1k–2k samples remain highly informative.
Figure 1: (Left) MIND metric during a diffusion model training run on ImageNet-64 (log scale), illustrating how MIND5k can be used to replace FID50k, with a wider dynamic range across early training steps without saturating—see Section 4.1. (Right) Correlation with number of training steps - better for MIND1k and MIND5k than FID with 50k samples.
  • >100× Speed & Memory Gains: On a TPUv4 (excluding image generation time), computing $\text{MIND}_{5k}$ is ~150× faster than $\text{FID}_{50k}$ (and >100× faster at equal sample sizes), while using over 10× less peak memory at $n=5\text{k}$ and nearly 100× less than at $n=50\text{k}$.
  • Superior Discriminative Power: When distinguishing generated diffusion images from real data across 512 trials, MIND hits 0% error at $n \ge 5,000$ (and $n \ge 500$ for BigGAN), whereas FID still fails at $n = 10,000$. For ranking model checkpoints, MIND hits <0.5% error by $n = 1,000$, while FID needs $n \ge 5,000$.
  • Adversarial Robustness: Under the moment-matching attack, FID drops to 11.2% of its initial value (and variants $\mu\text{FID}$/$\sigma\text{FID}$ drop below 5%), whereas MIND retains 31.1% of its distance.

Limitations and Future Work

The authors note two main caveats:

  • Affected, though not broken, by moment matching: While much sturdier than FID or MMD, MIND still drops to ~31% under moment-matching attacks because matching the first two moments partially aligns the 1D projections.
  • Purely distributional: Like FID, MIND only measures statistical distance to a reference dataset in an embedding space. It does not directly measure human aesthetics, semantic coherence, or text legibility—and its perceptual Blind spots will still depend on whatever feature extractor ($\psi_w$) you plug into it.

Summary updated

Abstract

We propose the Monge Inception Distance (MIND), a metric for evaluating generative models that addresses key limitations of the widely adopted Fréchet Inception Distance (FID). The MIND metric leverages the sliced Wasserstein distance to compare distributions by averaging one-dimensional optimal transport distances, efficiently computed via sorting. This approach circumvents the estimation of high-dimensional means and covariance matrices, which underlie FID's poor sample complexity and vulnerability to adversarial attacks. We empirically demonstrate three primary advantages: (i) it is more sample-efficient by one order of magnitude, (ii) it is faster to compute by two orders of magnitude, (iii) it is more robust to adversarial attacks such as moment-matching. We show that MIND with 5k samples can replace the evaluation performance of FID with 50k samples, providing high correlation with this standard benchmark and superior discriminative performance. We further demonstrate that even smaller sample sizes (e.g., 1k or 2k) remain highly informative for rapid model iteration.
BibTeX
@inproceedings{berthet2026mind,
  author = {Quentin Berthet and Yu-Han Wu and Clement CREPY and Romuald Elie and Klaus Greff and Michael Eli Sander},
  title = {{MIND: Monge Inception Distance for Generative Models Evaluation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=dkjQz0fwDs},
}
Figure