arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.27243cs.CV
收藏

检索头能看见图像吗?长上下文视觉语言模型中的多模态检索头

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

HKUST(香港科技大学);University of Edinburgh(爱丁堡大学);CUHK(香港中文大学);NVAITC, NVIDIA, Santa Clara, USA(NVIDIA Santa Clara 分公司);Tsinghua University(清华大学)

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 Song

AI总结:

本文提出一种多模态检索头检测方法,发现视觉语言模型中仅有4.4-10.2%的注意力头贡献了50%的正检索分数,这些头对长上下文推理至关重要,且可直接用于文档检索提升性能。

摘要:

大型视觉语言模型越来越依赖长上下文建模来推理文档、小时级视频和长周期智能体轨迹,要求它们能在交错的文本和图像中定位相关证据。先前的工作使用大语言模型中的检索头研究了这种行为,但其基于复制的标准在证据出现在图像中时并不直接适用。我们引入了一种多模态检索头检测方法,对从问题标记到文本或视觉证据的注意力进行评分。通过这种方法,我们表明多模态检索头是稀疏的、内在的且因果重要的:仅4.4-10.2%的注意力头贡献了50%的正检索分数,而屏蔽前5%选定的头会使MMLongBench-Doc从48.2%降至5.7%,SlideVQA从71.2%降至8.9%,而随机头屏蔽的破坏性要小得多。进一步分析表明,这些头在模态间部分共享,但在每个模态内保持动态,随着上下文长度和“草堆”模态的变化,图像检索头比文本检索头变化更大。无需进一步训练,我们发现这些头也可直接用于对视觉丰富文档进行排序:在MMDocIR上,Qwen3-VL-8B选定的头评分在页面检索上比最强基线提高了7.7/7.4宏/微平均Recall@1,在布局检索上提高了6.3/6.8点。

英文摘要:

Large vision-language models increasingly rely on long-context modeling to reason over documents, hour-level videos, and long-horizon agent trajectories, requiring them to locate relevant evidence across interleaved text and images. Prior work has studied this behavior using retrieval heads in large language models, but its copy-based criterion does not directly apply when evidence appears in images. We introduce a multimodal retrieval head detection method that scores attention from question tokens to textual or visual evidence. With this method, we show that multimodal retrieval heads are sparse, intrinsic, and causally important: only 4.4-10.2% of attention heads account for 50% of the positive retrieval-score mass, and masking the top-5% selected heads reduces performance on two tasks from MMLongBench by 42.5 and 62.3 percentage points, while random-head masking is far less damaging. Further analysis shows that these heads are partly shared across modalities yet remain dynamic within each modality, with image retrieval heads changing more than text retrieval heads as context length and haystack modality change. Without further training, we find that these heads can also be used directly to rank visually rich documents: on MMDocIR, Qwen3-VL-8B selected-head scoring improves Recall@1 by 7.7/7.4 macro/micro points for page retrieval and 6.3/6.8 points for layout retrieval over the strongest reported baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑