Hallucination Detection in LLMs Using Spectral Features of Attention Maps
Jakub Binkowski, Denis Janiak, Albert Sawczyn, Bogdan Gabrys, Tomasz Kajdanowicz
Abstract
Large Language Models (LLMs) have demonstrated remarkable performance across various tasks but remain prone to hallucinations. Detecting hallucinations is essential for safetycritical applications, and recent methods leverage attention map properties to this end, though their effectiveness remains limited. In this work, we investigate the spectral features of attention maps by interpreting them as adjacency matrices of graph structures. We propose the LapEigvals method, which utilizes the topk eigenvalues of the Laplacian matrix derived from the attention maps as an input to hallucination detection probes. Empirical evaluations demonstrate that our approach achieves stateof-the-art hallucination detection performance among attention-based methods. Extensive ablation studies further highlight the robustness and generalization of LapEigvals, paving the way for future advancements in the hallucination detection domain.
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.
9 top-tier papers have 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
- Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models cites Hallucination Detection in LLMs with Topological Divergence on Attention Graphs
- Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models cites Neural Message-Passing on Attention Graphs for Hallucination Detection
- Hallucination Detection in LLMs with Topological Divergence on Attention Graphs cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Joint Evaluation of Answer and Reasoning Consistency for Hallucination Detection in Large Reasoning Models cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- LAFaCT: Attribution-based Localization and Focused Sequential Analysis of Fact-Critical Tokens for Hallucination Detection cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- LAFaCT: Attribution-based Localization and Focused Sequential Analysis of Fact-Critical Tokens for Hallucination Detection cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
- HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Neural Message-Passing on Attention Graphs for Hallucination Detection cites Understanding over-squashing and bottlenecks on graphs via curvature
- Neural Message-Passing on Attention Graphs for Hallucination Detection cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
Cited by top-tier papers9
- Hallucination Detection in LLMs with Topological Divergence on Attention GraphsAlexandra Bazarova, Andrei Volodichev, Aleksandr Yugay, Andrey Shulga et al.ACL 2026 · 14 citations
- Joint Evaluation of Answer and Reasoning Consistency for Hallucination Detection in Large Reasoning ModelsChangyue Wang, Weihang Su, Qingyao Ai, Yiqun LiuAAAI 2026 · 13 citations
- Neural Message-Passing on Attention Graphs for Hallucination DetectionFabrizio Frasca, Guy Bar-Shalom, Yftah Ziser, Haggai MaronICLR 2026 · 6 citations
- Attention Sinks as Internal Signals for Hallucination Detection in Large Language ModelsJakub Binkowski, Kamil Adamczewski, Tomasz KajdanowiczICML 2026
- LAFaCT: Attribution-based Localization and Focused Sequential Analysis of Fact-Critical Tokens for Hallucination DetectionXin Wang, Jiahao Li, Licheng Zhang, Zhendong MaoACL 2026
Builds on9
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 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
- HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language ModelsJunyi Li, Xiaoxue Cheng, Xin Zhao, Jian-Yun Nie et al.EMNLP 2023 · 224 citations
- The Effect of Sampling Temperature on Problem Solving in Large Language ModelsMatthew RenzeEMNLP Findings 2024 · 212 citations
Related papers
- Attention Never Lie: Visual Attention Defocus Reveals and Rectifies Hallucinations in MLLMsChenxi Zhao, Yan Zhou, Jufeng YangCVPR Findings 2026
- 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
- SAFE: A Sparse Autoencoder-Based Framework for Robust Query Enrichment and Hallucination Mitigation in LLMsSamir Abdaljalil, Filippo Pallucchini, Andrea Seveso, Hasan Kurban et al.EMNLP Findings 2025 · 2 citations
- Detecting Contextual Hallucinations in Large Language Models with Frequency-Aware AttentionSiya Qi, Yudong Chen, Runcong Zhao, Qinglin Zhu et al.ICML 2026 · 1 citation
- Detecting Hallucinations in SpeechLLMs at Inference Time Using Attention MapsJonas Waldendorf, Bashar Awwad Shiekh Hasan, Evgenii TsymbalovACL Findings 2026
