LUMINA: Detecting Hallucinations in RAG System with Context–Knowledge Signals
Samuel Yeh, Sharon Li, Tanwi Mallick
Abstract
Retrieval-Augmented Generation (RAG) aims to mitigate hallucinations in large language models (LLMs) by grounding responses in retrieved documents. Yet, RAG-based LLMs still hallucinate even when provided with correct and sufficient context. A growing line of work suggests that this stems from an imbalance between how models use external context and their internal knowledge, and several approaches have attempted to quantify these signals for hallucination detection. However, existing methods require extensive hyperparameter tuning, limiting their generalizability. We propose LUMINA, a novel framework that detects hallucinations in RAG systems through context--knowledge signals: external context utilization is quantified via distributional distance, while internal knowledge utilization is measured by tracking how predicted tokens evolve across transformer layers. We further introduce a framework for statistically validating these measurements. Experiments on common RAG hallucination benchmarks and four open-source LLMs show that LUMINA achieves consistently high AUROC and AUPRC scores, outperforming prior utilization-based methods by up to +13% AUROC on HalluRAG. Moreover, LUMINA remains robust under relaxed assumptions about retrieval quality and model matching, offering both effectiveness and practicality.
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 The Internal State of an LLM Knows When It's Lying
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models cites Retrieval Augmentation Reduces Hallucination in Conversation
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models cites Uncertainty Estimation in Autoregressive Structured Prediction
- Rethinking Evaluation for LLM Hallucination Detection: A Desiderata, A New RAG-based Benchmark, New Insights cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites The Internal State of an LLM Knows When It's Lying
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites Uncertainty Estimation in Autoregressive Structured Prediction
Cited by top-tier papers1
Builds on14
- Retrieval Augmentation Reduces Hallucination in ConversationKurt Shuster, Spencer Poff, Moya Chen, Douwe Kiela et al.EMNLP Findings 2021 · 579 citations
- Uncertainty Estimation in Autoregressive Structured PredictionAndrey Malinin, Mark J. F. GalesICLR 2021 · 439 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
- The Internal State of an LLM Knows When It's LyingAmos Azaria, Tom M. MitchellEMNLP Findings 2023 · 177 citations
Related papers
- ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic InterpretabilityZhongxiang Sun, Xiaoxue Zang, Kai Zheng, Jun Xu et al.ICLR 2025
- Evidence-Aligned Entity Verification for Hallucination Detection in Retrieval-Augmented GenerationRunsong Jia, Zhen Fang, Mengjia Wu, Jie Lu et al.ACL Findings 2026 · 2 citations
- PRGB Benchmark: A Robust Placeholder-Assisted Algorithm for Benchmarking Retrieval-Augmented GenerationZhehao Tan, Yihan Jiao, Dan Yang, Junwei Liu et al.AAAI 2026
- RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language ModelsCheng Niu, Yuanhao Wu, Juno Zhu, Siliang Xu et al.ACL 2024
- MultiRAG: A Knowledge-Guided Framework for Mitigating Hallucination in Multi-Source Retrieval Augmented GenerationWenlong Wu, Haofen Wang, Bohan Li, Peixuan Huang et al.ICDE 2025 · 16 citations
