视觉语言模型跨图像比较的定位与修复:Qwen3-VL、InternVL3.5、Gemma-3 中 16-32 个注意力头决定成败
Seen but Unsaid: Locating and Repairing Cross-Image Comparison in Vision-Language Models
研究在 Qwen3-VL-2B/4B/8B/32B、InternVL3.5-8B 和 Gemma-3-12B 上定位跨图像匹配失败的两个环节:精确复制的结果已到达答案位置却未被输出采用,语义对应存在于视觉 token 中但仅被弱比较、从未到达答案位置。
arXiv:2611.21539v2 Announce Type: replace Abstract: Vision-language models (VLMs) often fail to match a point or an object across two images, even when the match can be decoded from their hidden states. We trace where this information is lost in Qwen3-VL-2B/4B/8B/32B, InternVL3.5-8B, and Gemma-3-12B on synthetic shape matching, HPatches point correspondence, and SPair-71k semantic correspondence, comparing input-matched probes with calibrated outputs. The models fail at two distinct points. Exact copies are compared and the result reaches the answer position, but the output does not use it, whether or not the shapes have names. Semantic correspondences are present in the visual tokens but are only weakly compared and never reach the answer position. The comparison runs through 16 to 32 attention heads that let tokens of the second image attend to the first. Redistributing their attention at fixed mass removes up to 32 points of accuracy, against at most 7 for random or attention-matched heads, and their attention is gated by salience and weighted by content. Training only these heads (0.02% of the parameters) recovers 25 to 28 points on SPair-71k and transfers to HPatches and BLINK. Unconstrained LoRA adapters, which reach higher accuracy, converge on the same heads: inserting only these heads' attention into the base model recovers 21-51% of an adapter's gain, mostly through changed inputs to the heads. Across all 14 trained arms, the selectivity of this small head set tracks the accuracy they reach, and it is read directly from attention, without probes or retraining. The gain in selectivity is not a by-product of more attention to the first image: it comes mostly from the wrong options no longer being drawn to the marked reference.
来源:arXiv (AI + Vision + Imaging) · arxiv.org