[Paper Review] Rethinking FID: Towards a Better Evaluation Metric for Image Generation
The paper critiques FID for image generation and introduces CMMD, a CLIP-based MMD distance that provides a more reliable, sample-efficient evaluation aligned with human judgments.
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.
Motivation & Objective
- Question the reliability of FID as the primary metric for modern image generation and text-to-image models.
- Propose CMMD, a distribution-free, unbiased, and sample-efficient alternative based on CLIP embeddings and MMD.
- Demonstrate CMMD’s alignment with human judgments and its robustness to distortions and progressive improvements.
Proposed method
- Critically analyze Fréchet Distance assumptions in FID, highlighting normality and sample-size issues.
- Adopt CLIP embeddings to capture rich content in modern images.
- Define CMMD as the squared MMD distance between CLIP embeddings of real and generated image sets with a Gaussian RBF kernel.
- Use an unbiased estimator for MMD with kernel k(x,y)=exp(-||x-y||^2/(2*sigma^2)) and fixed sigma=10; scale results by 1000 for readability.
- Provide a reference implementation of CMMD.
- Compare CMMD with FID across distortions, progressive generation, and sample-size settings, including human evaluation.
Experimental results
Research questions
- RQ1Does FID reliably reflect image quality across modern text-to-image models and progressive refinements?
- RQ2Can a CLIP-based MMD metric provide a distribution-free, unbiased, and sample-efficient alternative to FID?
- RQ3Do CMMD scores align with human judgments under various distortions and iterative generation processes?
Key findings
- FID can contradict human raters and fail to track gradual improvements in iterative generation models.
- CLIP-based embeddings capture richer content than Inception features, supporting CMMD as a robust metric.
- CMMD monotonically reflects distortion levels and iterative improvements, aligning with human judgments.
- CMMD is more sample-efficient than FID and offers faster computation, enabling practical online evaluation.
- Experiments show CMMD agrees with human preferences where FID does not.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.