TruthPrInt: Mitigating LVLM Object Hallucination Via Latent Truthful-Guided Pre-Intervention
该论文提出了一种名为TruthPrInt的新框架,通过利用大型视觉语言模型(LVLM)的内部状态来识别和减轻对象幻觉,显著提高了模型的可信度。
更新于 2025-03-14。作者:Jinhao Duan、Fei Kong、Hao Cheng、James Diffenderfer、Bhavya Kailkhura、Lichao Sun、Xiaofeng Zhu、Xiaoshuang Shi、Kaidi Xu。
中文摘要
幻视现象(OH)已被认定为大型视觉语言模型(LVLMs)中一个主要的可信挑战。近年来,大型语言模型(LLMs)的进展表明,内部状态,如隐藏状态,编码了生成响应的“整体真实性”。然而,LVLMs中的内部状态如何运作以及它们是否可以作为“逐词”幻觉指示器,这对于减轻OH至关重要,这方面的研究还远未充分展开。在本文中,我们首先对LVLM内部状态与OH问题进行了深入研究,并发现:(1)LVLM内部状态是幻觉行为的逐词高特异性指示器。此外,(2)不同的LVLMs在共同的潜在子空间中编码了幻觉的通用模式,表明存在由各种LVLMs共享的“通用真实性方向”。基于这些发现,我们提出了真实引导预干预(TruthPrInt),它首先学习LVLM解码的真实方向,然后在LVLM解码过程中应用真实引导的推理时干预。我们进一步提出了ComnHallu,通过构建和调整幻觉潜在子空间,来增强跨LVLM和跨数据幻觉检测的可迁移性。我们在广泛的实验设置中评估了TruthPrInt,包括领域内和领域外场景,以及流行的LVLMs和OH基准。实验结果表明,TruthPrInt在性能上显著优于现有方法。代码将在https://github.com/jinhaoduan/TruthPrInt上提供。
英文摘要
Object Hallucination (OH) has been acknowledged as one of the major trustworthy challenges in Large Vision-Language Models (LVLMs). Recent advancements in Large Language Models (LLMs) indicate that internal states, such as hidden states, encode the "overall truthfulness" of generated responses. However, it remains under-explored how internal states in LVLMs function and whether they could serve as "per-token" hallucination indicators, which is essential for mitigating OH. In this paper, we first conduct an in-depth exploration of LVLM internal states in relation to OH issues and discover that (1) LVLM internal states are high-specificity per-token indicators of hallucination behaviors. Moreover, (2) different LVLMs encode universal patterns of hallucinations in common latent subspaces, indicating that there exist "generic truthful directions" shared by various LVLMs. Based on these discoveries, we propose Truthful-Guided Pre-Intervention (TruthPrInt) that first learns the truthful direction of LVLM decoding and then applies truthful-guided inference-time intervention during LVLM decoding. We further propose ComnHallu to enhance both cross-LVLM and cross-data hallucination detection transferability by constructing and aligning hallucination latent subspaces. We evaluate TruthPrInt in extensive experimental settings, including in-domain and out-of-domain scenarios, over popular LVLMs and OH benchmarks. Experimental results indicate that TruthPrInt significantly outperforms state-of-the-art methods. Codes will be available at https://github.com/jinhaoduan/TruthPrInt.
解读
一句话总结
该论文提出了一种名为TruthPrInt的新框架,通过利用大型视觉语言模型(LVLM)的内部状态来识别和减轻对象幻觉,显著提高了模型的可信度。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大型视觉语言模型(LVLMs)在生成图像描述时容易出现对象幻觉,即生成不存在的视觉元素。
- 现有方案不足:现有的方法主要依赖于统计指标,如自注意力激活模式和长期衰减,但这些方法通常只对特定数据集和模型架构有效。
- 研究目标:开发一种能够有效识别和减轻LVLM对象幻觉的方法。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种名为TruthPrInt的新框架,该框架通过学习LVLM的“真实性方向”并在解码过程中进行真实性引导干预来减轻对象幻觉。
- 方法改进:提出了ComnHallu,这是一种幻觉子空间对齐方法,旨在提高跨LVLM和跨数据集的幻觉检测迁移性。
- 优势:与现有方法相比,TruthPrInt在减轻对象幻觉方面表现出显著的优势,同时在保持高质量生成方面也表现出良好的性能。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在多个LVLM和OH基准上进行实验,包括CHAIR、POPE和LLaVA-Bench。
- 性能提升:实验结果表明,TruthPrInt在减轻对象幻觉方面显著优于基线方法,同时保持了高质量的生成。
- 对比结果:与HALC等基线方法相比,TruthPrInt在CHAIR基准上实现了12%至14%的CHAIRS改进和2%的BLEU提升。
问题4:这个研究的实际应用价值是什么?
- 应用场景:该方法可以应用于需要高度可信的图像描述生成的场景,例如安全关键的应用。
- 实施建议:在安全关键的应用中,应使用较低的阈值τ来确保更高的真实性,而在需要更多多样性的场景中,可以调整阈值τ以允许更多的生成轨迹。
- 局限与展望:尽管该方法在减轻对象幻觉方面取得了显著进展,但仍存在局限性,例如对某些特定数据集和模型架构的依赖性。未来的研究可以探索更通用的方法,以及如何进一步提高方法的鲁棒性和泛化能力。