If CLIP Could Talk: Understanding Vision-Language Model Representations Through Their Preferred Concept Descriptions

Reza Esfandiarpoor, Cristina Menghini, Stephen H. Bach
3/25/2024
cs.CLcs.CVcs.LG

No official code found. Best implementation: BatsResearch/ex2 (17 stars, last commit 2024-04-04).

Abstract

Recent works often assume that Vision-Language Model (VLM) representations are based on visual attributes like shape. However, it is unclear to what extent VLMs prioritize this information to represent concepts. We propose Extract and Explore (EX2), a novel approach to characterize textual features that are important for VLMs. EX2 uses reinforcement learning to align a large language model with VLM preferences and generates descriptions that incorporate features that are important for the VLM. Then, we inspect the descriptions to identify features that contribute to VLM representations. Using EX2, we find that spurious descriptions have a major role in VLM representations despite providing no helpful information, e.g., Click to enlarge photo of CONCEPT. More importantly, among informative descriptions, VLMs rely significantly on non-visual attributes like habitat (e.g., North America) to represent visual concepts. Also, our analysis reveals that different VLMs prioritize different attributes in their representations. Overall, we show that VLMs do not simply match images to scene descriptions and that non-visual or even spurious descriptions significantly influence their representations.

View on arXivView PDF

Code Implementations(1)

BatsResearch/ex2Community100%

If CLIP Could Talk: Understanding Vision-Language Model Representations Through Their Preferred Concept Descriptions

170Shell, PythonMar 15, 20242 years ago

Similar Papers

Cite this paper

@article{esfandiarpoor2024clip,
  title  = {If CLIP Could Talk: Understanding Vision-Language Model Representations Through Their Preferred Concept Descriptions},
  author = {Reza Esfandiarpoor and Cristina Menghini and Stephen H. Bach},
  year   = {2024},
  eprint = {2403.16442},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.16442v2}
}

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/2403.16442.svg)](https://codeofpaper.com/paper/2403.16442)

Discussion