视觉语言模型从何处获取左右方向?Qwen2.5-VL、Qwen3-VL与InternVL3中的位置编码反事实研究 Where Do Vision-Language Models Get Left and Right? Position-Code Counterfactuals in Qwen2.5-VL, Qwen3-VL and InternVL3 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-10
👁️ 预览文献
💡 AI 中文简介
研究视觉语言模型如何判断图像中的左右方向。通过仅镜像ViT位置编码,发现Qwen2.5-VL、Qwen3-VL和InternVL3在84.3%-93.2%的左右问题上会给出翻转答案,表明ViT位置编码足以决定左右判断,而语言模型端的令牌顺序影响很小。该效应主要位于全局注意力ViT块。研究还发现随机排列对物体顺序敏感,且多数剩余错误与关系绑定或物体定位有关。
领域计算机视觉与自然语言处理交叉,多模态视觉语言模型
适合谁读需要一定专业背景(了解视觉Transformer和语言模型基础)
核心贡献1. 通过仅镜像ViT宽度位置编码,证明ViT位置编码足以复现翻转图像的左右答案,而LLM端令牌顺序影响微弱。2. 定位效应主要存在于全局注意力ViT块(尤其是最后一层),并揭示随机排列对物体顺序的敏感性及剩余错误与关系绑定、物体定位相关。
关键数据在CV-Bench左右问题上,镜像ViT宽度位置编码复现翻转答案的比例为84.3%-93.2%(Qwen2.5-VL-3B为87.5%);随机排列在反转物体顺序时比保持顺序多翻转18.9-31.0个百分点的答案;What'sUp上随机排列落在镜像关系的比例大多低于随机水平。
推荐理由如果你好奇多模态模型如何‘看’左右,这篇研究用精巧的反事实实验揭示了位置编码的关键作用,值得一读。
关键词["视觉语言模型", "位置编码", "左右方向判断", "反事实分析", "ViT", "多模态推理"]

原文摘要

查看英文原文摘要

A vision-language model may take left-right direction from the orientation of image content within patches, its vision transformer's (ViT) position code, or token positions and order in its language model (LLM). Ablations show the ViT code is necessary; we test sufficiency by mirroring only a position code. In Qwen2.5-VL-7B, Qwen3-VL-4B and InternVL3-2B, mirroring ViT width positions reproduces the flipped-image answer on 84.3-93.2% of CV-Bench left-right questions (Qwen2.5-VL-3B: 87.5%, partly a left fallback). With two options, this also counts disruption; a half-grid shift flips most answers too. With the ViT code intact, LLM-side id and token-order mirrors change few left-right answers in all three series (a weak id test in Qwen2.5-VL). In Qwen2.5-VL-7B the effect sits in the global-attention ViT blocks, mostly the last. On What'sUp, flipping content and token order, not the position code, keeps more on/under than left-right answers at the flipped-image answer. Post hoc analyses qualify these results. On CV-Bench items with located objects, random permutations flip 18.9-31.0 points more answers when reversing the objects' order than when keeping it. On What'sUp, in Qwen2.5-VL and Qwen3-VL, the share of the left-right changes made by random permutations that land on the mirror relation is mostly below chance. Counted as returns to the original answer, the What'sUp contrast of support with left-right relations is clear only in InternVL3-2B. Most remaining errors give the same relation whichever object is asked about, suggesting that repair may target relation binding, object localization or use of the reference object.