Introduction
Evaluating generative models like Generative Adversarial Networks (GANs) relies heavily on metrics such as Fréchet Inception Distance (FID) and Inception Score (IS). However, these metrics suffer from a fundamental mathematical flaw: they are biased estimators. The scores calculated from a finite set of samples do not represent the "true" performance of the model but rather the true score plus a bias term that varies with the number of samples ($N$).
The Problem: Generator-Dependent Bias
The critical insight provided by Chong and Forsyth is that this bias is not a constant offset. Instead, it is "generator-dependent," meaning the magnitude of the bias changes depending on the specific model being evaluated. This inconsistency makes standard comparisons between different architectures fundamentally unreliable. If Model A appears superior to Model B at 50,000 samples, it may simply be due to a smaller bias term rather than superior image quality.
Methodology: Achieving Effectively Unbiased Metrics
To address this, the authors propose two primary interventions:
1. Linear Extrapolation to $FID_\infty$
The researchers observed a consistent linear relationship between the calculated FID/IS and the inverse of the sample size ($1/N$). By computing the metric at multiple sample sizes and fitting a linear regression, one can extrapolate the value to the point where $1/N = 0$, representing an infinite sample size. This extrapolated value, denoted as $FID_\infty$ or $IS_\infty$, provides an effectively unbiased estimate of model performance.
2. Quasi-Monte Carlo (QMC) Integration
Standard random sampling (Monte Carlo) often leads to "clustering" of points, leaving parts of the latent space under-sampled. The authors suggest using Sobol sequences, a type of low-discrepancy sequence that covers the sample space more uniformly. Mapping these sequences to the required normal distribution via the Inverse Cumulative Distribution Function ($Sobol_{Inv}$) significantly reduces the variance and bias of the estimates compared to traditional methods.
Key Results and Impact
The practical implications of these findings are significant for the research community.
Reliable Model Rankings
The study demonstrates that fixed-sample comparisons can lead to incorrect conclusions. For instance, two identical DCGAN architectures might swap their relative rankings depending on the number of samples used for evaluation. By using $FID_\infty$, these ambiguities are resolved, ensuring that model improvements are genuine rather than artifacts of sampling bias.
Training Benefits
Beyond evaluation, incorporating Sobol sequences during the training phase of GANs proved beneficial. QMC ensures that the "tails" of the distribution—rare or complex image features—are better represented during learning. This resulted in models with lower $FID_\infty$ scores and reduced variance across different training runs.
Conclusion
The introduction of $FID_\infty$ and $IS_\infty$ offers a robust, drop-in replacement for current evaluation practices. By accounting for generator-dependent bias through linear extrapolation and improving sampling efficiency with Quasi-Monte Carlo methods, researchers can achieve fairer and more stable comparisons of generative models.
Summary updated