mlsanityData to 14 Oct 2026

Contradiction Detection in RAG Systems: Evaluating LLMs as Context Validators for Improved Information Consistency

arXiv 2504.00180 ↗First posted 31 Mar 2025cs.CL cs.AIcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2016A Decomposable Attention Model for Natural Language Inferencecited by 215
  8. 2016Enhanced LSTM for Natural Language Inferencecited by 200
  9. 2015Reasoning about Entailment with Neural Attentioncited by 69
  10. 2024ECon: On the Detection and Resolution of Evidence Conflictscited by 18
  11. 2021WikiContradiction: Detecting Self-Contradiction Articles on Wikipediacited by 17
  12. 2018Natural Language Inference over Interaction Space: ICLR 2018 Reproducibility Reportcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Evaluating RAG Reliability under Clean, Misleading, and Mixed Retrieval
  2. 2025DRAGged into Conflicts: Detecting and Addressing Conflicting Sources in Search-Augmented LLMs
  3. 2024Semantic Tokens in Retrieval Augmented Generation
  4. 2025Evaluating the Retrieval Robustness of Large Language Models
  5. 2025Retrieval-Augmented Generation with Conflicting Evidence
  6. 2024ClashEval: Quantifying the tug-of-war between an LLM's internal prior and external evidence
  7. 2024Astute RAG: Overcoming Imperfect Retrieval Augmentation and Knowledge Conflicts for Large Language Models
  8. 2025Resolving Conflicting Evidence in Automated Fact-Checking: A Study on Retrieval-Augmented LLMs