Neural Message-Passing on Attention Graphs for Hallucination Detection
Fabrizio Frasca, Guy Bar-Shalom, Yftah Ziser, Haggai Maron
Abstract
Large Language Models (LLMs) often generate incorrect or unsupported content, known as hallucinations. Existing detection methods rely on heuristics or simple models over isolated computational traces such as activations, or attention maps. We unify these signals by representing them as attributed graphs, where tokens are nodes, edges follow attentional flows, and both carry features from attention scores and activations. Our approach, CHARM, casts hallucination detection as a graph learning task and tackles it by applying GNNs over the above attributed graphs. We show that CHARM provably subsumes prior attention-based heuristics and, experimentally, it consistently outperforms other leading approaches across diverse benchmarks. Our results shed light on the relevant role played by the graph structure and on the benefits of combining computational traces, whilst showing CHARM exhibits promising zero-shot performance on crossdataset transfer 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models cites A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generation
- Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models cites INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
Cited by top-tier papers1
Builds on21
- Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister et al.NeurIPS 2023 · 1,549 citations
- Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong et al.ICLR 2022 · 628 citations
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 citations
- INSIDE: LLMs' Internal States Retain the Power of Hallucination DetectionChao Chen, Kai Liu, Ze Chen, Yi Gu et al.ICLR 2024 · 281 citations
- A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text GenerationTianyu Liu, Yizhe Zhang, Chris Brockett, Yi Mao et al.ACL 2022 · 194 citations
Related papers
- Hallucination Detection in LLMs Using Spectral Features of Attention MapsJakub Binkowski, Denis Janiak, Albert Sawczyn, Bogdan Gabrys et al.EMNLP 2025 · 5 citations
- DHCP: Detecting Hallucinations by Cross-modal Attention Pattern in Large Vision-Language ModelsYudong Zhang, Ruobing Xie, Xingwu Sun, Yiqing Huang et al.ACM MM 2025 · 1 citation
- Detecting Contextual Hallucinations in Large Language Models with Frequency-Aware AttentionSiya Qi, Yudong Chen, Runcong Zhao, Qinglin Zhu et al.ICML 2026 · 1 citation
- Non-Existent Relationship: Fact-Aware Multi-Level Machine-Generated Text DetectionYang Wu, Ruijia Wang, Jie WuEMNLP 2025
- TRACEDET: HALLUCINATION DETECTION FROM THE DECODING TRACE OF DIFFUSION LARGE LANGUAGE MODELSShenxu Chang, Junchi Yu, Weixing Wang, Yongqiang Chen et al.ICLR 2026 · 8 citations
