Toward Faithful Retrieval-Augmented Generation with Sparse Autoencoders
On the map: Retrieval-augmented generation → Hallucination detection in RAG
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) improves the factuality of large language models (LLMs) by grounding outputs in retrieved evidence, but faithfulness failures, where generations contradict or extend beyond the provided sources, remain a critical challenge. Existing hallucination detection methods for RAG often rely either on large-scale detector training, which requires substantial annotated data, or on querying external LLM judges, which leads to high inference costs. Although some approaches attempt to leverage internal representations of LLMs for hallucination detection, their accuracy remains limited. Motivated by recent advances in mechanistic interpretability, we employ sparse autoencoders (SAEs) to disentangle internal activations, successfully identifying features that are specifically triggered during RAG hallucinations. Building on a systematic pipeline of information-based feature selection and additive feature modeling, we introduce RAGLens, a lightweight hallucination detector that accurately flags unfaithful RAG outputs using LLM internal representations. RAGLens not only achieves superior detection performance compared to existing methods, but also provides interpretable rationales for its decisions, enabling effective post-hoc mitigation of unfaithful RAG. Finally, we justify our design choices and reveal new insights into the distribution of hallucination-related signals within LLMs. The code is available at https://github.com/Teddy-XiongGZ/RAGLens.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Hallucination detection in RAG, one of 15 directions in Retrieval-augmented generation. Builds on 53 of its 67 references that are in the map. First posted on arXiv 9 Dec 2025.
Builds on
53 of 67 references.
Closest ancestors · 3
Same direction, newest first
- 2025Benchmarking LLM Faithfulness in RAG with Evolving Leaderboards7 May
- 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretability15 Oct
- 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Models31 Dec
Other references · 50
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
38 more
- 2023Large Language Models are not Fair Evaluatorscited by 1,085
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
- 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
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 584
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
- 2023Ragas: Automated Evaluation of Retrieval Augmented Generationcited by 418
- 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 331
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
- 2024Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMscited by 259
- 2024MiniCheck: Efficient Fact-Checking of LLMs on Grounding Documentscited by 257
- 2019InterpretML: A Unified Framework for Machine Learning Interpretabilitycited by 246
- 2024Transcoders Find Interpretable LLM Feature Circuitscited by 200
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
- 2024Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Toolscited by 176
- 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 156
- 2023QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Modelscited by 155
- 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 127
- 2023Almanac: Retrieval-Augmented Language Models for Clinical Medicinecited by 123
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 115
- 2022Understanding Factual Errors in Summarization: Errors, Summarizers, Datasets, Error Detectorscited by 104
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 101
- 2023Enhancing Uncertainty-Based Hallucination Detection with Stronger Focuscited by 99
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Modelscited by 76
- 2023ChatGPT as a Factual Inconsistency Evaluator for Text Summarizationcited by 75
- 2024TofuEval: Evaluating Hallucinations of LLMs on Topic-Focused Dialogue Summarizationcited by 66
- 2023Chainpoll: A high efficacy method for LLM hallucination detectioncited by 39
- 2025A Systematic Review of Key Retrieval-Augmented Generation (RAG) Systems: Progress, Gaps, and Future Directionscited by 31
- 2025Route Sparse Autoencoder to Interpret Large Language Modelscited by 26
- 2024RefChecker: Reference-based Fine-grained Hallucination Checker and Benchmark for Large Language Modelscited by 25
- 2025Investigating task-specific prompts and sparse autoencoders for activation monitoringcited by 15
- 2025Hallucination to Truth: A Review of Fact-Checking and Factuality Evaluation in Large Language Modelscited by 13
- 2025SAFE: A Sparse Autoencoder-Based Framework for Robust Query Enrichment and Hallucination Mitigation in LLMscited by 8
- 2025Span-Level Hallucination Detection for LLM-Generated Answerscited by 5
- 2025From Noise to Narrative: Tracing the Origins of Hallucinations in Transformerscited by 4
- 2024The Two Sides of the Coin: Hallucination Generation and Detection with LLMs as Evaluators for LLMscited by 1
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoderscited by 5
- 2026What Happens Inside Agent Memory? Circuit Analysis from Emergence to Diagnosiscited by 2
- 2026TRACE: Tourism Recommendation with Accountable Citation Evidencecited by 1
- 2026The Role of Rigor in Artificial Intelligencecited by 0
- 2026Regime Boundary Alignment for Evidence-Gated Question Answeringcited by 0
- 2026Locating Answer-Correctness Signals in Frozen Large Language Modelscited by 0
- 2026Invisible Ink, Visible Lies: How Production Watermarking Causes LLMs to Hallucinatecited by 0
- 2026Invisible Ink, Visible Lies: How Production Watermarking Causes LLMs to Hallucinate4 Oct 2026
- 2026Locating Answer-Correctness Signals in Frozen Large Language Models29 Sep 2026
- 2026Regime Boundary Alignment for Evidence-Gated Question Answering25 Sep 2026
- 2026The Role of Rigor in Artificial Intelligence19 May 2026
- 2026TRACE: Tourism Recommendation with Accountable Citation Evidence8 May 2026
- 2026What Happens Inside Agent Memory? Circuit Analysis from Emergence to Diagnosis5 May 2026
- 2026HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoders6 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026RAGognizer: Hallucination-Aware Fine-Tuning via Detection Head Integration
- 2025Probabilistic distances-based hallucination detection in LLMs with RAG
- 2025LUMINA: Detecting Hallucinations in RAG System with Context-Knowledge Signals
- 2025HALT-RAG: A Task-Adaptable Framework for Hallucination Detection with Calibrated NLI Ensembles and Abstention
- 2025The Semantic Illusion: Certified Limits of Embedding-Based Hallucination Detection in RAG Systems
- 2026Evidence-Aligned Entity Verification for Hallucination Detection in Retrieval-Augmented Generation
- 2025Osiris: A Lightweight Open-Source Hallucination Detection System
- 2025AutoRAG-LoRA: Hallucination-Triggered Knowledge Retuning via Lightweight Adapters