🤖 AI Summary
This work addresses the challenge of hallucinations in large language models (LLMs), which hinder their reliable deployment in high-stakes scenarios. The authors propose a novel approach grounded in structural causal models (SCMs), representing the internal states of LLMs as dynamic causal graphs. For the first time, they introduce an active counterfactual intervention mechanism that shifts hallucination detection from passive observation to causally driven reasoning, effectively disentangling genuine causal inference pathways from spurious noise. This method substantially improves both detection accuracy and interpretability, demonstrating consistent gains across four benchmark datasets and three prominent LLMs. Notably, it achieves an absolute AUROC improvement of over 5.2% on TruthfulQA compared to the current state-of-the-art.
📝 Abstract
Despite the groundbreaking advancements made by large language models (LLMs), hallucination remains a critical bottleneck for their deployment in high-stakes domains. Existing classification-based methods mainly rely on static and passive signals from internal states, which often captures the noise and spurious correlations, while overlooking the underlying causal mechanisms. To address this limitation, we shift the paradigm from passive observation to active intervention by introducing CausalGaze, a novel hallucination detection framework based on structural causal models (SCMs). CausalGaze models LLMs' internal states as dynamic causal graphs and employs counterfactual interventions to disentangle causal reasoning paths from incidental noise, thereby enhancing model interpretability. Extensive experiments across four datasets and three widely used LLMs demonstrate the effectiveness of CausalGaze, especially achieving over 5.2\% improvement in AUROC on the TruthfulQA dataset compared to state-of-the-art baselines.