arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.11087cs.LG
收藏

CausalGaze: 通过反事实图干预揭示大语言模型的幻觉

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

College of Electronic Engineering, National University of Defense Technology(国防科技大学电子工程学院);Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation(安徽省网络空间安全态势感知与评估重点实验室);Institute of Computer Application, China Academy of Engineering Physics(中国工程物理研究院计算机应用研究所)

Linggang Kong, Lei Wu, Yunlong Zhang, Xiaofeng Zhong, Zhen Wang, Yongjie Wang, Yao Pan

AI总结:

CausalGaze通过反事实图干预揭示大语言模型的幻觉,利用结构因果模型提升模型可解释性,在四个数据集和三个常用LLM上实验表明其有效性,尤其在TruthfulQA数据集上比现有方法提升3.3%的AUROC。

摘要:

尽管大语言模型(LLMs)取得了突破性进展,幻觉仍然是其在高风险领域部署的关键瓶颈。现有基于分类的方法主要依赖内部状态的静态和被动信号,往往捕捉噪声和虚假相关性,而忽视了潜在的因果机制。为解决这一限制,我们通过引入CausalGaze,一种基于结构因果模型(SCMs)的新型幻觉检测框架,将范式从被动观察转向主动干预。CausalGaze将LLM的内部状态建模为动态因果图,并利用反事实干预来分离因果推理路径与偶然噪声,从而提升模型可解释性。在四个数据集和三个广泛使用的LLM上进行了广泛的实验,证明了CausalGaze的有效性,特别是在TruthfulQA数据集上,相比现有最先进基线,实现了3.3%的AUROC提升。

英文摘要:

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 3.3% improvement in AUROC on the TruthfulQA dataset compared to state-of-the-art baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑