arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.18523cs.CVcs.AI
收藏

计数电路:大视觉-语言模型中视觉推理的机制可解释性

Counting Circuits: Mechanistic Interpretability of Visual Reasoning in Large Vision-Language Models

Rutgers University(罗格斯大学);UC Santa Barbara(加州大学圣巴巴拉分校);University of Washington(华盛顿大学);Allen Institute for AI(人工智能研究院)

Liwei Che, Zhiyu Xue, Yihao Quan, Benlin Liu, Zeru Shi, Michelle Hurst, Jacob Feldman, Ruixiang Tang, Ranjay Krishna, Vladimir Pavlovic

AI总结:

本文研究了大视觉-语言模型在计数任务中的机制,提出两种新方法揭示计数电路结构,并通过干预策略提升模型计数精度和视觉推理能力。

摘要:

计数作为测试大视觉-语言模型(LVLM)推理能力的简单但有力的方法,迫使模型识别每个个体对象并相加。本研究通过受控的合成和现实世界基准,结合机制分析,探讨了LVLMs如何实现计数。结果表明,LVLMs在小数量上表现出类人计数行为,在较大数量上表现出噪声估计。我们引入了两种新的可解释性方法,视觉激活补丁和HeadLens,并利用它们揭示了一个在多种视觉推理任务中广泛共享的结构化的“计数电路”。基于这些见解,我们提出了一种轻量级干预策略,利用简单且广泛可用的合成图像来微调任意预训练的LVLMs仅在计数上进行训练。尽管这种微调范围狭窄,干预不仅提高了分布内合成数据的计数准确性,还使Qwen2.5-VL在分布外计数基准上平均提高8.36%,在复杂一般视觉推理任务上平均提高1.54%。这些发现突显了计数在视觉推理中的核心和影响性作用,并提出了通过针对性增强计数机制来提高整体视觉推理能力的潜在途径。

英文摘要:

Counting serves as a simple but powerful test of a Large Vision-Language Model's (LVLM's) reasoning; it forces the model to identify each individual object and then add them all up. In this study, we investigate how LVLMs implement counting using controlled synthetic and real-world benchmarks, combined with mechanistic analyses. Our results show that LVLMs display a human-like counting behavior, with precise performance on small numerosities and noisy estimation for larger quantities. We introduce two novel interpretability methods, Visual Activation Patching and HeadLens, and use them to uncover a structured "counting circuit" that is largely shared across a variety of visual reasoning tasks. Building on these insights, we propose a lightweight intervention strategy that exploits simple and abundantly available synthetic images to fine-tune arbitrary pretrained LVLMs exclusively on counting. Despite the narrow scope of this fine-tuning, the intervention not only enhances counting accuracy on in-distribution synthetic data, but also yields an average improvement of +8.36% on out-of-distribution counting benchmarks and an average gain of +1.54% on complex, general visual reasoning tasks for Qwen2.5-VL. These findings highlight the central, influential role of counting in visual reasoning and suggest a potential pathway for improving overall visual reasoning capabilities through targeted enhancement of counting mechanisms.

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

↑