Rethinking FID: Towards a Better Evaluation Metric for Image Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jayasumana, Sadeep, Ramalingam, Srikumar, Veit, Andreas, Glasner, Daniel, Chakrabarti, Ayan, Kumar, Sanjiv
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910308034936832
author Jayasumana, Sadeep
Ramalingam, Srikumar
Veit, Andreas
Glasner, Daniel
Chakrabarti, Ayan
Kumar, Sanjiv
author_facet Jayasumana, Sadeep
Ramalingam, Srikumar
Veit, Andreas
Glasner, Daniel
Chakrabarti, Ayan
Kumar, Sanjiv
contents As with many machine learning problems, the progress of image generation methods hinges on good evaluation metrics. One of the most popular is the Frechet Inception Distance (FID). FID estimates the distance between a distribution of Inception-v3 features of real images, and those of images generated by the algorithm. We highlight important drawbacks of FID: Inception's poor representation of the rich and varied content generated by modern text-to-image models, incorrect normality assumptions, and poor sample complexity. We call for a reevaluation of FID's use as the primary quality metric for generated images. We empirically demonstrate that FID contradicts human raters, it does not reflect gradual improvement of iterative text-to-image models, it does not capture distortion levels, and that it produces inconsistent results when varying the sample size. We also propose an alternative new metric, CMMD, based on richer CLIP embeddings and the maximum mean discrepancy distance with the Gaussian RBF kernel. It is an unbiased estimator that does not make any assumptions on the probability distribution of the embeddings and is sample efficient. Through extensive experiments and analysis, we demonstrate that FID-based evaluations of text-to-image models may be unreliable, and that CMMD offers a more robust and reliable assessment of image quality.
format Preprint
id arxiv_https___arxiv_org_abs_2401_09603
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Rethinking FID: Towards a Better Evaluation Metric for Image Generation
Jayasumana, Sadeep
Ramalingam, Srikumar
Veit, Andreas
Glasner, Daniel
Chakrabarti, Ayan
Kumar, Sanjiv
Computer Vision and Pattern Recognition
As with many machine learning problems, the progress of image generation methods hinges on good evaluation metrics. One of the most popular is the Frechet Inception Distance (FID). FID estimates the distance between a distribution of Inception-v3 features of real images, and those of images generated by the algorithm. We highlight important drawbacks of FID: Inception's poor representation of the rich and varied content generated by modern text-to-image models, incorrect normality assumptions, and poor sample complexity. We call for a reevaluation of FID's use as the primary quality metric for generated images. We empirically demonstrate that FID contradicts human raters, it does not reflect gradual improvement of iterative text-to-image models, it does not capture distortion levels, and that it produces inconsistent results when varying the sample size. We also propose an alternative new metric, CMMD, based on richer CLIP embeddings and the maximum mean discrepancy distance with the Gaussian RBF kernel. It is an unbiased estimator that does not make any assumptions on the probability distribution of the embeddings and is sample efficient. Through extensive experiments and analysis, we demonstrate that FID-based evaluations of text-to-image models may be unreliable, and that CMMD offers a more robust and reliable assessment of image quality.
title Rethinking FID: Towards a Better Evaluation Metric for Image Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.09603