Abstract
Vision-Language Models (VLMs) exhibit a significant performance gap—up to 18%—when retrieving factual knowledge about entities presented as images compared to text. This study investigates the "modality gap" using mechanistic interpretability, revealing that models consume excessive computational depth for entity identification, leaving insufficient layers for factual reasoning.
Introduction: The Modality Gap
Modern VLMs like LLaVA and GPT-4o excel at descriptive tasks but struggle with "knowledge-grounded" visual question answering. A critical distinction exists between describing an image and using that image as a key to unlock internal knowledge. For instance, while a model can identify a celebrity in a photo, it often fails to retrieve facts about that person (e.g., their spouse) that it otherwise knows in a text-only context. This suggests a failure in the internal pipeline that bridges visual perception and knowledge retrieval.
Methodology
The researchers employed "neuroscience-for-AI" techniques to inspect the internal workings of LLaVA-style architectures, focusing on how information flows through the transformer layers.
Mechanistic Interpretability
The study used activation patching to pinpoint where entity identification occurs. By surgically injecting hidden states from one inference run (e.g., viewing Meryl Streep) into another (e.g., viewing Che Guevara), they identified the specific layers where the model's internal representation of the subject changes. Additionally, attention knockout was used to block information flow from image tokens to text tokens at various depths, determining the critical layers for modality transfer.
The POPVQA Benchmark
To isolate these effects, the authors introduced POPVQA, a dataset of 15,395 entity-image pairs sourced from Wikidata. It includes popularity scores to ensure entities were likely seen during training. The benchmark evaluates models on a two-step process: naming the entity and then answering a factual question about it, allowing researchers to see exactly where the failure occurs.
Key Findings
The "Compute Budget" Bottleneck
A primary discovery is that VLMs spend a disproportionate amount of their "depth" on identification. In a 32-layer model like LLaVA-7B, identification is often not finalized until layer 20 or later. Because LLMs have a fixed number of layers, this "visual processing tax" leaves very few layers for the "second hop"—the retrieval of factual data. By the time the model "knows" who it is looking at, it has exhausted its capacity to reason about that entity.
Modality Alignment and Scaling
The study found that the gap is not universal. Models like Qwen2-VL showed a much smaller gap (4.3%), likely due to training regimes that unfreeze the visual backbone, leading to superior alignment between visual and textual representational spaces. Larger models also tend to mitigate the gap, though the fundamental bottleneck remains a concern for efficiency.
Discussion and Conclusion
The "modality gap" highlights a fundamental inefficiency in current VLM architectures. The entanglement of identification and retrieval processes, combined with the late flow of information, suggests that future models should move toward earlier fusion or more efficient visual encoding. By reducing the computational depth required for identification, models can preserve more capacity for the complex reasoning tasks that define advanced multimodal intelligence.
Summary updated