VIHD: Visual Intervention-based Hallucination Detection for Medical Visual Question Answering

Jiayi Chen, Benteng Ma, Zehui Liao, Winston Chong, Yasmeen George, Jianfei CaiarXiv 2026

TL;DR

Medical Multimodal Large Language Models (MLLMs) frequently generate fluent but completely fabricated ("hallucinated") answers to clinical questions. To combat this, researchers have introduced VIHD (Visual Intervention-based Hallucination Detection), a training-free method that probes an MLLM's internal visual dependencies during decoding. By dynamically masking highly-attended visual tokens and measuring the resulting shift in semantic entropy, VIHD delivers a highly reliable hallucination detection signal without requiring any extra training or external knowledge bases.

What Problem Does This Paper Address?

While medical MLLMs show immense promise in diagnostic assistance, they suffer from a critical flaw: they hallucinate. They often output linguistically plausible answers that completely lack visual evidence from the underlying medical images (such as CT scans, MRIs, or X-rays). In a clinical setting, these errors pose severe risks to patient safety.

Existing "introspective" hallucination detection methods try to estimate uncertainty by applying external perturbations—like adding noise to the input image or shuffling the text prompt. However, these methods treat the MLLM as a black box. They are context-agnostic and fail to account for the internal cross-modal dependencies between the generated text tokens and the visual tokens during the actual autoregressive decoding process. VIHD bridges this gap by looking inside the model to see if it is actually paying attention to the image when generating its response.

Methods

VIHD operates entirely at inference time without any additional training. The framework consists of three core stages:

  1. Visual Dependency Probing (VDP): The method first analyzes the attention matrices across all heads and decoder layers to see where the model interacts most heavily with the input image. It localizes a consecutive window of decoder layers where cross-modal attention is most prominent, identifying them as "visually dominant layers."
  2. Visual Intervention Decoding (VID): Within these visually dominant layers, VIHD dynamically masks the top-$\rho$ fraction of visual tokens that receive the highest attention weights. If the model's generated answer genuinely relied on those visual features, this targeted intervention forces a shift in its output distribution.
  3. Calibrated Semantic Entropy (CSE): The model samples multiple responses under both normal and intervened conditions. These responses are clustered into semantic equivalence classes using an off-the-shelf NLI model (DeBERTa). VIHD then uses an adaptive fusion strategy: if the intervened distribution aligns closely with the original, it applies complementary fusion to reinforce shared semantics; if they diverge significantly, it applies contrastive fusion. The final calibrated semantic entropy serves as the hallucination score.
Framework of VIHD

Datasets

The authors evaluated VIHD on three established medical Visual Question Answering (VQA) benchmarks covering multiple imaging modalities:

  • VQA-RAD: 451 test samples containing radiology images paired with 200 open-ended and 251 close-ended questions.
  • SLAKE: A semantically-labeled, knowledge-enhanced medical VQA dataset containing 1,061 English test samples.
  • VQA-Med-2019: 500 test samples focusing on medical imaging challenges (436 open-ended, 64 close-ended).

Key Insights and Ideas

  • The Black-Box Blindspot: Heuristic external perturbations (like adding pixel noise) don't capture how a model naturally processes an image. Probing internal causal cross-modal dependencies during decoding provides a much cleaner, more direct signal for hallucination.
  • Targeted Layer Intervention: Visual information isn't processed uniformly across the LLM decoder. Pinpointing specific "visually dominant layers" allows for localized, contextually coherent perturbations rather than introducing excessive noise across all layers.
  • Query Granularity Matters: General queries (e.g., "What imaging modality is this?") are robust to visual token masking because they rely heavily on global context or linguistic priors. Detailed queries (e.g., identifying a specific pathology) are highly sensitive to masking. The adaptive fusion strategy elegantly handles this discrepancy by switching between complementary and contrastive distribution alignment.

Key Results

VIHD was evaluated against two advanced medical MLLMs (Hulu-4B and Lingshu-7B) and compared with seven state-of-the-art introspective methods (including token uncertainty, consistency-based, and semantic uncertainty baselines).

  • Performance Boost: VIHD consistently outperformed all competing methods across all datasets. On the Hulu-4B backbone, it improved the average Area Under the ROC Curve (AUC) by 8.57% overall, achieving a massive 12% AUC increase on the VQA-RAD dataset.
  • Robustness Across Architectures: On the larger Lingshu-7B model, VIHD maintained its edge, delivering an average AUC improvement of 3.22% overall and a 5.33% gain on VQA-Med-2019.
  • Efficiency: Crucially, VIHD achieves these state-of-the-art results with zero training and minimal computational overhead, requiring roughly 11.59 seconds per sample at inference—on par with existing baseline methods.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{chen2026vihd,
  author = {Jiayi Chen and Benteng Ma and Zehui Liao and Winston Chong and Yasmeen George and Jianfei Cai},
  title = {{VIHD: Visual Intervention-based Hallucination Detection for Medical Visual Question Answering}},
  year = {2026},
  eprint = {2605.20772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.20772},
}
Figure