Fréchet inception distance


The Fréchet inception distance is a metric used to assess the quality of images created by the generator of a generative adversarial network. Unlike the earlier inception score, which evaluates only the distribution of generated images, the FID compares the distribution of generated images with the distribution of real images that were used to train the generator..
The FID metric is the Fréchet distance between two multidimensional Gaussian distributions:, the distribution of images generated by the GAN and, the distribution from the "world" or real images used to train the network. As a result, it can be computed from the mean channel activations in those layers as well as the covariance of the activations between the layers when the synthesized and real images are fed into the network as:
Rather than directly comparing images pixel by pixel, the FID compares the mean and standard deviation of one of the deeper layers in a Convolutional neural network. These layers are closer to output nodes that correspond to real-world objects such as a specific breed of dog or an airplane, and further from the shallow layers near the input image. As a result, they tend to mimic human perception of similarity in images.
The FID metric is the current standard metric for assessing the quality of GANs as of 2020. It has been used to measure the quality of many recent GANs including the high-resolution StyleGAN1 and StyleGAN2 networks

History

The FID metric was introduced in 2017. It is inspired by the Fréchet distance introduced in 1957 by M. Frechet.