arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.18404cs.CVcs.LG
收藏

从CLIP中提取免费密集不一致性

Extract Free Dense Misalignment from CLIP

NAVER Cloud AI(NAVER 云AI);NAVER AI Lab(NAVER AI实验室)

JeongYeon Nam, Jinbae Im, Wonjae Kim, Taeho Kil

AI总结:

提出CLIP4DM方法,通过改进基于梯度的归因计算和F-CLIPScore聚合分数,从预训练CLIP中高效检测图像与文本间的密集不一致性,在零样本模型中实现最先进性能。

摘要:

近期视觉-语言基础模型仍频繁产生与输入不一致的输出,如图像描述中的物体幻觉和文本到图像生成模型中的提示词不一致。近期研究探索了识别不一致元素的方法,旨在不仅增强可解释性,还提升模型性能。然而,当前方法主要依赖大型基础模型以零样本方式或使用人工标注微调的模型,由于显著的计算成本限制了可扩展性。本工作提出一种新颖方法CLIP4DM,从预训练CLIP中检测密集不一致性,特别聚焦于精确定位图像与文本间不一致的单词。我们精心改进基于梯度的归因计算方法,使单个文本标记的负梯度能够指示不一致性。我们还提出F-CLIPScore,将不一致归因与全局对齐分数聚合。我们在多种密集不一致性检测基准上评估方法,涵盖各种图像和文本域及不一致类型。方法在零样本模型中展现最先进性能,并与微调模型具竞争力,同时保持卓越效率。定性示例显示方法在检测实体级对象、无形对象和现有工作难以检测的属性方面具独特优势。我们进行消融研究和分析以突出方法优势与局限。代码公开于https://github.com/naver-ai/CLIP4DM。

英文摘要:

Recent vision-language foundation models still frequently produce outputs misaligned with their inputs, evidenced by object hallucination in captioning and prompt misalignment in the text-to-image generation model. Recent studies have explored methods for identifying misaligned elements, aiming not only to enhance interpretability but also to improve model performance. However, current approaches primarily rely on large foundation models in a zero-shot manner or fine-tuned models with human annotations, which limits scalability due to significant computational costs. This work proposes a novel approach, dubbed CLIP4DM, for detecting dense misalignments from pre-trained CLIP, specifically focusing on pinpointing misaligned words between image and text. We carefully revamp the gradient-based attribution computation method, enabling negative gradient of individual text tokens to indicate misalignment. We also propose F-CLIPScore, which aggregates misaligned attributions with a global alignment score. We evaluate our method on various dense misalignment detection benchmarks, covering various image and text domains and misalignment types. Our method demonstrates state-of-the-art performance among zero-shot models and competitive performance with fine-tuned models while maintaining superior efficiency. Our qualitative examples show that our method has a unique strength to detect entity-level objects, intangible objects, and attributes that can not be easily detected for existing works. We conduct ablation studies and analyses to highlight the strengths and limitations of our approach. Our code is publicly available at https://github.com/naver-ai/CLIP4DM.

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

↑