UniProbe:一种利用多结构内部表示的可学习令牌级幻觉检测器,用于大型视觉语言模型
观点分析 · 2026/08/17
大型视觉语言模型(LVLMs)在视觉推理和对话方面表现出色,但经常产生与视觉输入不符的幻觉内容。有效的缓解需要令牌级定位,以便在不丢弃整个响应的情况下进行针对性干预。现有检测器需要昂贵的全模型微调,依赖忽略模型生成过程的外部验证器,或将内部信号简化为孤立特征和手工统计,丢弃了空间、顺序和关系结构。我们提出UniProbe,一种轻量级、统一、可学习的检测器,它从单次前向传播中对冻结的LVLM的异构计算轨迹进行建模。UniProbe在图像块、查询令牌和生成令牌上构建有向图,用注意力权重编码它们的关系。它通过交替的结构感知模块处理该轨迹:用于关系证据的GNN、用于二维视觉几何的ViT和用于响应顺序的GRU。交错它们使得空间、关系和顺序证据在整个检测器中相互作用。我们还开发了一种用于幻觉感知解码的流式变体,在生成过程中检测并重新采样幻觉令牌,以及一种使检测器与LVLM自身生成对齐的自适应策略。在多种LVLM骨干上,UniProbe在令牌级和对象幻觉检测上达到了最先进水平。在解码过程中,它在标准生成延迟的1.06倍下将对象幻觉减少了高达55%。
该论文提出了一种新颖的幻觉检测方法,利用多结构内部表示,在无需微调的情况下实现高精度检测,并显著降低解码时的幻觉,具有实际应用价值。
Large Vision-Language Models (LVLMs) achieve impressive visual reasoning and dialogue capabilities, yet frequently hallucinate content unsupported by the visual input. Effective mitigation requires token-level localization, enabling targeted intervention without discarding the entire response. Existing detectors require expensive full-model fine-tuning, rely on external verifiers that ignore the model's generation process, or reduce internal signals to isolated features and hand-crafted statistics, discarding spatial, sequential, and relational structure. We introduce UniProbe, a lightweight, unified, learnable detector that models a frozen LVLM's heterogeneous computational trace from a single forward pass. UniProbe constructs a directed graph over image patches, query tokens, and generated tokens, with attention weights encoding their relations. It processes this trace with alternating structure-aware modules: a GNN for relational evidence, a ViT for 2-D visual geometry, and a GRU for response order. Interleaving them allows spatial, relational, and sequential evidence to interact throughout the detector. We further develop a streaming variant for hallucination-aware decoding, which detects and resamples hallucinated tokens during generation, and a self-adaptation strategy aligning the detector with the LVLM's own generations. Across diverse LVLM backbones, UniProbe achieves state-of-the-art token-level and object-hallucination detection. During decoding, it reduces object hallucinations by up to 55\% at 1.06times the latency of standard generation.