arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.05465cs.CV
收藏

在不生成单个标记的情况下检测视觉-语言模型中的幻觉

HALP: Detecting Hallucinations in Vision-Language Models without Generating a Single Token

Stony Brook University(石英溪大学);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Sai Akhil Kogilathota, Sripadha Vallabha E G, Luzhe Sun, Jiawei Zhou

AI总结:

通过探测模型内部表示在生成前检测视觉-语言模型的幻觉风险,展示不同架构中信息丰富的层和模态差异,并验证轻量级探测器在提升安全性和效率方面的潜力。

摘要:

幻觉仍然是视觉-语言模型(VLMs)的持续挑战,这些模型经常描述不存在的对象或编造事实。现有检测方法通常在文本生成后进行,使干预既昂贵又不及时。我们研究是否可以在生成任何标记之前通过探测模型的内部表示来预测幻觉风险。在多样化的视觉-语言任务和八个现代VLMs中,包括Llama-3.2-Vision、Gemma-3、Phi-4-VL和Qwen2.5-VL,我们检查了三种类型的内部表示:(i)没有多模态融合的视觉-only特征,(ii)文本解码器内的视觉-标记表示,以及(iii)在生成前整合视觉和文本信息的查询-标记表示。在这些表示上训练的探测器在不解码的情况下实现了强大的幻觉检测性能,达到Gemma-3-12B、Phi-4-VL 5.6B和Molmo 7B上的0.93 AUROC。晚期查询-标记状态对于大多数模型最具预测性,而视觉或中间层特征在少数架构中占主导地位(例如,使用视觉-only特征的Qwen2.5-VL-7B达到约0.79 AUROC)。这些结果表明:(1)幻觉风险可以在生成前检测到;(2)最信息丰富的层和模态因架构而异;(3)轻量级探测器有潜力通过早期回避、选择路由和自适应解码来提高安全性和效率。

英文摘要:

Hallucinations remain a persistent challenge for vision-language models (VLMs), which often describe nonexistent objects or fabricate facts. Existing detection methods typically operate after text generation, making intervention both costly and untimely. We investigate whether hallucination risk can instead be predicted before any token is generated by probing a model's internal representations in a single forward pass. Across a diverse set of vision-language tasks and eight modern VLMs, including Llama-3.2-Vision, Gemma-3, Phi-4-VL, and Qwen2.5-VL, we examine three families of internal representations: (i) visual-only features without multimodal fusion, (ii) vision-token representations within the text decoder, and (iii) query-token representations that integrate visual and textual information before generation. Probes trained on these representations achieve strong hallucination-detection performance without decoding, reaching up to 0.93 AUROC on Gemma-3-12B, Phi-4-VL 5.6B, and Molmo 7B. Late query-token states are the most predictive for most models, while visual or mid-layer features dominate in a few architectures (e.g., ~0.79 AUROC for Qwen2.5-VL-7B using visual-only features). These results demonstrate that (1) hallucination risk is detectable pre-generation, (2) the most informative layer and modality vary across architectures, and (3) lightweight probes have the potential to enable early abstention, selective routing, and adaptive decoding to improve both safety and efficiency.

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

↑