Deterministic Hallucination Detection in Medical VQA via Confidence-Evidence Bayesian Gain

Mohammad Asadi, Tahoura Nedaee, Jack W. O'Sullivan, Euan Ashley, Ehsan Adeli
3/23/2026
cs.AI
bayesian

Official code: masadi-99/CEBaG (2 stars, Python, last commit 2026-06-27).

Abstract

Multimodal large language models (MLLMs) have shown strong potential for medical Visual Question Answering (VQA), yet they remain prone to hallucinations, defined as generating responses that contradict the input image, posing serious risks in clinical settings. Current hallucination detection methods, such as Semantic Entropy (SE) and Vision-Amplified Semantic Entropy (VASE), require 10 to 20 stochastic generations per sample together with an external natural language inference model for semantic clustering, making them computationally expensive and difficult to deploy in practice.

Show full abstract

We observe that hallucinated responses exhibit a distinctive signature directly in the model's own log-probabilities: inconsistent token-level confidence and weak sensitivity to visual evidence. Based on this observation, we propose Confidence-Evidence Bayesian Gain (CEBaG), a deterministic hallucination detection method that requires no stochastic sampling, no external models, and no task-specific hyperparameters. CEBaG combines two complementary signals: token-level predictive variance, which captures inconsistent confidence across response tokens, and evidence magnitude, which measures how much the image shifts per-token predictions relative to text-only inference. Evaluated across four medical MLLMs and three VQA benchmarks (16 experimental settings), CEBaG achieves the highest AUC in 13 of 16 settings and improves over VASE by 8 AUC points on average, while being fully deterministic and self-contained. https://github.com/masadi-99/CEBaG

View on arXivView PDF

Code Implementations(1)

masadi-99/CEBaGOfficial100%
20Python, ShellJun 27, 20265 months agoNOASSERTION

Similar Papers

Cite this paper

@article{asadi2026deterministic,
  title  = {Deterministic Hallucination Detection in Medical VQA via Confidence-Evidence Bayesian Gain},
  author = {Mohammad Asadi and Tahoura Nedaee and Jack W. O'Sullivan and Euan Ashley and Ehsan Adeli},
  year   = {2026},
  eprint = {2603.21693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.21693v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.21693.svg)](https://codeofpaper.com/paper/2603.21693)

Discussion