Detecting Contextual Hallucinations in LLMs with Frequency-Aware Attention
Not on the map. Why?
Abstract (arXiv)
Hallucination detection is critical for ensuring the reliability of large language models (LLMs) in context-based generation. Prior work has explored intrinsic signals available during generation, among which attention offers a direct view of grounding behavior. However, existing approaches typically rely on coarse summaries that fail to capture fine-grained instabilities in attention. Inspired by signal processing, we introduce a frequency-aware perspective on attention by analyzing its variation during generation. We model attention distributions as discrete signals and extract high-frequency components that reflect rapid local changes in attention. Our analysis reveals that hallucinated tokens are associated with high-frequency attention energy, reflecting fragmented and unstable grounding behavior. Based on this insight, we develop a lightweight hallucination detector using high-frequency attention features. Experiments on the RAGTruth and HalluRAG benchmarks show that our approach achieves performance gains over verification-based, internal-representation-based, and attention-based methods across models and tasks.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 26 of its 35 references that are in the map. First posted on arXiv 20 Feb 2026.
Builds on
26 of 35 references.
References · 26
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2019Attention is not not Explanationcited by 629
- 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
- 2021SummaC: Re-Visiting NLI-based Models for Inconsistency Detection in Summarizationcited by 402
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
- 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Modelscited by 272
- 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2024Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Mapscited by 140
14 more
- 2013Discrete Signal Processing on Graphs: Frequency Analysiscited by 72
- 2023FactKB: Generalizable Factuality Evaluation using Language Models Enhanced with Factual Knowledgecited by 55
- 2023On Early Detection of Hallucinations in Factual Question Answeringcited by 54
- 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMscited by 28
- 2023Localizing Lying in Llama: Understanding Instructed Dishonesty on True-False Questions Through Prompting, Probing, and Patchingcited by 24
- 2024LRP4RAG: Detecting Hallucinations in Retrieval-Augmented Generation via Layer-wise Relevance Propagationcited by 17
- 2025Efficient Hallucination Detection for LLMs Using Uncertainty-Aware Attention Headscited by 14
- 2025Dynamic Attention-Guided Context Decoding for Mitigating Context Faithfulness Hallucinations in Large Language Modelscited by 9
- 2024The HalluRAG Dataset: Detecting Closed-Domain Hallucinations in RAG Applications Using an LLM's Internal Statescited by 8
- 2024A Survey of Automatic Hallucination Evaluation on Natural Language Generationcited by 7
- 2025Hallucinated Span Detection with Multi-View Attention Featurescited by 6
- 2024The Pitfalls of Defining Hallucinationcited by 5
- 2025LLM Hallucination Detection: A Fast Fourier Transform Method Based on Hidden Layer Temporal Signalscited by 4
- 2025From Attention to Atoms: Spectral Dictionary Learning for Fast, Interpretable Language Modelscited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.