arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.09603cs.CV
收藏

重新审视FID:面向更优的图像生成评估指标

Rethinking FID: Towards a Better Evaluation Metric for Image Generation

Google Research(谷歌研究院)

Sadeep Jayasumana, Srikumar Ramalingam, Andreas Veit, Daniel Glasner, Ayan Chakrabarti, Sanjiv Kumar

AI总结:

该研究指出图像生成常用评估指标FID存在表征能力不足、正态假设错误等缺陷,提出基于CLIP嵌入与最大均值差异的新指标CMMD,可更稳健可靠地评估生成图像质量。

摘要:

与诸多机器学习问题一样,图像生成方法的进步依赖于良好的评估指标,其中最常用的指标之一是弗雷歇 inception 距离(Frechet Inception Distance,FID)。FID 用于估计真实图像的 Inception-v3 特征分布与算法生成图像的 Inception-v3 特征分布之间的距离。我们指出了 FID 的若干重要缺陷:Inception 对现代文本到图像模型生成的丰富多样内容表征能力不足,存在错误的正态性假设,且样本复杂度表现较差,因此我们呼吁重新评估将 FID 作为生成图像主要质量指标的合理性。我们通过实验证明,FID 的结果与人类评分者的判断相悖,无法反映迭代式文本到图像模型的渐进式改进,也无法捕捉失真程度,且在样本量变化时会产生不一致的结果。我们还提出了一种新的替代指标 CMMD,该指标基于更丰富的 CLIP 嵌入以及带高斯 RBF 核的最大均值差异距离,是一种无需对嵌入的概率分布做任何假设的无偏估计量,且具备样本高效性。通过大量实验与分析,我们证明基于 FID 的文本到图像模型评估可能并不可靠,而 CMMD 能够提供更稳健、更可靠的图像质量评估结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑