Explaining Vision-Language Similarities in Dual Encoders with Feature-Pair Attributions
<|reference_start|>Explaining Vision-Language Similarities in Dual Encoders with Feature-Pair Attributions: Dual encoder architectures like CLIP models map two types of inputs into a shared embedding space and learn similarities between them. However, it is not understood how such models compare two inputs. Here, we address this research gap with two contributions. First, we derive a method to attribute predictions of any differentiable dual encoder onto feature-pair interactions between its inputs. Second, we apply our method to CLIP-type 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. However, this visual-linguistic grounding ability heavily varies between object classes, depends on the training data distribution, and largely improves after in-domain training. Using our method we can identify knowledge gaps about specific object classes in individual models and can monitor their improvement upon fine-tuning.<|reference_end|>
@article{möller2024explaining,
    title={Explaining Vision-Language Similarities in Dual Encoders with
  Feature-Pair Attributions},
    author={Lucas M"oller, Pascal Tilli, Ngoc Thang Vu, Sebastian Pad'o},
    journal={arXiv preprint arXiv:2408.14153},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.14153},
    primaryClass={cs.CV cs.AI cs.CL}
}