mlsanityData to 14 Oct 2026

The HalluRAG Dataset: Detecting Closed-Domain Hallucinations in RAG Applications Using an LLM's Internal States

arXiv 2412.17056 ↗First posted 22 Dec 2024cs.CL cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

Detecting hallucinations in large language models (LLMs) is critical for enhancing their reliability and trustworthiness. Most research focuses on hallucinations as deviations from information seen during training. However, the opaque nature of an LLM's parametric knowledge complicates the understanding of why generated texts appear ungrounded: The LLM might not have picked up the necessary knowledge from large and often inaccessible datasets, or the information might have been changed or contradicted during further training. Our focus is on hallucinations involving information not used in training, which we determine by using recency to ensure the information emerged after a cut-off date. This study investigates these hallucinations by detecting them at sentence level using different internal states of various LLMs. We present HalluRAG, a dataset designed to train classifiers on these hallucinations. Depending on the model and quantization, MLPs trained on HalluRAG detect hallucinations with test accuracies ranging up to 75 %, with Mistral-7B-Instruct-v0.1 achieving the highest test accuracies. Our results show that IAVs detect hallucinations as effectively as CEVs and reveal that answerable and unanswerable prompts are encoded differently as separate classifiers for these categories improved accuracy. However, HalluRAG showed some limited generalizability, advocating for more diversity in datasets on hallucinations.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 19 of its 27 references that are in the map. First posted on arXiv 22 Dec 2024.

Builds on

19 of 27 references.

References · 19

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  3. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  4. 2019Root Mean Square Layer Normalizationcited by 1,480
  5. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
  6. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
  7. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
  8. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
  9. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  10. 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
  11. 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Modelscited by 283
  12. 2023Do Language Models Know When They're Hallucinating References?cited by 116
7 more
  1. 2024Retrieval-Augmented Generation with Knowledge Graphs for Customer Service Question Answeringcited by 96
  2. 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Modelscited by 86
  3. 2023Chainpoll: A high efficacy method for LLM hallucination detectioncited by 39
  4. 2023Retrieval-augmented Generation to Improve Math Question-Answering: Trade-offs Between Groundedness and Human Preferencecited by 38
  5. 2024RefChecker: Reference-based Fine-grained Hallucination Checker and Benchmark for Large Language Modelscited by 25
  6. 2024Zero-resource Hallucination Detection for Text Generation via Graph-based Contextual Knowledge Triples Modelingcited by 9
  7. 2024Evaluating the Impact of Advanced LLM Techniques on AI-Lecture Tutors for a Robotics Coursecited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 4.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026RAGognizer: Hallucination-Aware Fine-Tuning via Detection Head Integration
  2. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions
  3. 2026Scalable Token-Level Hallucination Detection in Large Language Models
  4. 2024THaMES: An End-to-End Tool for Hallucination Mitigation and Evaluation in Large Language Models
  5. 2023Don't Believe Everything You Read: Enhancing Summarization Interpretability through Automatic Identification of Hallucinations in Large Language Models
  6. 2025Beyond ROUGE: N-Gram Subspace Features for LLM Hallucination Detection
  7. 2025Theoretical Foundations and Mitigation of Hallucination in Large Language Models
  8. 2025Probabilistic distances-based hallucination detection in LLMs with RAG