Skip to main content
QUICK REVIEW

[论文解读] Rethinking FID: Towards a Better Evaluation Metric for Image Generation

Sadeep Jayasumana, Srikumar Ramalingam|arXiv (Cornell University)|Nov 30, 2023
Explainable Artificial Intelligence (XAI)Computer Science被引用 8
一句话总结

论文批评 FID 在图像生成中的局限性,并引入 CMMD,这是基于 CLIP 的 MMD 距离,提供更可靠、样本高效且与人类判断对齐的评估。

ABSTRACT

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.

研究动机与目标

  • 质疑 FID 作为现代图像生成与文本到图像模型的主要指标的可靠性。
  • 提出基于 CLIP 表征和 MMD 的分布无关、无偏、样本高效的替代方法 CMMD。
  • 证明 CMMD 与人类判断的一致性及其对失真和渐进改进的鲁棒性。

提出的方法

  • 批判性分析 FID 中的弗雷歇距离假设,突出正态性和样本量问题。
  • 采用 CLIP 表征来捕捉现代图像中的丰富内容。
  • 将 CMMD 定义为真实图像集合与生成图像集合的 CLIP 嵌入之间的平方 MMD 距离,核为高斯 RBF 核 k(x,y)=exp(-||x-y||^2/(2*sigma^2))。
  • 使用对 MMD 的无偏估计,固定 sigma=10;结果放大 1000 倍以提高可读性。
  • 提供 CMMD 的参考实现。
  • 在失真、渐进生成和样本量设定下,将 CMMD 与 FID 进行比较,并进行人工评估。

实验结果

研究问题

  • RQ1FID 是否能在现代文本到图像模型和渐进改进中可靠反映图像质量?
  • RQ2是否可以提供一个基于 CLIP 的 MMD 指标,作为无分布、无偏、样本高效的 FID 替代?
  • RQ3在各种失真和迭代生成过程中,CMMD 分数是否与人类判断一致?

主要发现

  • FID 可能与人类评定相矛盾,且难以跟踪迭代生成模型的渐进改进。
  • 基于 CLIP 的嵌入比 Inception 特征捕捉到更丰富的内容,支持 CMMD 作为鲁棒指标。
  • CMMD 对失真水平和迭代改进呈单调反映,与人类判断一致。
  • CMMD 比 FID 更具样本效率,计算速度更快,便于实际的在线评估。
  • 实验表明 CMMD 在 FID 不同意的情况下与人类偏好一致。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。