LUMINA: Detecting Hallucinations in RAG System with Context-Knowledge Signals

Samuel Yeh, Sharon Li, Tanwi Mallick
9/26/2025
21 citations
cs.CL
rag

Official code: deeplearning-wisc/LUMINA (19 stars, Python, MIT, last commit 2026-01-31).

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.

Show full abstract

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. LUMINA: https://github.com/deeplearning-wisc/LUMINA

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of ICLR 2026 paper "LUMINA: Detecting Hallucinations in RAG System with Context–Knowledge Signals"

193PythonSep 15, 202510 months agoMIT

Similar Papers

Cite this paper

@article{yeh2025lumina,
  title  = {LUMINA: Detecting Hallucinations in RAG System with Context-Knowledge Signals},
  author = {Samuel Yeh and Sharon Li and Tanwi Mallick},
  year   = {2025},
  eprint = {2509.21875},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.21875v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.21875.svg)](https://codeofpaper.com/paper/2509.21875)

Discussion