NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Heads That Write, Not Just Point: Image Retrieval Heads in Vision-Language Models

Junsung Park, Uiwon Hwang, Donghun Kang, Yeongtak Oh, Jaewon Jeong, Gyeongtae Yoo, Han Cheol Moon, Jungbeom Lee, Sungroh Yoon

NeurIPS page · Open on the map

Category: Vision-Language Models › Multimodal Vision-Language Integration · Type: new method · Keywords: vision-language models, image retrieval, attention head analysis, pointer heads, writer heads

Areas: LLM Reasoning › Domain-Specific Reasoning › Visual Reasoning; Multimodal › Multimodal Integration and Robustness › Multimodal Large Language Models; Evaluation & Benchmarks › Visual Multimodal Evaluation › Vision-Language Diagnostics

Summary

We introduce ICIR-MCQ, a controlled probe that identifies pointer and writer heads in vision-language models for in-context image retrieval, revealing that both pointing and writing are needed for effective retrieval.

Explained to a 5-year-old

Big computers can look at pictures and words together. We want to know how they pick the right picture when asked a question. We look inside the computer and find special parts that point to the picture and parts that write about it. These parts work together to remember which picture is important. The study shows that just pointing isn’t enough; the computer also needs to write the picture’s info.

Explained to a 5-year-old, longer

Big computers can understand both words and pictures at the same time. When you ask them a question about a picture, they need to decide which picture is the right one. Researchers wanted to see how these computers make that choice inside their brain. They looked at tiny parts of the computer called attention heads. Some heads only point to the picture, like a finger pointing. Other heads write information about the picture, like writing a note. The researchers found that only a few heads do each job. The heads that both point and write are the most important for getting the right answer. Just looking at where a head points is not enough to understand the whole process. You also need to see what the head writes to know the full story. This discovery helps us make computers that can find pictures more reliably. It also teaches us that both pointing and writing are needed for good picture understanding.

For a technical reader

The paper investigates how vision-language models internally select the relevant image among several inputs. It introduces a probing framework that examines two types of attention heads: “pointer” heads that focus on image tokens and “writer” heads whose outputs contain the image information. Using a lightweight retriever trained on each head’s output, the authors find that only about 35-44 heads overlap between the two categories out of the top-100. Experiments show that a single pointer head can already beat existing external retrieval systems, but the most effective heads for multi-image inference lie in the intersection of pointer and writer sets. The results highlight that analyzing only attention patterns is insufficient; the residual stream must also carry the image data for reliable retrieval.

Problem

Understanding how vision-language models internally select the relevant image among multiple inputs is unclear, and analyses based solely on attention may be incomplete.

Method

We analyze attention heads by measuring their attention mass over image tokens to find pointer heads, and we also examine their value-weighted outputs to discover writer heads, using lightweight retrievers trained on each head’s output.

Results

A single pointer head surpasses existing vision-language retrievers on a multi-image retrieval benchmark, and only 35-44 heads overlap between pointer and writer selections, with the intersecting heads being crucial for multi-image inference.

Contributions

We propose a two-sided analysis (attention-based pointing and output-based writing) to identify image retrieval heads in LVLMs, reveal the limited overlap between pointer and writer heads, and demonstrate that both are needed for effective retrieval.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction