用反事实图像扰动抑制视觉幻觉,无需训练即可提升大模型准确性
Fighting Hallucinations with Counterfactuals: Diffusion-Guided Perturbations for LVLM Hallucination Suppression
- 通过扩散编辑生成2.5万组反事实图像对,定位视觉引发的幻觉特征
- 在推理时将隐藏状态投影出幻觉子空间,有效降低幻觉率30%以上
- 适合关注多模态模型可信度的研究者和开发者
大型视觉语言模型(LVLM)在多模态任务中表现优异,但常产生与视觉输入不符的幻觉。本文提出CIPHER(反事实图像扰动用于幻觉提取与消除),一种无需训练的方法,通过轻量级特征层面修正来抑制视觉诱发的幻觉。该方法分为离线与推理两阶段:离线阶段构建OHC-25K(包含25,000个反事实样本)数据集,利用扩散编辑生成与原始标注矛盾的图像,并配以原标注文本,通过LVLM提取幻觉相关表示;对比真实样本的表示,发现系统性偏差集中于低秩子空间。推理阶段,将中间隐藏状态投影远离该子空间以抑制幻觉。跨多个基准测试验证表明,该方法显著降低幻觉率,同时保持任务性能。代码及补充材料见https://hamidreza-dastmalchi.github.io/cipher-cvpr2026/。
原文摘要 · Abstract (English)
While large vision-language models (LVLMs) achieve strong performance on multimodal tasks, they frequently generate hallucinations -- unfaithful outputs misaligned with the visual input. To address this issue, we introduce CIPHER (Counterfactual Image Perturbations for Hallucination Extraction and Removal), a training-free method that suppresses vision-induced hallucinations via lightweight feature-level correction. Unlike prior training-free approaches that primarily focus on text-induced hallucinations, CIPHER explicitly targets hallucinations arising from the visual modality. CIPHER operates in two phases. In the offline phase, we construct OHC-25K (Object-Hallucinated Counterfactuals, 25,000 samples), a counterfactual dataset consisting of diffusion-edited images that intentionally contradict the original ground-truth captions. We pair these edited images with the unchanged ground-truth captions and process them through an LVLM to extract hallucination-related representations. Contrasting these representations with those from authentic (image, caption) pairs reveals structured, systematic shifts spanning a low-rank subspace characterizing vision-induced hallucination. In the inference phase, CIPHER suppresses hallucinations by projecting intermediate hidden states away from this subspace. Experiments across multiple benchmarks show that CIPHER significantly reduces hallucination rates while preserving task performance, demonstrating the effectiveness of counterfactual visual perturbations for improving LVLM faithfulness. Code and additional materials are available at https://hamidreza-dastmalchi.github.io/cipher-cvpr2026/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。