arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.14153cs.CVcs.AIcs.CL
收藏

用二阶归因解释CLIP模型中的标题-图像交互

Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributions

University of Stuttgart(斯图加特大学)

Lucas Möller, Pascal Tilli, Ngoc Thang Vu, Sebastian Padó

AI总结:

本文提出一种二阶归因方法解释CLIP模型的双编码器输入交互,揭示其标题与图像区域间的细粒度对应能力及不同类别间的性能差异与失败模式。

摘要:

像CLIP模型这样的双编码器架构将两种类型的输入映射到一个共享的嵌入空间中,并预测它们之间的相似性。尽管它们被广泛应用,然而目前尚不清楚这些模型是如何比较其两种输入的。常见的一阶特征归因方法解释了单个特征的重要性,因此只能对双编码器提供有限的见解,因为其预测依赖于特征之间的交互。在本文中,我们首先推导出一种二阶方法,能够将任何可微双编码器的预测归因到其输入之间的特征交互上。其次,我们将该方法应用于CLIP模型,并表明它们学习了标题部分与图像区域之间的细粒度对应关系。它们跨输入模式匹配对象,也考虑了不匹配的情况。然而,这种内在的视觉语言基础能力在不同对象类别之间差异很大,表现出显著的域外效应,并且我们能够识别个别错误以及系统性失败类别。代码公开可用:https://github.com/lucasmllr/exCLIP

英文摘要:

Dual encoder architectures like Clip models map two types of inputs into a shared embedding space and predict similarities between them. Despite their wide application, it is, however, not understood how these models compare their two inputs. Common first-order feature-attribution methods explain importances of individual features and can, thus, only provide limited insights into dual encoders, whose predictions depend on interactions between features. In this paper, we first derive a second-order method enabling the attribution of predictions by any differentiable dual encoder onto feature-interactions between its inputs. Second, we apply our method to Clip models and show that they learn fine-grained correspondences between parts of captions and regions in images. They match objects across input modes and also account for mismatches. This intrinsic visual-linguistic grounding ability, however, varies heavily between object classes, exhibits pronounced out-of-domain effects and we can identify individual errors as well as systematic failure categories. Code is publicly available: https://github.com/lucasmllr/exCLIP

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

↑