NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Can Retrieval Heads See Images? Multimodal Retrieval Heads in Long-Context Vision-Language Models

Aaron Branson Cigres Li, Zhaowei Wang, Yu Zhao, Yiming Du, Haobo Li, Xiyu Ren, Ginny Wong, Simon See, Lishu Luo, Haodong Duan, Pasquale Minervini, Yangqiu SongarXiv 2026

This paper investigates a fundamental question in the era of long-context AI: how do multimodal models actually "find" information buried in thousands of pages of text and images? By identifying and analyzing Multimodal Retrieval Heads (MMRetHeads), the authors reveal the sparse internal machinery that allows Large Vision-Language Models (LVLMs) to navigate complex, interleaved data.

TL;DR

Researchers have discovered that a tiny fraction of attention heads (4.4–10.2%) in vision-language models are responsible for retrieving information from both text and images. These "MMRetHeads" are causally essential for reasoning; masking them destroys the model's ability to answer questions about long contexts, yet they can be harnessed to outperform state-of-the-art document retrieval systems without any additional training.

What Problem Does This Paper Address?

In pure language models, "retrieval heads" have been identified as specific attention mechanisms that "copy" text from a source to an answer. However, Large Vision-Language Models (LVLMs) like Qwen-VL or Gemma-VL face a harder challenge: the evidence might be an image (a chart, a photo, or a diagram) rather than text. You can't "copy-paste" pixels into a text response in the same way you do tokens.

Prior methods for finding these heads relied on literal token matching, which fails when the "needle" in the haystack is visual. This paper seeks to define, detect, and prove the causal importance of retrieval heads that work across modalities.

Methods

The authors propose a new detection method based on attention mass. Instead of looking for copied text, they measure how much attention "weight" flows from the tokens in a user's question to the specific spans of the "needle" (the relevant evidence) in the context.

Figure 2: Schematic of MMRetHead detection. For each attention head, we score the post-softmax attention from question tokens to annotated task-relevant evidence spans. These evidence spans may correspond to text tokens or visual tokens, allowing the scoring framework to detect retrieval heads across multimodal inputs.

Key technical components include:

  • Null-Question Calibration: To avoid "false positives" (heads that just look at specific positions regardless of the question), they subtract the attention scores generated by a dummy "N/A" question.
  • Four Retrieval Variants: They test text retrieval, image retrieval, rendered-text (OCR-style), and identical-image retrieval to see how heads adapt to different formats.
  • Causal Intervention: They validate their findings by "zeroing out" (masking) the identified heads to see if the model's performance collapses.

Datasets

The study utilizes several benchmarks to detect and evaluate these heads:

  • MM-NIAH (Multimodal Needle-In-A-Haystack): Used for head detection across context lengths from 8K to 128K tokens.
  • MMLongBench (Doc and Slide subsets): Used to test the causal impact of these heads on long-document QA.
  • MMDocIR: A benchmark for multimodal document retrieval where the authors use their identified heads to rank pages and layout elements.
  • Reasoning Benchmarks: MMMU, MathVision, and MathVista were used to see if these heads are necessary for general multimodal reasoning.

Key Insights and Ideas

  • Extreme Sparsity: Retrieval is a specialist's job. Only about 5% of heads account for the majority of the retrieval capability.
  • Inherited Traits: Interestingly, most text-retrieval heads in LVLMs are intrinsic—they were already present in the base language model before it was ever trained on images. Vision-language training simply "activates" them for new modalities.
  • Modality Specialists vs. Generalists: While many heads are modality-agnostic (working for both text and images), image retrieval relies on more specialized, dynamic heads that change depending on how long the context is.
  • Layer Migration: As the "haystack" gets longer (e.g., moving from 8K to 128K tokens), the model recruits heads from deeper layers to handle the increased complexity.
Figure 5: Context-length sensitivity of retrieval-head se- lection. Curves show the overlap between top-5% heads selected at 8K and those selected at longer contexts, averaged over six LVLMs. We find that image-retrieval heads are less stable.

Key Results

The findings demonstrate that MMRetHeads are not just passive markers; they are the engine of retrieval:

  • Causal Collapse: Masking the top 5% of retrieval heads in Qwen3-VL-8B dropped performance on long-context tasks by up to 62.3 percentage points. In contrast, masking 5% of random heads had almost no effect.
  • Superior Retrieval: By using the attention scores from these specific heads as a ranking signal, the authors achieved a 7.7 point improvement in Recall@1 on the MMDocIR page retrieval task, outperforming strong baselines like ColPali.
  • Cross-Length Transfer: Heads detected at short context lengths (8K) remain somewhat useful at long lengths (128K), but they are significantly less effective than heads specifically tuned for long-range dependencies.
Figure 1: Removing multimodal retrieval heads causally disrupts MM-NIAH text- and image-needle retrieval. We evaluate Qwen3-VL-8B (Bai et al., 2025a) on MM- NIAH (Wang et al., 2024b) across multiple context lengths and needle depths.

Limitations and Future Work

The authors note that while attention scores are a powerful proxy, they don't tell the whole story. A full "circuit-level" understanding would need to account for the Feed-Forward Networks (MLPs) and the residual stream. Furthermore, the current study focuses on English-centric tasks and decoder-only architectures.

Future work could explore how these heads behave in "many-image" reasoning (like hour-long videos) and whether these internal signals can be used to build even more efficient, training-free retrieval systems for massive multimodal databases.

Summary updated

BibTeX
@misc{li2026can,
  author = {Aaron Branson Cigres Li and Zhaowei Wang and Yu Zhao and Yiming Du and Haobo Li and Xiyu Ren and Ginny Wong and Simon See and Lishu Luo and Haodong Duan and Pasquale Minervini and Yangqiu Song},
  title = {{Can Retrieval Heads See Images? Multimodal Retrieval Heads in Long-Context Vision-Language Models}},
  year = {2026},
  eprint = {2605.27243},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.27243},
}
Figure