Skip to main content
QUICK REVIEW

[论文解读] HALP: Detecting Hallucinations in Vision-Language Models without Generating a Single Token

Sai Akhil Kogilathota, Sripadha Vallabha E G|arXiv (Cornell University)|Mar 5, 2026
Adversarial Robustness in Machine LearningComputer Science被引用 0
一句话总结

HALP 在未生成任何 token 之前,通过对单次前向传递中的内部表示进行探测,在八个 VLMs 上实现强 AUROC,预测视觉-语言模型的幻觉风险。

ABSTRACT

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.

研究动机与目标

  • 推动对视觉-语言模型(VLMs)在生成前检测幻觉的研究。
  • 探究内部表示(视觉、视觉-标记、查询-标记)是否包含可预测信号。
  • 开发在单次前向通过中无需解码的轻量探针,用以估计幻觉风险。
  • 在多样的 VLMs 与基准领域上评估 HALP,以评估通用性与有效性。

提出的方法

  • 从 VLMs 提取三种生成前表示:来自编码器的视觉特征(VF)、最终视觉标记位置的视觉-标记(VT)状态、最终查询位置的查询-标记(QT)状态。
  • 在每种表示上训练三层多层感知机探针,以二元标签预测幻觉可能性。
  • 对每个图像-查询对执行单次前向传播,以在不解码的情况下获得探针分值。
  • 从六个 VQA 数据集创建一个包含 1 万样本的基准,覆盖多样的幻觉应激因素用于评估。
  • 通过基于大型语言模型的评 judge 将生成输出与参考进行比较,以得到真实幻觉标签。
  • 以 AUROC 作为主要评估指标,比较不同模型及表示的探针表现。
Figure 1: Pre-generation hallucination prediction scores on examples across 8 different VLM task domains (benchmarking data distribution in Fig. 3 (a)) for Qwen2.5-VL-7B. The probes scores reflect how likely the probe thinks the model will hallucinate based on different pre-generation features (VF,
Figure 1: Pre-generation hallucination prediction scores on examples across 8 different VLM task domains (benchmarking data distribution in Fig. 3 (a)) for Qwen2.5-VL-7B. The probes scores reflect how likely the probe thinks the model will hallucinate based on different pre-generation features (VF,

实验结果

研究问题

  • RQ1在生成任何 token 之前,是否可以预测 VLM 的幻觉风险?
  • RQ2哪些内部表示(VF、VT、QT)以及哪些解码器层在跨架构中提供最强的前生成幻觉信号?
  • RQ3在多样的 VLM 架构与任务领域中,前生成检测是否具有鲁棒性?

主要发现

  • 查询-标记表示(QT)在幻觉预测中占主导,且在多模型中 AUROC 约为 0.90–0.94。
  • 基于 QT 的平均 AUROC 为 0.8898,超过 VT(0.7090)和 VF(0.6955)。
  • 大多数模型需要较深的 QT 探针(通常接近最终层)以获得最强信号;VT 信号随模型而异,且在中间层可能达到峰值。
  • 某些架构依赖于 VF 或 VT 信号来预测风险,表明在接地与融合方面存在架构差异。
  • 前生成 HALP 探针实现无解码风险评估,运行时开销极小(在 RTX 4090 上约 10–15 ms/探针)。
  • HALP 的信号可在模型类型和领域间泛化,支持早期放弃和有选择的解码等潜在用途。
Figure 2: HALP detection pipeline. We extract three types of representations: (1) visual feature vectors from the encoder, (2) vision token states from decoder layers at the final vision patch position, and (3) query token states from the same layers at the final query position. These representation
Figure 2: HALP detection pipeline. We extract three types of representations: (1) visual feature vectors from the encoder, (2) vision token states from decoder layers at the final vision patch position, and (3) query token states from the same layers at the final query position. These representation

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。