用因果分析方法减少视觉语言模型的幻觉生成。
Treble Counterfactual VLMs: A Causal Approach to Hallucination
- 构建因果图,识别视觉与文本模态间的虚假捷径路径。
- 通过反事实分析量化各模态对输出的直接效应,降低幻觉率。
- 测试时动态干预,适合医疗、自动驾驶等高可靠性场景。
视觉语言模型(VLMs)在图像描述、视觉问答和推理等多模态任务中取得进展,但常生成与视觉内容或提示不符的幻觉输出,限制了其在自动驾驶、医学影像等关键应用中的可靠性。现有研究将幻觉归因于统计偏差、语言先验和有偏特征学习,但缺乏系统的因果理解。本文从因果视角出发,假设幻觉源于视觉或文本模态的非预期直接作用,绕过真正的多模态融合。我们构建VLM的因果图,利用反事实分析估计视觉、文本及其跨模态交互对输出的自然直接效应(NDE)。通过三步策略:(1) 设计结构因果图以区分正确融合路径与虚假捷径;(2) 使用扰动图像表示、幻觉文本嵌入和退化视觉输入估计模态特定及跨模态NDE;(3) 实现测试时干预模块,动态调整模型对各模态的依赖。实验表明,该方法显著降低幻觉率,同时保持任务性能,提供可解释且稳健的VLM可靠性提升框架。代码已公开于https://github.com/TREE985/Treble-Counterfactual-VLMs。
原文摘要 · Abstract (English)
Vision-Language Models (VLMs) have advanced multi-modal tasks like image captioning, visual question answering, and reasoning. However, they often generate hallucinated outputs inconsistent with the visual context or prompt, limiting reliability in critical applications like autonomous driving and medical imaging. Existing studies link hallucination to statistical biases, language priors, and biased feature learning but lack a structured causal understanding. In this work, we introduce a causal perspective to analyze and mitigate hallucination in VLMs. We hypothesize that hallucination arises from unintended direct influences of either the vision or text modality, bypassing proper multi-modal fusion. To address this, we construct a causal graph for VLMs and employ counterfactual analysis to estimate the Natural Direct Effect (NDE) of vision, text, and their cross-modal interaction on the output. We systematically identify and mitigate these unintended direct effects to ensure that responses are primarily driven by genuine multi-modal fusion. Our approach consists of three steps: (1) designing structural causal graphs to distinguish correct fusion pathways from spurious modality shortcuts, (2) estimating modality-specific and cross-modal NDE using perturbed image representations, hallucinated text embeddings, and degraded visual inputs, and (3) implementing a test-time intervention module to dynamically adjust the model's dependence on each modality. Experimental results demonstrate that our method significantly reduces hallucination while preserving task performance, providing a robust and interpretable framework for improving VLM reliability. To enhance accessibility and reproducibility, our code is publicly available at https://github.com/TREE985/Treble-Counterfactual-VLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。