Search papers, labs, and topics across Lattice.
This paper introduces CausalGaze, a framework for detecting hallucinations in LLMs by modeling internal states as dynamic causal graphs and applying counterfactual interventions. By intervening on the causal graph, the method disentangles causal reasoning from noise, improving interpretability and hallucination detection. Experiments on four datasets show that CausalGaze outperforms existing methods, achieving a 5.2% AUROC improvement on TruthfulQA.
Uncover the hidden causes of LLM hallucinations by actively intervening on their internal reasoning, rather than passively observing their outputs.
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.