Do Vision and Language Encoders Represent the World Similarly?

Mayug Maniparambil, Raiymbek Akshulakov, Yasser Abdelaziz Dahou Djilali, Sanath Narayan, Mohamed El Amine Seddik +2 more
1/10/2024
cs.CVcs.AIcs.CL

No official code found. Best implementation: mayug/0-shot-llm-vision (16 stars, last commit 2024-08-27).

Abstract

Aligned text-image encoders such as CLIP have become the de facto model for vision-language tasks. Furthermore, modality-specific encoders achieve impressive performances in their respective domains. This raises a central question: does an alignment exist between uni-modal vision and language encoders since they fundamentally represent the same physical world? Analyzing the latent spaces structure of vision and language models on image-caption benchmarks using the Centered Kernel Alignment (CKA), we find that the representation spaces of unaligned and aligned encoders are semantically similar. In the absence of statistical similarity in aligned encoders like CLIP, we show that a possible matching of unaligned encoders exists without any training. We frame this as a seeded graph-matching problem exploiting the semantic similarity between graphs and propose two methods - a Fast Quadratic Assignment Problem optimization, and a novel localized CKA metric-based matching/retrieval. We demonstrate the effectiveness of this on several downstream tasks including cross-lingual, cross-domain caption matching and image classification. Code available at github.com/mayug/0-shot-llm-vision.

View on arXivView PDF

Code Implementations(1)

This repository contains the code for our CVPR 2024 paper,

161Python, Jupyter NotebookMar 20, 20242 years ago

Similar Papers

Cite this paper

@article{maniparambil2024vision,
  title  = {Do Vision and Language Encoders Represent the World Similarly?},
  author = {Mayug Maniparambil and Raiymbek Akshulakov and Yasser Abdelaziz Dahou Djilali and Sanath Narayan and Mohamed El Amine Seddik and Karttikeya Mangalam and Noel E. O'Connor},
  year   = {2024},
  eprint = {2401.05224},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.05224v2},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.05224.svg)](https://codeofpaper.com/paper/2401.05224)

Discussion