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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Möller, Lucas, Tilli, Pascal, Vu, Ngoc Thang, Padó, Sebastian
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908487042203648
author Möller, Lucas
Tilli, Pascal
Vu, Ngoc Thang
Padó, Sebastian
author_facet Möller, Lucas
Tilli, Pascal
Vu, Ngoc Thang
Padó, Sebastian
contents 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
format Preprint
id arxiv_https___arxiv_org_abs_2408_14153
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributions
Möller, Lucas
Tilli, Pascal
Vu, Ngoc Thang
Padó, Sebastian
Computer Vision and Pattern Recognition
Artificial Intelligence
Computation and Language
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
title Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributions
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2408.14153