Sample-Optimal Estimation of the Fréchet Inception Distance
Organizations: University of Washington · University of Texas at Austin
Abstract
The Fréchet Inception Distance (FID) is widely used to evaluate generative models, but its empirical plug-in estimator suffers from finite-sample bias [BSAG18, CF20]. We study the sample complexity of estimating FID to error between -dimensional Gaussians with bounded mean distance and covariances, when one distribution is known. Our contributions are threefold. (1) We establish tight finite-sample bias and variance bounds for the empirical plug-in estimator, establishing a sample complexity. (2) To debias the empirical plug-in estimator, we generalize the estimator of [CF20] to extrapolation methods of arbitrary order . We further prove tight bias and variance bounds of and for any order- extrapolation under our framework. (3) We introduce Relative Taylor Debiasing (RTD), a new, computationally efficient FID estimation algorithm using debiasing techniques inspired by U-statistics. We show that RTD achieves an sample complexity, and prove that this is optimal. We provide a complementary empirical evaluation of our new estimators. Our experiments on synthetic Gaussians validate the predicted residual bias and support the tightness of our bounds. On ImageNet with Inception embeddings, RTD achieves the lowest mean estimation error at the standard 50K sample budget, while our second-order variance-aware extrapolation estimator (VALE) uses only 10K samples to achieve accuracy comparable to FID at 50K samples.
Figures & tables
| Method | Error at sample size | Runtime at sample size |
|---|---|---|
| Empirical plug-in [ 10 ] | (Theorem 1 ) | |
| [ 7 ] | (Corollary 1 ) | |
| FID-VALE, constant order ( Section 4.3 ) | (Theorem 2 ) | |
| FID-RTD (Section 5 ) | (Theorem 3 ) | |
| Information-theoretic lower bound | (Proposition 1 ) | N/A |
| Empirical | OLS 1 | OLS 2 | OLS 3 | RTD | |
|---|---|---|---|---|---|
| Mean estimate | 37.8610 | -9.1300 | 6.9197 | 4.7519 | 4.9033 |
| Signed error | 32.8610 | -14.1300 | 1.9197 | -0.2481 | -0.0967 |
| Standard Deviation | 0.0139 | 0.0316 | 0.0290 | 0.0447 | 0.1164 |
| Embedding | Estimator | Empirical proxy | FID ∞ proxy | RTD proxy |
|---|---|---|---|---|
| Inception | Empirical | |||
| FID ∞ | ||||
| VALE 1 | ||||
| VALE 2 | ||||
| VALE 3 | ||||
| RTD |
| Configuration | Inception | DINOv2 | CLIP |
|---|---|---|---|
| FID ∞ , OLS 2 , OLS 3 | |||
| VALE weighting | |||
| Regression strategy |
| Embedding | Empirical | FID ∞ | VALE 1 | VALE 2 | VALE 3 | RTD |
|---|---|---|---|---|---|---|
| Inception | ||||||
| DINOv2 | ||||||
| CLIP |
| Empirical | FID ∞ | VALE 1 | VALE 2 | VALE 3 | RTD | |
|---|---|---|---|---|---|---|
| 10K | ||||||
| 20K | ||||||
| 30K | ||||||
| 40K | ||||||
| 50K |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Family | Order | Points | Uniform in | Uniform in | Chebyshev in |
|---|---|---|---|---|---|
| OLS | 8 | 1.507 | 2.148 | 1.681 | |
| OLS | 15 | 1.342 † | 1.743 | 1.407 | |
| VA | 8 | 1.218 | 1.231 | 1.190 | |
| VA | 15 | 1.141 | 1.225 | 1.123 | |
| VA | 8 | 1.778 | 1.567 | 1.784 | |
| VA | 15 | 1.470 | 1.543 | 1.472 |
| Model | Resolution | Inception | DINOv2 | CLIP | Published FID |
|---|---|---|---|---|---|
| StyleGAN-XL [ 25 ] | 64 | 1.936 | 206.696 | 9.852 | 1.51 |
| DDO/EDM2-S [ 35 ] | 64 | 0.333 | 63.356 | 3.270 | 0.97 |
| StyleGAN-XL [ 25 ] | 256 | 1.581 | 202.413 | 27.528 | 2.30 |
| VAR-d30 [ 30 ] | 256 | 1.127 | 65.289 | 19.089 | 1.73 |
| StyleGAN-XL [ 25 ] | 512 | 1.748 | 210.961 | 30.260 | 2.41 |
| DDO/EDM2-L [ 35 ] | 512 | 0.641 | 39.898 | 9.402 | 1.21 |
| Estimator | Inception | DINOv2 | CLIP | |
|---|---|---|---|---|
| FID ∞ | 30K | 0.0439 | 0.7538 | 0.0278 |
| FID ∞ | 300K | 0.0102 | 0.1334 | 0.0082 |
| Empirical | 300K | 0.1178 | 1.4370 | 0.0405 |
| SD | RMSE | ||||||
|---|---|---|---|---|---|---|---|
| Embedding | OLS k | VALE k | OLS k | VALE k | RMSE drop (%) | Win rate | |
| Inception | 1 | 21.21 | 7/7 | ||||
| 2 | 23.48 | 7/7 | |||||
| 3 | 28.62 | 7/7 | |||||
| 4 | 21.71 | 7/7 | |||||
| DINOv2 | 1 | 11.34 | 6/7 | ||||
| Embedding | Order | Schedule | Points | RMSE |
|---|---|---|---|---|
| Inception | 1 | Endpoints | 2 | |
| 2 | Chebyshev in | 15 | ||
| 3 | Chebyshev in | 20 | ||
| DINOv2 | 1 | Endpoints | 2 | |
| 2 | Chebyshev in | 15 | ||
| 3 | Chebyshev in | 20 |
| Order | Points | Uniform | Uniform | Chebyshev |
|---|---|---|---|---|
| 1 | 2 | |||
| 1 | 10 | |||
| 1 | 15 | |||
| 1 | 20 | |||
| 2 | 3 | |||
| 2 | 10 |
| Order | Points | Uniform | Uniform | Chebyshev |
|---|---|---|---|---|
| 1 | 2 | |||
| 1 | 10 | |||
| 1 | 15 | |||
| 1 | 20 | |||
| 2 | 3 | |||
| 2 | 10 |
| Order | Points | Uniform | Uniform | Chebyshev |
|---|---|---|---|---|
| 1 | 2 | |||
| 1 | 10 | |||
| 1 | 15 | |||
| 1 | 20 | |||
| 2 | 3 | |||
| 2 | 10 |
| Empirical | FID ∞ | VALE 1 | VALE 2 | VALE 3 | RTD | |
| DINOv2 | ||||||
| 10K | ||||||
| 20K | ||||||
| 30K | ||||||
| 40K | ||||||
| 50K | ||||||