Contradiction Detection in RAG Systems: Evaluating LLMs as Context Validators for Improved Information Consistency
On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval
Abstract (arXiv)
Retrieval Augmented Generation (RAG) systems have emerged as a powerful method for enhancing large language models (LLMs) with up-to-date information. However, the retrieval step in RAG can sometimes surface documents containing contradictory information, particularly in rapidly evolving domains such as news. These contradictions can significantly impact the performance of LLMs, leading to inconsistent or erroneous outputs. This study addresses this critical challenge in two ways. First, we present a novel data generation framework to simulate different types of contradictions that may occur in the retrieval stage of a RAG system. Second, we evaluate the robustness of different LLMs in performing as context validators, assessing their ability to detect contradictory information within retrieved document sets. Our experimental results reveal that context validation remains a challenging task even for state-of-the-art LLMs, with performance varying significantly across different types of contradictions. While larger models generally perform better at contradiction detection, the effectiveness of different prompting strategies varies across tasks and model architectures. We find that chain-of-thought prompting shows notable improvements for some models but may hinder performance in others, highlighting the complexity of the task and the need for more robust approaches to context validation in RAG systems.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 21 references that are in the map. First posted on arXiv 31 Mar 2025.
Builds on
12 of 21 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2016A Decomposable Attention Model for Natural Language Inferencecited by 215
- 2016Enhanced LSTM for Natural Language Inferencecited by 200
- 2015Reasoning about Entailment with Neural Attentioncited by 69
- 2024ECon: On the Detection and Resolution of Evidence Conflictscited by 18
- 2021WikiContradiction: Detecting Self-Contradiction Articles on Wikipediacited by 17
- 2018Natural Language Inference over Interaction Space: ICLR 2018 Reproducibility Reportcited by 2
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025LegalWiz: A Multi-Agent Generation Framework for Contradiction Detection in Legal Documentscited by 7
- 2025MAGIC: A Multi-Hop and Graph-Based Benchmark for Inter-Context Conflicts in Retrieval-Augmented Generationcited by 6
- 2026Retrieval-Augmented Generation Must Move Beyond Factual Grounding to Represent Diverse Opinionscited by 1
- 2025On Finding Inconsistencies in Documentscited by 0
- 2026A Hierarchical Consistency Framework for Auditing Retrieval-Augmented Generation Systemscited by 0
- 2026A Hierarchical Consistency Framework for Auditing Retrieval-Augmented Generation Systems7 Sep 2026
- 2026Retrieval-Augmented Generation Must Move Beyond Factual Grounding to Represent Diverse Opinions13 Apr 2026
- 2025On Finding Inconsistencies in Documents21 Dec 2025
- 2025LegalWiz: A Multi-Agent Generation Framework for Contradiction Detection in Legal Documents3 Oct 2025
- 2025MAGIC: A Multi-Hop and Graph-Based Benchmark for Inter-Context Conflicts in Retrieval-Augmented Generation29 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2026Evaluating RAG Reliability under Clean, Misleading, and Mixed Retrieval
- 2025DRAGged into Conflicts: Detecting and Addressing Conflicting Sources in Search-Augmented LLMs
- 2024Semantic Tokens in Retrieval Augmented Generation
- 2025Evaluating the Retrieval Robustness of Large Language Models
- 2025Retrieval-Augmented Generation with Conflicting Evidence
- 2024ClashEval: Quantifying the tug-of-war between an LLM's internal prior and external evidence
- 2024Astute RAG: Overcoming Imperfect Retrieval Augmentation and Knowledge Conflicts for Large Language Models
- 2025Resolving Conflicting Evidence in Automated Fact-Checking: A Study on Retrieval-Augmented LLMs