arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19792cs.CV
收藏

视觉-语言模型中物体定位的机制

Mechanisms of Object Localization in Vision-Language Models

Goethe University Frankfurt, Germany(法兰克福歌德大学,德国);The Hessian Center for AI, Germany(黑森人工智能中心,德国)

Timothy Schaumlöffel, Martina G. Vilas, Gemma Roig

AI总结:

本文研究了视觉-语言模型中物体定位的核心机制,通过分析LLaVA-1.5和InternVL-3.5等模型,揭示了定位依赖于容器化机制,并发现只有少量注意力头参与分类和定位任务,为未来模型设计提供了指导。

摘要:

视觉引导的语言模型(VLMs)在连接视觉和文本信息方面非常有效,但它们在基本的分类和定位任务上常常遇到困难。尽管分类机制已被广泛研究,但支持物体定位的过程仍不明确。在本工作中,我们使用一系列机械可解释性工具,包括token消融、注意力剔除和因果中介分析,研究了LLaVA-1.5和InternVL-3.5两个代表性家族。我们发现,定位由一种容器化机制驱动,其中对齐对象的token定义了物体的空间范围,而这些边界内token的语义排列与预测框关系不大。只有非常小的注意力头集介导了分类和定位的因果效应,对于LLaVA集中在早期-中期层,而对于InternVL集中在中期-后期层。这两个任务共享一些早期处理,但最终依赖于大量不同的专用头。总体而言,我们提供了VLMs中定位的首个层和头级账户,揭示了狭窄的计算路径,可以指导未来模型设计和基础目标。

英文摘要:

Visually-grounded language models (VLMs) are highly effective in linking visual and textual information, yet they often struggle with basic classification and localization tasks. While classification mechanisms have been studied more extensively, the processes that support object localization remain poorly understood. In this work, we investigate two representative families, LLaVA-1.5 and InternVL-3.5, using a suite of mechanistic interpretability tools, including token ablations, attention knockout, and causal mediation analysis. We find that localization is driven by a containerization mechanism in which object-aligned tokens define the spatial extent of the object, while the semantic arrangement of tokens within those boundaries is largely irrelevant to the predicted box. Only a very small set of attention heads mediates the causal effect for both classification and localization, concentrating in early-mid layers for LLaVA and mid-late layers for InternVL. The two tasks share some early processing but ultimately depend on largely distinct specialized heads. Overall, we provide the first layer- and head-level account of localization in VLMs, revealing narrow computational pathways that can guide future model design and grounding objectives.

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

↑