视觉-语言模型能计数吗?一个合成基准和基于注意力的干预分析
Can Vision-Language Models Count? A Synthetic Benchmark and Analysis of Attention-Based Interventions
AI总结:
本文通过合成基准和注意力干预分析,探讨了视觉-语言模型在计数任务中的表现,揭示了视觉和语言复杂性对计数准确率的影响,并展示了针对性的注意力重加权对计数行为的改进。
摘要:
最近的研究表明,视觉语言模型(VLMs)在回答图像视觉属性问题时,往往依赖于训练期间学到的固有偏差。这些偏差在VLMs被问及需要选择性视觉注意的特定问题时会加剧,这种需求与人类计数任务中观察到的认知挑战相似。我们在此基础上构建了一个合成基准数据集和评估框架,系统地表征了随着图像和提示属性变化,计数性能如何变化。使用开源VLMs,我们分析了在受控扰动(如物体数量、物体颜色、背景颜色、物体纹理、背景纹理和提示特异性)下性能的变化,并考察了相应视觉注意力分配的变化。我们进一步在语言模型解码器中进行了探索性注意力重加权实验,以调节不同层对视觉标记的关注程度,并评估其对计数行为的影响。我们的结果表明,随着视觉和语言复杂性的增加,计数准确性系统性下降,这反映了人类的限制和认知负荷效应。而针对性的注意力重加权产生了适度但可测量的改进。我们不将焦点放在基准准确率上,而是引入了一个受控的诊断框架来分析VLM的计数行为。通过系统实验,我们揭示了根植于跨模态绑定的失败模式,这些模式可能难以通过自然图像基准轻易隔离,并提供了初步的实证证据,表明在语言解码器中的针对性注意力重加权可以影响模型如何在视觉表示中 grounding 语言数量概念。代码和数据可在此获取:https://github.com/ssen7/vlm-count-analysis
英文摘要:
Recent research suggests that Vision Language Models (VLMs) often rely on inherent biases learned during training when responding to queries about visual properties of images. These biases are exacerbated when VLMs are asked highly specific questions that require selective visual attention, a demand that mirrors cognitive challenges observed in human enumeration tasks. We build upon this research by developing a synthetic benchmark dataset and evaluation framework to systematically characterize how counting performance varies as image and prompt properties change. Using open-source VLMs, we analyze how performance shifts across controlled perturbations (e.g. number of objects, object color, background color, object texture, background texture, and prompt specificity) and examine corresponding changes in visual attention allocation. We further conduct exploratory attention reweighting experiments in the language model decoder to modulate focus on visual tokens at different layers and assess their effects on counting behavior. Our results reveal that counting accuracy degrades systematically with increasing visual and linguistic complexity echoing human limits and cognitive load effects known from human perception, while targeted attention reweighting yields modest but measurable improvements. Rather than competing on benchmark accuracy, we introduce a controlled diagnostic framework for analyzing VLM enumeration behavior. Through systematic experiments, we expose failure modes rooted in cross-modal binding that natural image benchmarks may not easily isolate, and provide preliminary empirical evidence that targeted attention reweighting in the language decoder can influence how models ground linguistic quantity concepts in visual representations. Code and data available here: https://github.com/ssen7/vlm-count-analysis
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。