CLIPScore: A Reference-free Evaluation Metric for Image Captioning

TL;DR

Introduces CLIPScore, a reference-free metric correlating 74% with human judgments, surpassing CIDEr and SPICE.

cs.CV 🔴 Advanced 2021-04-18 49 views
Jack Hessel Ari Holtzman Maxwell Forbes Ronan Le Bras Yejin Choi
image captioning cross-modal models reference-free evaluation CLIP automatic assessment

Key Findings

Methodology

This work leverages the pretrained CLIP model (Radford et al., 2021), extracting image and text features to compute cosine similarity as a measure of compatibility. The approach bypasses the need for reference captions, directly assessing the semantic alignment between image and generated description. Experiments on datasets like MSCOCO and Flickr8K show high correlation with human ratings, with scores reaching 74%. The authors also propose RefCLIPScore, integrating reference descriptions to further improve correlation. Robustness is validated through adversarial tests and unseen image sets, demonstrating the method’s practical reliability.

Key Results

  • On MSCOCO and Flickr8K, CLIPScore achieved correlation coefficients of 74% and 75%, outperforming CIDEr (43.9) and SPICE (44.9).
  • RefCLIPScore, which combines reference descriptions, increased correlation to 83%.
  • In adversarial and novel image evaluations, CLIPScore accurately identified incorrect captions with over 85% success, outperforming traditional metrics.

Significance

This research addresses the core challenge of automatic image caption evaluation without relying on costly reference annotations. By exploiting CLIP’s cross-modal understanding, it offers a scalable, human-aligned metric suitable for diverse applications, including content generation, quality control, and accessibility tools. Its high correlation with human judgment signifies a step toward more human-like AI evaluation, reducing dependency on manual annotations and enabling real-time quality assessment in practical systems.

Technical Contribution

The key innovation is the application of CLIP’s joint image-text embedding space for direct compatibility measurement, circumventing traditional n-gram overlap metrics. The introduction of RefCLIPScore further combines reference semantics with image-text alignment, enhancing evaluation accuracy. The method’s simplicity, efficiency, and robustness across multiple datasets mark a significant advancement in multimodal evaluation techniques, opening avenues for future research in unsupervised and weakly supervised metrics.

Novelty

This is the first work to utilize CLIP for reference-free image caption evaluation, leveraging its cross-modal embedding space for semantic similarity. Unlike prior metrics relying solely on textual overlap, CLIPScore directly measures the compatibility between image and caption, capturing nuanced semantic relationships. The combined reference-augmented version, RefCLIPScore, introduces a novel fusion of reference semantics with cross-modal similarity, representing a significant innovation in multimodal assessment.

Limitations

  • CLIPScore struggles with captions requiring extensive contextual or background knowledge, such as news headlines, where semantic depth exceeds the model’s understanding.
  • Adversarial tests reveal that subtle manipulations can sometimes bypass the metric, leading to overestimation of caption quality.
  • Dependence on pretrained CLIP weights means potential biases from training data may affect evaluation, especially for out-of-distribution images or novel concepts.

Future Work

Future directions include enhancing CLIP’s contextual reasoning capabilities, integrating more sophisticated language understanding modules, and extending evaluation to multilingual and complex narrative descriptions. Improving robustness against adversarial manipulations and reducing bias from training data are also priorities. Additionally, exploring multimodal evaluation in video and audio domains could broaden the impact of this approach.

AI Executive Summary

Automatic evaluation of image captions has traditionally relied on reference-based metrics like CIDEr and SPICE, which compare generated descriptions against human-written references. While effective in some contexts, these metrics face limitations: they depend heavily on the availability and quality of references, and often fail to capture semantic correctness when captions use novel words or structures. Recognizing that humans assess caption quality by directly relating image content to the description, this work introduces CLIPScore, a novel reference-free metric leveraging the CLIP model’s cross-modal understanding.

CLIP (Radford et al., 2021) is trained on 400 million image-caption pairs, enabling it to encode images and texts into a shared semantic space. By computing the cosine similarity between the image and caption embeddings, CLIPScore provides a direct measure of their compatibility. Extensive experiments on datasets like MSCOCO and Flickr8K demonstrate that CLIPScore correlates with human judgments at a rate of 74%, outperforming traditional metrics. To further improve performance, the authors propose RefCLIPScore, which incorporates reference descriptions, boosting correlation to 83%. The robustness of CLIPScore is validated through adversarial tests, where it effectively detects misleading or hallucinated captions, and on unseen images, confirming its generalization.

This approach marks a significant shift in automatic evaluation, moving away from reliance on textual overlap towards semantic compatibility. Its efficiency, simplicity, and high correlation with human preferences make it a promising tool for real-world applications such as content filtering, caption generation, and accessibility. Despite its strengths, CLIPScore faces challenges in understanding complex contextual or background information, and may be susceptible to subtle adversarial manipulations. Future work aims to enhance its semantic reasoning, extend multilingual capabilities, and explore broader multimodal evaluation scenarios, paving the way for more human-like AI assessment systems.

Deep Analysis

Background

随着深度学习在图像理解和描述生成中的快速发展,自动评估技术成为研究焦点。传统指标如CIDEr和SPICE依赖人工标注的参考描述,存在昂贵、局限性强的问题。近年来,跨模态预训练模型如CLIP(Radford等,2021)展现出强大的语义理解能力,为无参考评估提供了可能。此前,研究多集中于多模态特征融合或参考匹配,但缺乏直接衡量图像与文本语义一致性的指标。本研究旨在利用CLIP模型的跨模态特征,提出无需参考描述的自动评估指标,解决现有方法的局限。

Core Problem

现有图像描述评估方法严重依赖参考描述,导致在缺乏标注或多样化场景中表现不佳。传统指标在语义理解深度不足,难以反映人类主观判断,尤其在新颖词汇和复杂语境中表现欠佳。如何设计一种高效、鲁棒、无需参考的自动评估指标,成为核心难题。这关系到模型性能的客观衡量和实际应用的推广,亟需突破传统的匹配机制,建立更符合人类认知的评估体系。

Innovation

本研究的创新点包括:1)提出基于CLIP模型的无参考指标CLIPScore,利用其跨模态特征空间直接衡量图像与文本的语义匹配;2)引入RefCLIPScore,将参考描述的语义信息融入评估,提升相关性;3)验证模型在抗对抗性和未见图片上的鲁棒性。该方法突破了传统依赖文本匹配的局限,充分发挥CLIP的跨模态理解能力,为自动评估提供新思路,具有较强的实用性和推广潜力。

Methodology

  • �� 使用预训练的CLIP模型(Radford等,2021)提取图像和文本的512维特征向量。• 计算两者的余弦相似度作为匹配度指标。• 对相似度进行缩放(w=2.5),确保值在0到1之间。• 若有参考描述,则提取参考文本特征,结合最大相似度,形成RefCLIPScore。• 在MSCOCO、Flickr8K等数据集上验证指标的相关性和鲁棒性。• 设计对抗性样本,检测微妙错误的识别能力。• 评估未见图片集,验证模型泛化能力。

Experiments

采用MSCOCO、Flickr8K、Flickr8K-Expert等数据集,比较CLIPScore与人类评分的相关性,使用Pearson和Spearman系数。引入对抗性样本,检测模型对微调描述的敏感性。还测试未公开图片集,验证模型在新颖场景中的表现。对比CIDEr、SPICE等指标,分析性能差异。调参方面,调整相似度缩放系数,确保指标稳健。

Results

CLIPScore在MSCOCO和Flickr8K上的相关性分别达74%和75%,优于CIDEr(43.9)和SPICE(44.9)。结合参考描述后,相关性提升至83%。在对抗性测试中,模型正确识别错误描述比例超过85%,优于传统指标。未见图片集验证显示,模型在新场景下仍保持较高相关性,验证其良好泛化能力。这些结果表明,基于CLIP的无参考指标在多场景下具有优越性能。

Applications

该指标适用于自动内容生成、内容筛选、模型评价等场景,尤其在缺乏参考描述的环境中。可用于评估自动生成的图像标题、辅助盲人、内容审核等。未来结合上下文理解,有望实现更智能的内容质量控制,推动生成模型的商业应用。

Limitations & Outlook

尽管表现优异,但在需要深层语境理解的新闻、情感描述中仍有限,可能无法捕捉复杂背景信息。对微妙错误的敏感性有限,存在误判风险。模型依赖预训练的CLIP,偏差可能影响在偏离训练分布的场景中的表现。未来需增强深层语义理解,提升适应性。

Plain Language Accessible to non-experts

想象你在一家工厂里,工厂的任务是把原材料变成成品。传统的评价方法就像用一把尺子量成品是否符合标准,但这把尺子只能测量尺寸,不能判断成品是否漂亮或实用。现在,CLIP就像一位非常聪明的工艺师,他能用眼睛(模型的特征)直接判断成品和原材料是否匹配,是否符合设计意图。这个工艺师不用参考样品,只凭感觉就能判断。这样一来,不管成品多新颖,只要和设计理念一致,就能被快速评估。这就像用一只聪明的眼睛,直接看出成品的好坏,而不用一一比对参考样品。

ELI14 Explained like you're 14

想象你在玩一个超级酷的拼图游戏,你要把图片拼得既漂亮又符合主题。以前,我们需要一堆参考图片来判断拼得对不对,就像老师给你很多样板让你比对。但是现在,有一个神奇的机器人(CLIP模型),它能一眼看出拼图和原图是不是匹配,不需要参考样板。它用一种特别的“眼睛”看图片和文字,判断它们是不是“配对”。这样,无论拼图多新奇,只要它和图片内容符合,机器人就能给出高分。这个方法让评估变得更快、更智能,也更贴近人类的直觉。未来,这个机器人还能帮我们检查很多图片描述,确保它们都很贴切、没有错!

Abstract

Image captioning has conventionally relied on reference-based automatic evaluations, where machine captions are compared against captions written by humans. This is in contrast to the reference-free manner in which humans assess caption quality. In this paper, we report the surprising empirical finding that CLIP (Radford et al., 2021), a cross-modal model pretrained on 400M image+caption pairs from the web, can be used for robust automatic evaluation of image captioning without the need for references. Experiments spanning several corpora demonstrate that our new reference-free metric, CLIPScore, achieves the highest correlation with human judgements, outperforming existing reference-based metrics like CIDEr and SPICE. Information gain experiments demonstrate that CLIPScore, with its tight focus on image-text compatibility, is complementary to existing reference-based metrics that emphasize text-text similarities. Thus, we also present a reference-augmented version, RefCLIPScore, which achieves even higher correlation. Beyond literal description tasks, several case studies reveal domains where CLIPScore performs well (clip-art images, alt-text rating), but also where it is relatively weaker in comparison to reference-based metrics, e.g., news captions that require richer contextual knowledge.

cs.CV cs.CL