mlsanityData to 7 Oct 2026

MetaRAG: Metamorphic Testing for Hallucination Detection in RAG Systems

arXiv 2509.09360 ↗First posted 11 Sep 2025cs.CLcited by 2

On the map: Retrieval-augmented generation → Hallucination detection in RAG

Abstract (arXiv)

Large Language Models (LLMs) are increasingly deployed in enterprise applications, yet their reliability remains limited by hallucinations, i.e., confident but factually incorrect information. Existing detection approaches, such as SelfCheckGPT and MetaQA, primarily target standalone LLMs and do not address the unique challenges of Retrieval-Augmented Generation (RAG) systems, where responses must be consistent with retrieved evidence. We therefore present MetaRAG, a metamorphic testing framework for hallucination detection in Retrieval-Augmented Generation (RAG) systems. MetaRAG operates in a real-time, unsupervised, black-box setting, requiring neither ground-truth references nor access to model internals, making it suitable for proprietary and high-stakes domains. The framework proceeds in four stages: (1) decompose answers into atomic factoids, (2) generate controlled mutations of each factoid using synonym and antonym substitutions, (3) verify each variant against the retrieved context (synonyms are expected to be entailed and antonyms contradicted), and (4) aggregate penalties for inconsistencies into a response-level hallucination score. Crucially for identity-aware AI, MetaRAG localizes unsupported claims at the factoid span where they occur (e.g., pregnancy-specific precautions, LGBTQ+ refugee rights, or labor eligibility), allowing users to see flagged spans and enabling system designers to configure thresholds and guardrails for identity-sensitive queries. Experiments on a proprietary enterprise dataset illustrate the effectiveness of MetaRAG for detecting hallucinations and enabling trustworthy deployment of RAG-based conversational agents. We also outline a topic-based deployment design that translates MetaRAG's span-level scores into identity-aware safeguards; this design is discussed but not evaluated in our experiments.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Hallucination detection in RAG, one of 15 directions in Retrieval-augmented generation. Builds on 25 of its 35 references that are in the map. First posted on arXiv 11 Sep 2025.

Builds on

25 of 35 references.

References · 25

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  3. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  4. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  5. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  6. 2018Datasheets for Datasetscited by 1,371
  7. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  8. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
  9. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
  10. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  11. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
  12. 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
13 more
  1. 2023Benchmarking Large Language Models for News Summarizationcited by 444
  2. 2023A Survey of Hallucination in Large Foundation Modelscited by 365
  3. 2017Six Challenges for Neural Machine Translationcited by 334
  4. 2021Measuring Attribution in Natural Language Generation Modelscited by 253
  5. 2022FaithDial: A Faithful Benchmark for Information-Seeking Dialoguecited by 108
  6. 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 71
  7. 2024Factuality of Large Language Models: A Surveycited by 64
  8. 2024Confabulation: The Surprising Value of Large Language Model Hallucinationscited by 42
  9. 2024AI Hallucinations: A Misnomer Worth Clarifyingcited by 34
  10. 2018Identifying Implementation Bugs in Machine Learning based Image Classifiers using Metamorphic Testingcited by 30
  11. 2025Hallucination Detection in Large Language Models with Metamorphic Relationscited by 24
  12. 2024Hallucination Detection in Foundation Models for Decision-Making: A Flexible Definition and Review of the State of the Artcited by 17
  13. 2024MORTAR: Multi-turn Metamorphic Testing for LLM-based Dialogue Systemscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Models
  2. 2025Osiris: A Lightweight Open-Source Hallucination Detection System
  3. 2026Retromorphic Testing with Hierarchical Verification for Hallucination Detection in RAG
  4. 2025Bi'an: A Bilingual Benchmark and Model for Hallucination Detection in Retrieval-Augmented Generation
  5. 2026RAGognizer: Hallucination-Aware Fine-Tuning via Detection Head Integration
  6. 2025The Semantic Illusion: Certified Limits of Embedding-Based Hallucination Detection in RAG Systems
  7. 2025LettuceDetect: A Hallucination Detection Framework for RAG Applications
  8. 2025LUMINA: Detecting Hallucinations in RAG System with Context-Knowledge Signals