CausalGaze: Unveiling Hallucinations via Counterfactual Graph Intervention in Large Language Models

📅 2026-04-13
📈 Citations: 0
Influential: 0
📄 PDF

career value

200K/year
🤖 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.

Technology Category

Application Category

📝 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.
Problem

Research questions and friction points this paper is trying to address.

hallucination
large language models
causal mechanisms
counterfactual intervention
structural causal models
Innovation

Methods, ideas, or system contributions that make the work stand out.

causal inference
counterfactual intervention
hallucination detection
structural causal models
large language models
L
Linggang Kong
College of Electronic Engineering, National University of Defense Technology; Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation
Lei Wu
Lei Wu
University of Bristol, University College London
Functional soft materialsSoft roboticsSoft implantsBio-robots
Y
Yunlong Zhang
College of Electronic Engineering, National University of Defense Technology; Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation
X
Xiaofeng Zhong
College of Electronic Engineering, National University of Defense Technology; Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation
Z
Zhen Wang
College of Electronic Engineering, National University of Defense Technology; Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation
Yongjie Wang
Yongjie Wang
Nanyang Technological University
Explainable AIInterpretabilityMachine LearningTrustworthy AI
Y
Yao Pan
Institute of Computer Application, China Academy of Engineering Physics