Conflict-Aware Retrieval-Augmented Generation: Knowledge Conflict Detection, Reranking, and Adaptive Context Selection
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…
- arXiv
- 2611.41367
- Authors
- Alaa Zahweh, Hadi Hasan, Ali Chehab
- Categories
- cs.CL · cs.AI