A RAG pipeline that checks for contradictions when documents are uploaded and again at retrieval time, adds two rerankers and adaptive truncation. The ingestion check sharply reduces contaminated contexts, but answer accuracy gains are not statistically established.
| Affected | Unaff. | All | ||||
| KB | Ranking | Sub. | Acc. | Cont. | Acc. | Acc. |
| Clean | Dense | 0.0 | 66.5 | 0.0 | 64.3 | 65.2 |
| Cross-encoder (CE) | 0.0 | 62.5 | 0.0 | 55.3 | 58.2 | |
| Unchecked | Dense | 85.0 | 61.0 | 3.5 | 64.0 | 62.8 |
| Cross-encoder (CE) | 69.5 | 51.0 | 3.0 | 56.0 | 54.0 | |
| List-wise LLM | 92.0 | 61.5 | 3.0 | 68.3 | 65.6 | |
| CE, cliff | 85.5 | 54.5 | 3.5 | 60.0 | 57.8 | |
| CE, cliff | 72.0 | 49.0 | 3.5 | 54.7 | 52.4 | |
| Checked | Dense | 18.0 | 63.5 | 0.5 | 63.0 | 63.2 |
| Cross-encoder (CE) | 14.0 | 56.5 | 0.5 | 54.3 | 55.2 | |
| Evaluation set | P | R | F1 | |
|---|---|---|---|---|
| Ingestion-time judge | ||||
| FEVER, sentence pairs | 1,050 | 79.4 | 83.1 | 81.2 |
| SICK, sentence pairs | 1,050 | 95.5 | 94.4 | 95.0 |
| FEVER-MC, | 600 | 81.9 | 84.3 | 83.1 |
| PDF chunk pairs | 617 | 95.1 | 78.7 | 86.1 |
| WikiContradict | 190 | – | 67.4 | – |
| Retrieval-time judge | ||||
| FEVER, sentence pairs | 1,050 | 79.3 | 81.1 | 80.2 |
| SICK, sentence pairs | 1,050 | 82.9 | 99.3 | 90.4 |
| FEVER-MC, | 600 | 80.4 | 52.0 | 63.2 |
| WikiContradict | 190 | – | 61.1 | – |
| Top-5 chunk pairs (QA) | 2,902 | 69.2 | 65.3 | 67.2 |
Going deeper

Imagine a shared recipe binder in a kitchen. Anyone can add new recipe cards, but nobody checks whether a new card contradicts an older one. One day someone adds a cake recipe calling for a tablespoon of salt where the old one said a teaspoon. When a cook asks for the cake recipe, both cards come back and nobody flags the disagreement.
This paper adds a librarian who reads every new card before it goes in. The librarian compares it against similar cards already filed, and if the two disagree, asks the person who brought it to decide which is right. At serving time, if a disagreement slipped past, a warning note is clipped to the answer. Two sorting methods also try to put the best cards on top, and a rule tries to guess how many cards the cook actually needs.
The librarian catches most contradictions and keeps the wrong cards out of the cook's hands most of the time. But whether the cook's dish actually tastes better—whether the final answers improve—is not clearly proven. And the person resolving conflicts in the test was a perfect simulated decider, not a real, fallible human.
The abstract, word for word, with the seven densest phrases unpacked.
Retrieval-Augmented Generation (RAG) systems retrieve document chunks by semantic similarity alone, with no mechanism to detect when retrieved chunks contradict each other1. We extend a conventional PDF-based RAG system with conflict detection at two pipeline stages2: at ingestion time, where a new chunk is compared against similar existing chunks by an LLM-as-a-judge3 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 SICK4 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 indistinguishable5. 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%6 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 answers7.
Two lines of work converge: knowledge-conflict detection and LLM-based reranking.
Read five parts, in this order.
Skip Section II if you already know RankGPT and knowledge-conflict literature.
If the gains are smaller than they look, these places show why.
Ingestion-time check. Admitting contradictory revisions degrades answers to the affected questions (Table III): accuracy falls from 66.5% to 61.0% with the dense ranking (p=0.054) and from 62.5% to 51.0% with the cross-encoder ranking (p<0.001). The generator seldom repeats the substituted value, consistent with implausible counter-evidence being easy to reject [6]; it more often declines to answer, abstentions rising from 32.0% to 42.5% under the cross-encoder ranking (p<0.001). After the ingestion check with simulated resolution, the substituted chunk reaches the context for 18.0% of the affected questions instead of 85.0%, and contaminated answers fall from 3.5% to 0.5% (p=0.03). Accuracy moves toward the clean level, by 2.5 points with the dense ranking and 5.5 with the cross-encoder, but with 200 questions neither gain is significant (p=0.33 and p=0.051).
Reranking. The two rerankers, tied on TREC-DL, diverge here. The cross-encoder lowers accuracy relative to the dense retrieval order, by 7.0 points on the clean knowledge base and 8.8 on the unchecked one (both p<0.001), whereas the list-wise reranker reaches 65.6%, 11.6 points above the cross-encoder (p<0.001) and 2.8 above the dense order (p=0.10). The answer-bearing chunk is among the top five for 89.0% of questions in the dense order, 76.8% after cross-encoder reranking, and 96.0% after list-wise reranking. The cross-encoder’s gain over BM25 thus does not transfer to a strong dense first stage over chunked documents. Chunks that straddle unrelated passages contribute, but the gap persists when the answer-bearing chunk is at least 80% on the question’s topic (in the top five for 82.0% after cross-encoder reranking against 99.2% in the dense order).
End-to-end evaluation. The simulated user resolves every true conflict correctly, so the measured effect of the ingestion check is an upper bound on what a human reviewer would obtain. Substituted entities are often implausible, which lets the generator reject them and understates the harm of plausible contradictions, and answers are scored by string containment.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all