FID measures whether the set of generated images looks like the set of real images, as seen by an image recognition model. Features from the deep layers of Inception-v3 represent visual meaning such as object categories and shapes rather than raw pixel values, so the comparison is closer to human visual judgment. The paper applied six kinds of disturbance at varying strengths to CelebA face images: Gaussian noise, blur, black rectangles, swirl distortion, salt-and-pepper noise, and contamination with ImageNet images. It showed that FID increases as the disturbance gets stronger, tracking the disturbance strength better than the Inception Score.
FID also has the following limitations.
- The value depends on the number of images: FID is estimated from a finite number of images, so it is biased. Chong and Forsyth (2020) showed that this bias differs across the models being evaluated, so even with a fixed number of images, the ranking of models can flip.
- The value depends on preprocessing: Parmar et al. (2022) showed that low-level processing such as how images are resized (different interpolation in different libraries, aliasing) and JPEG compression can change FID substantially.
- It depends on how Inception-v3 sees images: the features were trained for ImageNet classification. For images that differ from ImageNet, such as faces or medical images, FID does not necessarily agree with human judgment.
- The Gaussian assumption: the feature distribution is represented only by its mean and covariance, so differences in distribution shape beyond these cannot be measured.
- It says nothing about individual images: it compares set statistics, so it does not show which image is bad.
FID values are comparable only when computed with the same implementation, the same set of real images, the same number of generated images and the same preprocessing. Besides the paper's 50,000 images (FID50k), 10,000 and other counts are used, and fewer images tend to give larger values. According to the pytorch-fid documentation, at least 2048 images are needed to compute a 2048-dimensional covariance. The original TensorFlow implementation and its PyTorch port also give slightly different values because of differences in image interpolation, so state the implementation used when comparing precisely with published results.