Treble Counterfactual VLMs: A Causal Approach to Hallucination

Shawn Li, Jiashu Qu, Yuxiao Zhou, Yuehan Qin, Tiankai Yang, Yue Zhao

Abstract

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.

Introduction

Despite the impressive capabilities of Vision-Language Models (VLMs) like LLaVA, they frequently suffer from "hallucinations"—generating text that contradicts the visual evidence. For instance, a model might confidently state there are "two people eating in a kitchen" when the image shows an empty room. This occurs because the model often relies on language priors (e.g., kitchens typically contain people) or isolated visual patterns rather than performing true multi-modal reasoning.

Current research often attributes these errors to statistical biases in training data. However, this paper argues for a more structured, causal understanding. The authors propose that hallucination is a structural failure where the output is driven by a direct influence from a single modality (vision or text) rather than their intended fusion.

Methodology: A Causal Framework

The researchers introduce a three-step methodology grounded in causal inference to diagnose and fix these "shortcuts."

1. Structural Causal Graphs (SCGs)

The model's data flow is mapped using SCGs. In an ideal scenario, the Answer ($A$) is derived from the Fused knowledge ($F$) of Vision ($V$) and Text ($T$). Hallucination is modeled as a "spurious" path where $V \to A$ or $T \to A$ directly, bypassing the fusion process.

2. Estimating Natural Direct Effects (NDE)

To quantify these shortcuts, the authors use counterfactual analysis. They ask: "What would the model have said if the fusion path were broken?" * Vision NDE: Measured by perturbing images with random masks to see what the model predicts based on partial visual cues. * Text NDE: Measured by comparing representations of original prompts against GPT-generated "hallucinated" versions to isolate language-only biases. * Cross-Modal NDE: Measured by comparing model behavior with a black image versus no visual input at all.

3. Test-Time Intervention

Rather than expensive retraining, the authors implement a test-time intervention module. Using Principal Component Analysis (PCA), they identify the primary directions of these biases in the embedding space. By subtracting or adjusting these intermediate representations, they "mute" the shortcuts and force the model to rely on genuine multi-modal fusion.

Experimental Results

The "Treble Counterfactual" method was evaluated on two major benchmarks: POPE and MMHal-Bench.

Quantitative Performance

  • POPE Accuracy: On LLaVA 1.5, accuracy in the "Random" setting improved from 83.49% to 89.10%.
  • Adversarial Robustness: In settings where objects are often co-occurring but absent, the model's recall rose significantly from 76.80% to 87.27%.
  • MMHal-Bench: The method achieved a top average score of 2.82, outperforming the baseline of 2.06, with notable gains in "Attribute" and "Comparison" tasks.

Qualitative Impact

The effectiveness of the intervention is most visible in direct comparisons with standard models. As shown in the examples below, the proposed method correctly identifies object counts, colors, and environmental details that standard VLMs often misinterpret due to learned priors.

Figure 1: Comparison between regular LLaVA 1.5 and the proposed Treble Counterfactual method across various hallucination scenarios.

Discussion and Conclusion

The core insight of this work is that hallucination is not just a random error but a structural over-reliance on single-modality cues. By treating it as a causal problem, the "hallucination signal" can be mathematically isolated and mitigated. Interestingly, the authors found that the bias is often concentrated in a very specific direction (the first principal component), allowing for highly efficient test-time corrections.

While the method adds some inference latency, it provides a robust, interpretable, and "plug-and-play" framework for improving VLM reliability without the need for additional training data or fine-tuning. Future work may focus on reducing this overhead and extending the framework to more complex open-ended reasoning tasks.

Summary updated

Abstract

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.
BibTeX
@inproceedings{li2025treble,
  author = {Shawn Li and Jiashu Qu and Yuxiao Zhou and Yuehan Qin and Tiankai Yang and Yue Zhao},
  title = {{Treble Counterfactual VLMs: A Causal Approach to Hallucination}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure