在跳跃前检测:视觉语言模型中的幻象检测
Detect Before You Leap: Mirage Detection in Vision-Language Models
AI总结:
针对视觉语言模型在缺乏视觉证据时产生自信但无根据回答的幻象问题,提出文本条件层内对齐方法,通过分析视觉编码器各层补丁令牌与问题嵌入的对齐轨迹,结合像素统计、零样本域路由和结构化自评估,实现高精度预响应幻象检测。
摘要:
视觉语言模型(VLM)即使在所需视觉证据缺失、空白或与问题无关时,也能产生自信的视觉答案。这种失败模式被称为幻象(Asadi et al. 2026),在医学和文档视觉问答中尤其令人担忧,因为看似合理但缺乏视觉依据的响应可能被误认为是基于图像的证据。我们研究预发布幻象检测:给定图像-问题对,目标是在VLM生成响应之前确定其应回答还是弃权。我们提出文本条件层内对齐(TC-LIA),一种模型无关的方法,探测CLIP ViT-H/14视觉编码器各层的补丁令牌表示。TC-LIA将逐层图像补丁令牌投影到最终CLIP嵌入空间,并测量它们与问题嵌入的相似度,从而跟踪问题相关视觉证据是否在视觉层中出现。得到的对齐轨迹通过最终图像-文本余弦相似度、后期层top-k补丁-文本对齐、早期到后期增益和逐层斜率进行总结。这些特征与像素统计空白/噪声检测、零样本域路由和结构化VLM自评估相结合,形成一个集成系统。在五个VQA领域、三种输入条件和十二个VLM骨干网络上,最佳系统实现了约94.6-94.7%的三类检测准确率,幻象率低于3%,而基线幻象率范围为21.7%至66.6%。
英文摘要:
Vision-language models (VLMs) can produce confident answers without relevant visual evidence, a failure mode known as mirage (Asadi et al., 2026). We study pre-release mirage detection: deciding whether a VLM answer should be released or withheld. Our model-agnostic method, Text-Conditioned Layer-wise Internal Alignment (TC-LIA), tracks question-image alignment across the layers of a frozen CLIP ViT-H/14 encoder, summarizing patch-text alignment by final similarity, late-layer top-k alignment, early-to-late gain, and slope. TC-LIA is training-free at deployment with fixed projections and scoring weights, without any label-specific training, and delivers strong detection independently. Additionally, when combined with blank/noise detection, domain routing, and VLM self-assessment, it forms an ensemble whose supervised training improves performance but is an optional add-on. On 19,004 samples spanning 10 VQA domains, 14 state-of-the-art VLMs exhibit 57.3-75.0% base mirage rates. Our proposed TC-LIA alone cuts this to 7.5% with 83.5% Related/Unrelated/Blank-Noise classification accuracy, and the ensemble reaches 84.5-88.4% accuracy with 5.9-7.2% mirage rates (best joint result: 88.4% accuracy, 6.4% mirage rate). Notably, an ensemble trained on a single backbone transfers well to unseen backbones, with the best-transferring source staying within 0.7% accuracy points of per-backbone training across 13 held-out VLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。