Performance Gap in Entity Knowledge Extraction Across Modalities in Vision Language Models

Ido Cohen, Daniela Gottesman, Mor Geva, Raja Giryes
12/18/2024
cs.CL

No official code found. Best implementation: ido-co/vlm-modality-gap (2 stars, last commit 2025-05-29).

Abstract

Vision-language models (VLMs) excel at extracting and reasoning about information from images. Yet, their capacity to leverage internal knowledge about specific entities remains underexplored. This work investigates the disparity in model performance when answering factual questions about an entity described in text versus depicted in an image. Our results reveal a significant accuracy drop - reaching 18% for some models - when the entity is presented visually instead of textually. To study this gap we present PopVQA, a dataset which allows separating entity recognition and question answering, and use it to benchmark several models. We hypothesize that this decline arises from limitations in how information flows from image tokens to query tokens. Thus, we use mechanistic interpretability tools to reveal that, although image tokens are preprocessed by the vision encoder, meaningful information flow from these tokens occurs only in the much deeper layers. Furthermore, critical image processing happens in the language model's middle layers, allowing few layers for consecutive reasoning, highlighting a potential inefficiency in how the model utilizes its layers for reasoning. These insights shed light on the internal mechanics of VLMs and offer pathways for enhancing their reasoning capabilities. PopVQA can be found at https://huggingface.co/datasets/idoco/PopVQA.

View on arXivView PDF

Code Implementations(1)

20PythonDec 18, 20241 years ago

Similar Papers

Cite this paper

@article{cohen2024performance,
  title  = {Performance Gap in Entity Knowledge Extraction Across Modalities in Vision Language Models},
  author = {Ido Cohen and Daniela Gottesman and Mor Geva and Raja Giryes},
  year   = {2024},
  eprint = {2412.14133},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14133v3}
}

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

Discussion