A Graph Signal Processing Framework for Hallucination Detection in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models achieve impressive results but distinguishing factual reasoning from hallucinations remains challenging. We propose a spectral analysis framework that models transformer layers as dynamic graphs induced by attention, with token embeddings as signals on these graphs. Through graph signal processing, we define diagnostics including Dirichlet energy, spectral entropy, and high-frequency energy ratios, with theoretical connections to computational stability. Experiments across GPT architectures suggest universal spectral patterns: factual statements exhibit consistent "energy mountain" behavior with low-frequency convergence, while different hallucination types show distinct signatures. Logical contradictions destabilize spectra with large effect sizes (g>1.0), semantic errors remain stable but show connectivity drift, and substitution hallucinations display intermediate perturbations. A simple detector using spectral signatures achieves 88.75% accuracy versus 75% for perplexity-based baselines, demonstrating practical utility. These findings indicate that spectral geometry may capture reasoning patterns and error behaviors, potentially offering a framework for hallucination detection in large language models.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 21 Oct 2025.
Builds on
18 of 30 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2023Qwen Technical Reportcited by 3,344
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2019Attention is not Explanationcited by 929
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2017Graph Signal Processing: Overview, Challenges and Applicationscited by 413
6 more
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
- 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 202
- 2018Connecting the Dots: Identifying Network Structure via Graph Signal Processingcited by 111
- 2015A Primer on Neural Network Models for Natural Language Processingcited by 76
- 2013Discrete Signal Processing on Graphs: Frequency Analysiscited by 73
- 2025Transformers are Graph Neural Networkscited by 29
Built on by
Citing papers per year: 2026: 3.
3 papers.