Manuscript Offprint

arXiv:2610.02887

Revealing Epistemic Uncertainty in MLLMs via Causal-Invariant Masking

Haoyang Luo, Linwei Tao, Jie Gui, Xinghao Chen, Chang Xu, Jianyuan Guo, Minjing Dong

Haoyang Luo

Computer Science

City University of Hong Kong

Linwei Tao

Machine Learning Research

Apple

Jie Gui

Cyber Science and Engineering

Southeast University

Xinghao Chen

Huawei Noah's Ark Lab

Chang Xu

Computer Science

University of Sydney

Jianyuan Guo

Computer Science

City University of Hong Kong

Minjing Dong

Computer Science

City University of Hong Kong

Abstract

Multimodal Large Language Models (MLLMs) suffer from hallucinations, creating a critical need for Uncertainty Quantification (UQ) to ensure reliable deployment. However, existing approaches struggle to detect uncertainty caused by superficial associations, especially when the query-relevant signal is weak. We mainly attribute this issue to their bias toward aleatoric uncertainty arising from data ambiguity, overlooking epistemic uncertainty stemming from model limitations. To further decompose uncertainty types for a comprehensive UQ, we propose Causal-Invariant Masking (CIM), which measures the semantic shift between the original predictions and those conditioned on a causally-focused view. Based on this framework, we introduce Semantic Divergence as our core metric for UQ and provide theoretical evidence that it converges to the variance of model's sensitivity to non-causal correlations, establishing its ability to capture MLLM's limitation. To accelerate UQ in MLLMs, we further propose Expected Embedding Drift (EED), a fast geometric proxy metric that estimates semantic shift directly within the hyperspherical embedding space. Experiments show that our method achieves state-of-the-art performance on various benchmarks, while the proposed EED accelerates by nearly 50% with comparable performance.

1 Introduction

Large Language Models (LLMs) [51, 32] and Multimodal Large Language Models (MLLMs) [47, 4] have significantly altered the landscape of artificial intelligence. By connecting visual perception with textual semantics, MLLMs are able to demonstrate consistent success in tasks ranging from visual question answering to complex reasoning [28, 37, 50]. However, their reliable deployment in real-world applications requires solving the severe problem of hallucination [5, 17], where MLLMs confidently generate factually incorrect but grammatically plausible content. Especially for VLMs, non-existent objects, attributes, and events may unreasonably occur in the responses when misleading factors, either in vision or language, dominate the query. It suggests that MLLMs do not internally

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

realize their visual capability boundary and highlights a critical need for robust safety measures targeting generative trustworthiness.

With this aim, numerous Uncertainty Quantification (UQ) methods have been developed. By estimating the confidence level of a model, systems can abstain from answering or flag potential hallucinations when encountering high uncertainty. Therefore, precise UQ becomes a proxy for hallucination detection. Traditional UQ approaches typically measure the entropy of the predictive distribution, often aggregated at the token level [46, 42]. Recent advancements [21, 20, 34] have shifted towards measuring semantic uncertainty using sampling-based methods, such as Semantic Entropy (SE) [13], which aggregates probabilities over clusters of similar generations to calculate the response variety.

However, these approaches exhibit limited discrimination under hallucinative visual content, especially when the query-irrelevant elements generate spurious hints. For instance, background objects with prominent colors can dominate the response to queries on the foreground object, making consistent mistakes in the sampled output. Thus, a more comprehensive UQ is necessary for MLLMs. In fact, both epistemic and aleatoric uncertainties play important roles in UQ, where epistemic uncertainty reveals insufficiency in the model's perception or comprehension and aleatoric uncertainty reflects the poor data quality or incomplete information [19]. Quantifying both of them is crucial in UQ [41, 1], however, existing approaches fail to do so because they typically assume that all forms of uncertainty can be equally estimated. In this paper, we show that they are biased towards quantifying mostly aleatoric uncertainty in MLLMs, leaving epistemic uncertainty underestimated.

We introduce Causal-Invariant Masking (CIM), a framework that disentangles intrinsic epistemic instability from data ambiguity by probing semantic consistency under causally invariant transforms. Our core insight is that robust reasoning must remain invariant when task-irrelevant features are removed. By constructing a Region-of-Interest (RoI) view that retains only causal features, we measure the shift in the model's belief distribution. We quantify this using Semantic Divergence, defined as the shift from the semantic distributions of the original to the focused inputs. Supported by theoretical derivation, this metric targets the model stability against irrelevant distractions to effectively isolate epistemic uncertainty, thereby alleviating the biased quantification in previous works. To address the computational costs of discrete semantic clustering, we then propose a fast proxy called Expected Embedding Drift (EED). Leveraging the hyperspherical geometry of the embedding space, EED estimates semantic shift directly from token embeddings, eliminating costly discrete operations. Experiments demonstrate that our method significantly outperforms baselines, achieving state-of-the-art hallucination detection of 76.8% AUROC on the challenging AdVQA and superior results on POPE. Furthermore, EED reduces computational overhead by 50% without compromising performance, facilitating applications such as hallucination mitigation and adaptive-resolution inference.

References (50)