Manuscript Offprint

arXiv:2610.32411

A Broader Look into MLLM's Retrieval Heads

Jia Wang, Yuqing Li, Jiangnan Li, Zheng Lin, Mo Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jia Wang1,2∗^{1,2*} Yuqing Li1,2∗^{1,2*} Jiangnan Li3∗^{3*} Zheng Lin1,2†^{1,2\dagger} Mo Yu3^{3}

1^{1}Institute of Information Engineering, Chinese Academy of Sciences

2^{2}School of Cyber Security, University of Chinese Academy of Sciences

3^{3}Tencent

{wangjia,liyuqing,linzheng}@iie.ac.cn, {jiangnanli,moyumyu}@tencent.com

Question: "What is the secret number?"

(a) Audio needle

video track unchanged

Figure

(b) Visual needle

audio track unchanged

Figure

(c) Retrieval-head detection: which heads let the question attend to the needle?

Figure

Audio-visual input tokens

Context →\rightarrow needle

slh=Ei[ulh−ulh∅]s_{lh} = \mathbb{E}_i \left[ u_{lh} - u^{\varnothing}_{lh} \right]

calibrated and averaged

Heads, sorted by slhs_{lh}

Audio

Visual

Figure

Head

Head

□ top 5% under both needles

Figure 1. From an AV-NIAH case to retrieval-head scores. (a,b) Real excerpts of paired AV-NIAH inputs: the same answer is spoken (a) or shown in a one-second banner (b), while the other track is unchanged; boxes mark the needle. (c) We map the needle to input tokens, measure the attention from question to needle in every head, subtract an uninformative-question baseline, and average over examples. The token strip and bars are schematic; the maps show measured Qwen2.5-Omni-7B scores (rows: layers; columns: heads; positive scores normalized per map). Few heads score highly, and most top-5% heads are shared by the two needles.

Abstract

Locating relevant evidence in long inputs is a core capability of Multimodal Large Language Models. Prior studies attribute this capability to retrieval heads, a sparse set of attention heads that transfer information from the context to the output. However, these analyses are confined to a limited set of modalities and the corresponding models. Moreover, how retrieval heads can be leveraged to enhance the model calls for further exploration. In this paper, we ask whether this mechanism expands together with the input modalities of the model. Taking audio-visual input as a newly added modality, we construct paired inputs in which the same answer is either spoken or shown on screen. With the evidence context fixed, retrieval heads remain sparse in the new modality and are shared to a large extent across modalities. Across 18 language, vision-language, and omni-modal checkpoints, omni-modal models largely preserve the retrieval heads of their backbones. Ablating these heads eliminates nearly all audio-visual retrieval. The heads shared across modalities make up fewer than 2% of all heads, yet ablating them also degrades document understanding, spatial perception, and visual mathematics. Building on these findings, we turn retrieval heads into a target of optimization by training their attention with a ranking objective. This raises the page Recall@1 of Qwen3-VL-8B on MMDocIR by 6.03 points and improves document retrieval across three model families. Functional attention heads can thus serve both as a lens on multimodal models and as a target for improving them.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

1. Introduction

Multimodal large language models (MLLMs) increasingly process long, information-rich inputs spanning a growing range of modalities [17, 32]. Within these inputs, the evidence needed to answer a question may occupy only a small part of the context, surrounded by unrelated content. Locating this evidence is therefore central to multimodal understanding. As the range of supported modalities expands, understanding the mechanisms that enable this capability becomes increasingly important.

Research on language models provides a starting point: a small set of attention heads, termed retrieval heads, transfers relevant information from the context to the output [25]. These heads occur across model families, and ablating them sharply reduces long-context retrieval accuracy. Subsequent work develops methods for analyzing retrieval heads [31] and extends this analysis to vision-language models, where visual retrieval similarly relies on a sparse set of heads [13, 18].

These findings raise two questions. First, does the same retrieval mechanism extend to new modalities as models expand beyond text and images? This involves examining whether retrieval heads are shared across modalities and retained during adaptation. Beyond explaining model behavior, understanding this mechanism may also guide model improvement. Prior work has focused primarily on analysis, while how to translate these insights into stronger multimodal capabilities remains less explored. We therefore ask a second question: can this mechanism serve as a basis for improving multimodal models?

To address these questions, we first study audio-visual input in omni-modal models. This setting allows the same information to be spoken or displayed, while related language and vision-language backbones allow comparisons across stages of modality adaptation. We construct paired inputs that place the same answer in a long video as either speech or on-screen text, holding the background, question, and answer fixed (Figure 1a,b). Together with text and image-text retrieval tasks, this design supports a unified question-to-evidence analysis across 18 checkpoints. Targeted head ablations then test the functional role of the detected heads. We obtain four findings:

• Sparsity (Sec. 4.1). Retrieval scores concentrate in a small set of heads for both spoken and displayed evidence.

• Cross-modal sharing (Sec. 4.2). Models largely reuse the same retrieval heads when the same information is presented in different modalities.

• Preservation (Sec. 4.3). Omni-modal models largely retain the retrieval heads of their language or vision-language backbones, and the retained heads remain necessary for retrieval.

• Causal role (Sec. 4.4). Ablating retrieval heads severely disrupts audio-visual retrieval. Ablating the subset shared across modalities, fewer than 2% of all heads, also substantially impairs performance on broader multimodal reasoning tasks.

Together, these findings identify retrieval heads as a compact, shared mechanism for evidence use, motivating direct optimization of their attention. We therefore turn to multimodal document retrieval (Sec. 5), where evidence localization provides a natural ranking signal. We select retrieval heads on document-related tasks and use their question-to-page attention to score candidate pages. A ranking objective trains these scores to favor relevant pages over distractors. On MMDocIR [7], this improves Qwen3-VL-8B's page Recall@1 by 6.03 points over the untrained scorer and also improves layout retrieval without layout supervision, with gains across three model families.

Our contributions are threefold:

• A paired analysis of retrieval heads across evidence modalities and related model checkpoints, characterizing their sparsity, cross-modal sharing, and preservation as input modalities expand.

• Causal evidence that retrieval heads support audio-visual retrieval and that a small subset shared across modalities also supports broader multimodal reasoning.

• A ranking method that directly optimizes retrieval-head attention and improves multimodal document retrieval across model families.

References (32)