Conflict-Aware Retrieval-Augmented Generation: Knowledge Conflict Detection, Reranking, and Adaptive Context Selection
Abstract
Retrieval-Augmented Generation (RAG) systems retrieve document chunks by semantic similarity alone, with no mechanism to detect when retrieved chunks contradict each other. We extend a conventional PDF-based RAG system with conflict detection at two pipeline stages: at ingestion time, where a new chunk is compared against similar existing chunks by an LLM-as-a-judge and detected conflicts are resolved by the user before the chunk is admitted, and at retrieval time, where conflicts among top-ranked chunks are surfaced as warnings alongside the answer. We also implement two reranking strategies, a point-wise cross-encoder and a list-wise LLM reranker, and a score-cliff rule that sets context length from cross-encoder scores. The ingestion-time judge reaches an F1 of 81.2% on FEVER and 95.0% on SICK sentence pairs. On multi-claim passages its recall holds near 85% while its precision falls from 92% to 82%, on PDF chunk pairs it attains 95.1% precision and 78.7% recall, and it detects 67.4% of real Wikipedia contradictions. Under the standard TREC-DL protocol, with BM25 retrieval over the full MS MARCO collection, both rerankers raise nDCG@10 from 49.1 to 70.6 and are statistically indistinguishable. The score-cliff rule improves context F1 from 0.57 to 0.64 only after recalibration. End to end, on documents with contradictory revisions, the ingestion check cuts contaminated contexts from 85% to 18% of the affected questions, the list-wise reranker outperforms the cross-encoder by 11.6 points of answer accuracy, and the truncation gain does not carry over to answers.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
Tree-Constrained Adaptive Coverage Search for Knowledge Extraction Attacks against Retrieval-Augmented Generation
Shared title terminologycs.CLWenyun Li, Guiping Cao, Xiangyuan Lan et al.
Evaluating Sparse, Dense, and Hybrid Retrieval-Augmented Generation for Sinhala Question Answering
Shared title terminologycs.CLAneegha Thithiesha Mahabaduge, Nisansa de Silva
Enhancing sLLM Translation for the Construction Domain via Fine-tuning and Retrieval-Augmented Generation
Shared title terminologycs.CLMin-Young Yu, Hanul Kim
Silent Blending in Cross-Paradigm Health Agents: Paradigm-Aware Retrieval for Disclosing Disagreement Across Allopathic, Ayurvedic and Fitness Knowledge
Shared title terminologycs.CLHarshul Jain, Parv Khatri, Tanya Sah et al.
Instinct-Reranker: From Ranking to Decisions in Retrieval
Shared title terminologycs.CLSiqiao Xue, Zexian Zhang, Ning Hu
Latent Tools and Latent Context: Grounding Generation in Deterministic Sources
Shared title terminologycs.CLLiwei Zhang, ZhiMing Tong, Mochen Guan et al.