A more comprehensive look at retrieval heads in MLLMsA Broader Look into MLLM's Retrieval Heads
The authors analyze the retrieval heads of 18 models, stating that they are shared across modalities and preserved, and use ranking training to improve Qwen3-VL-8B's Page Micro R@1 on MMDocIR by 6.03 points.
- The long inputs processed by MLLMs span an increasing number of modalities, but retrieval heads research was previously limited to text and images. The authors ask: when input modalities extend to audio and video, does this mechanism still exist, is it shared and preserved, and can it be used to improve models.
- Construct paired AV-NIAH inputs where the same answer appears as speech or as on-screen text with everything else fixed; use calibrated attention scores to uniformly detect retrieval heads on 18 checkpoints, then ablate; finally train the attention of the selected heads with a ranking objective for document retrieval ranking.
- The authors report: retrieval heads are sparse and shared across modalities under audio-visual evidence, and omni-modal models retain the backbone's heads; ablating the top-5% heads drops Qwen2.5-Omni-7B audio EM from 98.3% to 0; ranking training improves Qwen3-VL-8B's MMDocIR Page Micro R@1 by 6.03 points.
- The paper does not specifically discuss limitations. Experimental coverage: mechanistic analysis of 18 checkpoints; AV-NIAH uses 3 video-digit material pairs, 100s/300s backgrounds; downstream ablation 2 models × 8 benchmarks; ranking training 3 models, only the MMDocIR training set; the paper does not report training sample size, number of iterations, or number of random seeds.
- Evaluated models
- Qwen2.5-3BQwen2.5-7BQwen3-4BQwen3-8BQwen2.5-VL-3BQwen2.5-VL-7B-InstructQwen3-VL-4BQwen3-VL-8B-InstructMiniCPM-V-4.5BAGEL-7BQwen2.5-Omni-3BQwen2.5-Omni-7BMiniCPM-o-2.6MiniCPM-o-4.5SALMONN 2+ 3BSALMONN 2+ 7BSALMONN Pro 4BSALMONN Pro 8BGemma3-12B-it
- Benchmarks
- AV-NIAHLongMemEvalNatural QuestionsMM-NIAHMMDocIRMMLongBench-DocCV-BenchMMStarCountBenchQAMMMUMMMU-ProMathVistaMathVision
- Metrics
- Spearman ρtop-5% overlapExact Match (EM)E = r̄ − tRecall@K (R@K)
Retrieval heads in multimodal large language models (MLLMs) remain sparse and highly shared across modalities after adding audio-visual modalities. Across 18 language, vision-language and omni-modal checkpoints, omni-modal models largely retain the backbone's retrieval heads; these shared heads account for less than 2% of all heads, and ablating them nearly eliminates audio-visual retrieval and also impairs document understanding, spatial perception and visual math. The authors train retrieval-head attention with a ranking objective, raising Qwen3-VL-8B's page Recall@1 on MMDocIR by 6.03 percentage points and improving document retrieval across three model families.
Paper analysis
What problem does this paper attempt to solve?
The authors ask whether retrieval heads extend, are shared, and are retained when the input modality extends to audio-visual, and whether they can be used to improve the model.
Core question: when the input modalities of MLLMs extend to audio and video, does the retrieval heads mechanism extend accordingly, and can this mechanism be used to improve models.
- Setting and importance: the long inputs processed by MLLMs span an increasing number of modalities, and the evidence needed for an answer may occupy only a small part of the context; locating evidence is central to multimodal understanding (Introduction).
- Gaps in existing research: the authors state that retrieval heads analysis was previously limited to a few modalities and corresponding models (language models and vision-language models), and that prior work has mainly done analysis, with less exploration of how to turn mechanistic insights into stronger multimodal capabilities (Introduction, Sec. 2).
- Core design: construct paired audio-video inputs where the same answer is spoken aloud or displayed as on-screen text, with background, question, and answer fixed, so that the evidence modality is the only variable (Figure 1a,b, Sec. 3.2).
- Paper output: a unified retrieval-head detection and ablation analysis on 18 checkpoints, and a ranking method that directly optimizes the attention of retrieval heads to improve multimodal document retrieval (Sec. 3–5).
What related research exists?
Related work falls into two groups: identification and analysis of functional attention heads, and attempts to use these heads to improve models.
Functional attention heads
- Wu et al. (2025): identified retrieval heads in language models—a sparse set of attention heads causally important for long-context evidence retrieval, characterized functionally by answer-copying behavior (Sec. 2 cites [25]).
- Zhang et al. (2025, QRHead): proposed query-focused scoring, extending the analysis to attention between the query and relevant context, enabling retrieval heads to be identified on real question-answering tasks (Sec. 2 cites [31]); Lin et al. (2026) further analyzed the dynamics of retrieval heads (cites [15]).
- Functional heads in vision-language models: Baek et al. (2025), Kang et al. (2025), Park & Sung (2026), Sun et al. (2026) and others observed functional specialization in text recognition, spatial localization, and visual evidence retrieval, and used causal interventions to link selected heads to evidence localization and downstream reasoning (Sec. 2 cites [1, 10, 18, 21]).
Functional head utilization
- Utilization on language models: SEAL (Lee et al., 2025), DuoAttention (Xiao et al., 2025), Ma & Okazaki (2026) and others, ranging from attention-based retrieval and efficient inference to interventions that improve evidence use (Sec. 2 cites [12, 14, 16, 26, 31]).
- Multimodal direction: the authors state that as mechanistic analysis extends to multimodal models, new applications show similar potential, but broader application of these mechanisms to improve multimodal capabilities remains less explored (Sec. 2 cites [13, 19]).
Methods and baselines this paper directly relies on
- MM-RetHead (Li et al., 2026): this paper's calibration score (Eq. 2) follows its uninformative-question baseline; head selection for document retrieval follows its approach of merging retrieval heads across four multimodal detection conditions (Sec. 3.1, 5.3).
- Retrieval baselines: on MMDocIR, compared with published retrievers such as DPR, ColBERT, DSE docmatix, ColPali, and Col-Phi3 MMDocIR; the authors note that these baselines use different evaluation settings, and the controlled comparison is with untrained retrieval heads under the same settings (Table 3, Sec. 5.4).
Positioning: the authors state that this paper extends the analysis of retrieval mechanisms to audio-visual modalities and explores using these mechanisms to improve multimodal evidence use (end of Sec. 2).
How does the paper address this problem?
Unified detection criteria plus paired audio-video inputs for mechanism analysis and ablation, then training the attention of selected heads with a ranking objective for document retrieval.
The overall approach has two steps: first, use unified attention scoring to detect and ablate retrieval heads on 18 checkpoints, answering the mechanism question; then, treat the question-to-evidence attention of the selected heads as an optimizable objective and train with a ranking loss, answering the application question.
Detection method (Sec. 3.1)
- Evidence attention: each sample contains a context, a question, and annotated evidence spans; the evidence attention of head (l,h) is the mean attention from question tokens to evidence tokens, ulh(i) = 1/(|Qi|)∑q∈ Qi∑t∈ Gi alh(i)(q,t) (Eq. 1).
- Calibrated score: to remove position or content preferences unrelated to the question, recompute with an uninformative question on the same context and subtract, slh = 1/N∑i (ulh(i) − ulh(i,∅)) (Eq. 2), following the approach of MM-RetHead; sort by s and by default take the top 5% as retrieval heads.
- Computational constraint: all attention is computed under the model's native visibility constraints.
Detection data and models (Sec. 3.2)
- Three benchmark types: for text, the evidence-annotated subsets of LongMemEval and Natural Questions processed by QRHead; for interleaved image-text, MM-NIAH; for audio-video, the paired AV-NIAH constructed in this paper.
- AV-NIAH construction: a six-digit number is inserted into MLVU background videos; in the audio condition it is read out by synthesized speech with the visuals unchanged, and in the visual condition it is displayed in a centered banner for 1 second with the audio track unchanged; the two conditions share the source video, answer, insertion depth, and question; the time span of the speech or banner is mapped to the evidence span (Figure 1a,b).
- Models: 18 checkpoints, divided into four groups: language, vision-language, unified, and omni-modal (Table 1); all measurements target the language decoder that produces text output (including Qwen2.5-Omni's Thinker and BAGEL's understanding expert).
Comparison and intervention protocol (Sec. 3.3)
- Two comparisons: within a model, only the evidence modality is changed, testing whether heads are shared across modalities; across related checkpoints, the text task is fixed, testing whether heads are preserved during modality adaptation. Spearman ρ measures full-ranking consistency, and top-set overlap (against random expectation) measures strong-head consistency.
- Ablation: zero out the output of target heads before the attention output projection; the control is an equal number of random heads per layer drawn from outside the retrieval heads, with 3 seeds. The effect size is E(S) = r̄ − t, i.e., the additional score drop of the target set relative to random ablation (Eq. 3).
- Statistics: ablations use samples held out during head selection; significance uses a paired cluster-bootstrap test with Holm correction.
Retrieval ranking method (Sec. 5.1–5.3)
- Candidate scoring: with a fixed head set Hk, the score of candidate dj is the sum of question-to-candidate-visual-token attention over the selected heads (Eq. 4), i.e., summing Eq. 1 over the selected heads with the candidate as the evidence span.
- Three training steps: (1) detect Hk once on the base model and fix it; (2) normalize scores within a sample, with endpoints detached to fix the logit range to [0, γ], while gradients still flow through all rj (Eq. 5); (3) each sample contains one relevant page and one hard negative from the same document, minimize the ranking cross-entropy (Eq. 6), with the loss defined only on the selected heads, and gradients updating LoRA adapters on the attention projections.
- Inference: candidates are ranked by rj minus the score under an uninformative question (the same calibration as Eq. 2).
- Default settings: main model Qwen3-VL-8B-Instruct, default k = 16; training data from the MMDocIR training set, with only page-level annotations and no layout data, and layout retrieval used as a fine-grained transfer test.
What experiments did the paper conduct?
Detection and ablation experiments on 18 checkpoints, plus MMDocIR ranking training experiments on 3 model families.
Experimental setup
- Models tested: mechanistic analysis on 18 checkpoints (Table 1): language group Qwen2.5-3B/7B, Qwen3-4B/8B; vision-language group Qwen2.5-VL-3B/7B, Qwen3-VL-4B/8B, MiniCPM-V-4.5; unified group BAGEL-7B; omni-modal group Qwen2.5-Omni-3B/7B, MiniCPM-o-2.6/4.5, SALMONN 2+ 3B/7B, SALMONN Pro 4B/8B. Downstream ablation uses Qwen2.5-Omni-7B and SALMONN Pro 4B. Ranking training uses Qwen3-VL-8B-Instruct, Qwen2.5-VL-7B-Instruct, Gemma3-12B-it.
- Datasets: detection uses LongMemEval, Natural Questions (QRHead processing), MM-NIAH, and the self-built AV-NIAH; downstream tasks use MMLongBench-Doc, CV-Bench, MMStar, CountBenchQA, MMMU, MMMU-Pro, MathVista, MathVision; retrieval uses MMDocIR (Page and Layout tiers).
- Metrics: Spearman ρ, top-5% overlap, Exact Match (EM), extra drop E = r̄ − t (Eq. 3), Recall@K (Micro/Macro).
- Controls: the ablation control is an equal number of random heads per layer (3 seeds); Table 2 additionally uses an equal number of heads selected by natural-image retrieval as a second control; significance is paired cluster-bootstrap + Holm correction.
- Samples and materials: AV-NIAH uses 3 video-digit material pairs (leave-one-pair-out in Figure 3b), with backgrounds of 100s/300s (about 8K/24K tokens); ablation uses samples held out from head selection. The paper does not report sample sizes for each task.
Main results
Main results of the mechanistic part (Figure 3, Figure 5, based on the paper's text and captions):
Phenomenon Number Source audio/visual top-5% heads overlap 69%–83% (random expectation < 3 heads) Figure 3a Spearman ρ of all-head scores 0.88–0.92 (8 models) Figure 3b Qwen2.5-Omni-7B audio 100s EM 98.3% → 0 (96.9% after random ablation) Figure 5a Sparsity fewer than 1/10 of heads per model account for half of the positive scores Figure 2c Main results of retrieval training (MMDocIR, based on Table 3, Table 4):
Model Page Micro R@1 (before→after) Layout Micro R@1 (before→after) Qwen3-VL-8B 56.45 → 62.48 (+6.03) 47.14 → 48.60 (+1.46) Qwen2.5-VL-7B 52.41 → 58.10 (+5.69) 31.79 → 32.60 (+0.81) Gemma3-12B 44.75 → 46.92 (+2.17) 23.88 → 26.04 (+2.16) - The authors state that before training, retrieval heads already rank far better than random heads (Table 3: Page Micro 56.45 vs. 38.00), consistent with their role in evidence localization.
- The authors state that the Page improvement holds in each of the ten document domains; Layout also improves without layout supervision.
- The authors note that the published retrievers in Table 3 use different evaluation settings, and the controlled comparison is with untrained retrieval heads under the same settings.
Cross-modal sharing and retention (Sec. 4.2–4.3)
- What was measured: audio/visual head sets of the same model were compared under paired AV-NIAH; backbone and adapted checkpoints were compared on fixed text tasks.
- Results: top-5% overlap 69%–83%, ρ 0.88–0.92 (Figure 3); SALMONN and its vision-language backbone ρ ≥ 0.97, Qwen2.5-Omni close to its language backbone (Figure 4, shading marks ρ ≥ 0.95).
- Exceptions and the authors' interpretation: correlation is lower between spoken digits and MM-NIAH natural-image evidence; the authors therefore argue that head recruitment depends more on the retrieval target than on the evidence modality, consistent with partial sharing between text and images.
Downstream task ablation (Sec. 4.4, Table 2)
- What was measured: the effect of ablating AV-shared heads (14 and 10 for the two models, respectively) on 8 multimodal benchmarks, with natural-image retrieval heads as the control.
- Results: AV-shared ablation drops more than random ablation on all tasks, largest on visual math and spatial perception (e.g., Qwen2.5-Omni-7B MathVista E = 22.3 pp, CV-Bench E = 16.3 pp); in 15 of 16 model-task pairs the effect is larger than for image-retrieval heads; after Holm correction, AV-shared is significant on 4 of 8 tasks per model, image-retrieval on at most 1.
- Authors' interpretation: cross-modal sharing identifies a small set of heads central to evidence use, whose effect extends beyond the tasks detected.
Other ablations and analyses
- Head set selection (Figure 6): the extra EM drop for all three sets—top-20, top-5%, AV-shared (9–14 heads)—far exceeds random ablation, with 95% intervals.
- Number of heads k (Figure 7): for each value of k ∈ {4, 8, 16, 32, 64} and each recall cutoff, training improves the retrieval-head scorer; random heads after training remain below retrieval heads; Page R@1 gain is largest (labeled +6.03, k=16).
- Out-of-domain effect (Figure 8): changes before and after training on MMMU, MMMU-Pro, MathVista, MMLongBench-Doc are all within 1 point, with some model-benchmark pairs slightly improving.
- Detection material sensitivity (Figure 3b): conclusions hold under leave-one-video-digit-pair-out and 300s backgrounds; gray bars are the material sensitivity range, not confidence intervals.
What are some points that can be further explored?
The paper does not specifically discuss limitations; the experiments cover 18 detection models, 2 downstream ablation models, and 3 ranking training models.
Limitations and future directions noted by the authors
The paper does not specifically discuss limitations (there is no Limitations section, and no limitation or future work items are listed in the Conclusion and Discussion).
Scope of experiments
- Mechanism analysis models: 18 checkpoints, covering four groups: language, vision-language, unified, and omni-modal (Table 1); downstream task ablations are done only on two models, Qwen2.5-Omni-7B and SALMONN Pro 4B (Table 2).
- AV-NIAH materials: 3 video-digit pairs, with background videos from MLVU, evidence as a six-digit number (spoken or a 1-second banner), and background lengths of 100s/300s (Sec. 3.2, Figure 3b, Figure 5).
- Ranking training: 3 models (Qwen3-VL-8B-Instruct, Qwen2.5-VL-7B-Instruct, Gemma3-12B-it), training data only from the MMDocIR training set (page-level annotations), evaluation on the Page and Layout tiers of MMDocIR (Sec. 5.3).
- Out-of-domain checks: after ranking training, side effects are checked on four benchmarks: MMMU, MMMU-Pro, MathVista, and MMLongBench-Doc (Figure 8).
- Unreported information: the paper does not report the sample size of ranking training, the number of training iterations, the LoRA hyperparameter values (γ and ϵ are given only as symbols), or the number of random seeds (the ablation control states 3 seeds; training does not state one), nor does it report human evaluation.
Summarize the main content of the paper
Retrieval heads are shared across modalities, preserved, causally effective, and can serve as an optimization objective to improve document retrieval.
A mechanism-analysis-plus-method paper: it studies the behavior of retrieval heads when MLLM input modalities extend to audio and video, and turns it into an optimization objective.
- Problem: prior retrieval heads analysis was limited to text and images; the authors ask whether this mechanism extends to new modalities and whether it can be used to improve models.
- Method: a self-built paired AV-NIAH (the same digit spoken aloud or displayed on screen, everything else fixed), unified detection on 18 checkpoints using calibrated attention scores, together with random-control ablations; then training with a ranking loss via LoRA, using the attention of the selected heads as the score.
- Mechanism findings (reported by the authors): under audio-video evidence, retrieval heads are sparse (fewer than 1/10 of the heads per model account for half of the positive scores, Figure 2c); audio/visual top-5% overlap is 69%–83% (Figure 3a); omni-modal models preserve the backbone's heads (SALMONN vs. backbone ρ ≥ 0.97, Figure 4).
- Causal evidence: ablating top-5% heads drops Qwen2.5-Omni-7B audio EM from 98.3% to 0, versus 96.9% after random-control ablation (Figure 5a); ablating AV-shared heads (less than 2% of all heads) also harms document understanding, spatial perception, and visual math (Table 2).
- Application results: ranking training improves Qwen3-VL-8B's MMDocIR Page Micro R@1 by 6.03 points, and also improves Qwen2.5-VL-7B and Gemma3-12B (Table 3, 4); changes on out-of-domain benchmarks are all within 1 point (Figure 8).
- Authors' conclusion: functional attention heads can serve both as a lens for understanding multimodal models and as an optimization objective for improving models (Sec. 6).