RAGStress: A Controlled Benchmark for Evaluating RAG Robustness under Knowledge Base DegradationRAGStress: A controlled benchmark for evaluating retrieval-augmented generation under knowledge-base degradation
RAGStress compares four types of knowledge base corruption across five systems and 700 MMLU questions; the authors state semantic types are more harmful.
- RAG is usually evaluated on clean knowledge bases, but real corpora accumulate typographical errors, version conflicts, OCR noise, and outdated content. Models arbitrate between parametric priors and retrieved context; corrupted evidence may be discounted or copied verbatim.
- RAGStress puts four types of corruption and three severity levels into the same vector store, using metadata filtering at query time to fix the retriever and index. Claude 3 Haiku generates 182,546 documents from 57 MMLU subjects; 700 stratified questions, five systems, neutral prompts, exact match on options.
- Under clean retrieval, the five models range from 98.6% to 100.0% (Table 1). Fact corruption and contradiction injection drop accuracy by 10 to 71 percentage points on average, while relevance poisoning drops it by no more than 5 percentage points (Table 6). No-retrieval accuracy does not predict robustness under corruption, and the mixed library is not worst-case.
- The authors limit the scope to multiple-choice questions, documents are derived from benchmark questions, corruption is generated by Claude 3 Haiku, and severity is not human-verified. Follow-up work includes open-ended QA, retrieval and chunking interactions, and defenses such as filtering, contradiction detection, and abstention. The experiments cover five systems, 15 conditions, and 700 questions per cell.
- Evaluated models
- Claude Sonnet 4Claude Opus 4.6DeepSeek R1Qwen3-32BLlama 3.1 8B Instruct
- Benchmarks
- MMLURAGStress
- Metrics
- exact-match accuracyΔΓmislead rate
The paper proposes RAGStress, a controlled evaluation benchmark that stress-tests RAG systems under systematic knowledge-base corruption. The benchmark covers four types of natural contamination (fact tampering, numeric typos, relevance poisoning, contradiction injection) and three severity levels (mild, moderate, severe), and is built from 57 MMLU subjects and 182,546 documents into a single knowledge base with a metadata-filtered experimental design. Across 52,500 model-question-condition evaluations, results show that clean retrieval masks robustness differences, semantic-fidelity corruption is more harmful than signal-utility perturbation, no-retrieval accuracy does not predict robustness under corrupted retrieval, and mixed-library accuracy should not be treated as worst-case robustness. The authors also release the generation scripts, contamination prompts, metadata schema, and evaluation code, and state that the benchmark is intended for controlled stress testing, not as a general model leaderboard.
Paper analysis
What problem does this paper attempt to solve?
The evaluation assumes a clean knowledge base by default; RAGStress makes corruption type and severity controlled conditions.
Existing RAG evaluations assume a clean knowledge base; behavior under knowledge base degradation lacks controlled characterization.
- Scenario: RAG uses an external knowledge base to provide the LLM with newer information, reduce hallucination, and extend the effective knowledge of small models. The authors state that real-world bases accumulate entry errors, document version conflicts, OCR noise in ingestion pipelines, and uncleaned outdated content before any adversary intervenes.
- Arbitration: At generation time, the model implicitly arbitrates between parametric priors and retrieved context. The authors state that the quality of arbitration determines whether corrupted documents are discounted or faithfully reproduced; which corruptions matter and how they should be evaluated remain open questions.
- Existing gaps: The authors state that prior work splits into adversarial poisoning, knowledge conflicts, and noisy retrieval, but does not jointly vary corruption type and severity as evaluation variables on a fixed retrieval pipeline.
- Introduction and table: The authors state that a clean knowledge base raises the 8B model from 42.3% to 98.6%; the introduction writes that it drops to 27% after factual corruption. In Table 1, Llama 3.1 8B's three factual corruption levels are 28.4%, 25.4%, 27.7%, all below its no-retrieval 42.3%.
- Proposed benchmark: RAGStress pairs factual corruption, numeric typo, relevance poisoning, and contradiction injection with subtle, moderate, and obvious, implemented via single-store metadata filtering. Instances come from 57 MMLU subjects, 182,546 documents, and five systems are evaluated. The design addresses three questions: whether corruption type matters, whether no-retrieval capability predicts robustness, and whether severity is monotonic. The authors state it is a controlled stress test, not a general leaderboard.
What related research exists?
The authors divide related work into attacks, conflicts, and noise, and instead evaluate by type and severity.
Knowledge base poisoning and RAG safety
- PoisonedRAG (Zou et al., 2024): injects optimized passages into the knowledge base. The paper states its attack success rate exceeds 90%.
- Phantom, BadRAG, Zhong et al., and Zhang et al.: respectively do trigger-based backdoors, a small number of adversarial passages, adversarial passages transferable across queries, and single-shot injection with improved stealth. Zhang et al. (2025) benchmark 7 defenses against 13 attacks.
- RobustRAG (Xiang et al., 2024): uses isolate-then-aggregate to provide certifiable robustness to retrieval corruption. Mu et al. (2026) survey threats, defenses, and benchmarks. The authors state this line takes an attacker's perspective, treating corruption as binary clean or poisoned, optimizing worst-case attack success rather than non-adversarial degradation in practice.
Knowledge conflicts and context faithfulness
- Longpre et al. (2021) and Xie et al. (2024): observe trade-offs between parametric memory and context under entity-replacement counterfactuals; when conflict is phrased differently, models can follow context or stick to priors. The authors state both use narrow entity replacement and earlier-generation models.
- DisentQA (Neeman et al., 2023) and Shi et al. (2023): the papers state that separately predicting parametric and contextual answers can improve robustness to conflicts; irrelevant context interferes with arithmetic reasoning. The authors state the latter motivates distinguishing semantic fidelity from signal utility.
- Goyal et al. (2024) and ClashEval (Wu et al., 2024): the papers state instruction tuning may increase reliance on context; ClashEval does graded context-parameter conflicts on current-generation models. The authors state ClashEval is closest to their severity axis, and they revisit similar questions with a broader corruption taxonomy.
Noisy retrieval
- Zeng et al. (2025): the paper states misleading retrieval can push RAG below the no-retrieval baseline.
- Wu et al. (2025) and Cuconasu et al. (2024): the papers state not all noise degrades performance; some noise types, and irrelevant documents in the right position, can even help.
- NoMIRACL (Thakur et al., 2024): evaluates hallucination under non-relevant retrieval across 18 languages. The authors state this line characterizes what noise does, but does not jointly vary corruption type and severity on a shared retrieval pipeline.
Evaluation benchmarks and experimental controls
- RGB, CRAG, RAGAS: RGB evaluates noise robustness, negative rejection, information integration, and counterfactual robustness; CRAG does cross-domain factual QA; RAGAS provides reference-free faithfulness, answer relevance, and context relevance.
- QE-RAG (Zhang et al., 2025): crosses error type and severity, but perturbs queries rather than the knowledge base, measuring user-side input noise.
- Baselines and data: the experimental controls in this paper are no-retrieval, clean-only, and unfiltered on the same 700 stratified MMLU questions, plus 12 type×severity conditions. The paper does not use the above attack methods as experimental baselines.
The authors position this paper as evaluation design: jointly varying knowledge base corruption type, severity, and mixed versus type-filtered retrieval in a single controlled design, complementing rather than replacing the attack, defense, and metric literature. The Table 2 caption states that RAGStress is the only entry that simultaneously uses a controlled corruption taxonomy, graded severity, and is framed as evaluation.
How does the paper address this problem?
Single knowledge base with metadata filtering, fixed retriever, changing only corruption type and severity.
RAGStress turns corruption type and severity into query-time metadata filtering: clean documents and corrupted variants live in the same vector index, with the retriever and index unchanged.
Problem setup
Given a query q, the retriever returns top-k documents, and the model arbitrates between parametric priors and contextual evidence:
a = Mθ(q, Dq) = f(pθ(a ∣ q), p(a ∣ q, Dq))
Here f is the implicit arbitration acquired during training. The authors treat it as a behavioral abstraction, not a mechanistic claim: the benchmark measures how accuracy changes under controlled document perturbation.
The drop relative to a clean knowledge base is
Δ(M, t, s) = Acc(M, clean) − Acc(M, t, s)
Δ near 0 means no effect from that corruption; large Δ means substantial degradation. Robustness gap Γ_t(M1, M2) is the difference in Δ between two models on type t, averaged over severity; a positive value means M2 is more susceptible, independent of baseline accuracy differences. They also define a no-retrieval rate ρ, the proportion of queries where the retriever returns zero documents, used to check whether corruption changes retrievability.
Three hypotheses correspond to three research questions. H1: for each model, Δ for factual corruption is greater than for numeric typos, and Δ for contradiction injection is greater than for relevance poisoning. H2: no-retrieval accuracy does not imply the Δ ranking under corrupted retrieval. H3: for sufficiently harmful types and severities, and sufficiently weak models, corrupted RAG can fall below no-retrieval accuracy, and Δ need not increase monotonically with severity.
Corruption taxonomy
Corruption functions perturb clean documents along two information dimensions, at three severity levels (subtle, moderate, obvious).
- Semantic fidelity: alters factual claims. Factual corruption replaces correct answers with plausible wrong ones, preserving structure and authoritative tone; contradiction injection asserts wrong answers, creating a direct conflict between context and parametric memory.
- Signal utility: the truth is preserved, but useful information is reduced. Numeric typos perturb numbers while keeping the correct option label; relevance poisoning replaces content with topic-related but low-information filler.
- Prior predictability: semantic fidelity actively misleads, requiring readers to overturn context to answer correctly; signal utility merely withholds information, allowing readers to fall back on parametric priors. The authors therefore expect the former to be strictly more harmful.
- Generation: all variants are generated by Claude 3 Haiku using type-specific prompts, with severity written into the instruction, making the levels qualitatively different rather than scaled versions of the same transformation. Appendix B describes the failure modes each type simulates and the operationalization of severity; full prompts are in the artifact package.
Single corpus and fifteen conditions
The authors do not build a separate index per condition, to avoid confounds from index construction, embedding distribution, and document count. A unified corpus stores every version, and query-time server-side metadata predicates restrict to the current condition.
- baseline: no retrieval, measuring parametric knowledge.
- clean only: is_corrupted=false, as the RAG upper bound.
- unfiltered: no predicate. Corrupted and clean documents are at 12:1 in the corpus; the authors report that roughly 79% of retrieved chunks are corrupted, simulating an unaudited knowledge base.
- 12 type×severity: only one type and one severity allowed at a time. The full condition table is in Table 3 of Appendix D.
Three premises: A1, single-corpus filtering is methodologically equivalent to separate indexes, with better control over embedding distribution and retrieval score calibration; A2, exact-match multiple choice removes LLM-judge variance, attributing differences to corpus content, though findings may not transfer directly to open generation; A3, the retriever (top-k=5 dense retrieval) and prompt are fixed across all conditions and models. The authors also assume LLM-generated corruption represents systematic, controlled corpus degradation, document-level chunking suits MMLU-length entries, and static single-turn evaluation is a lower bound for systems with active verification.
Corpus, ingestion, and scoring
The test splits of all 57 MMLU subjects, 14,042 items total, are rewritten into short reference articles preserving machine-verifiable standard answers. Appendix C gives structure examples. Each item has 1 clean version plus 12 corrupted variants, totaling 182,546 documents. Format-validation failures are regenerated; the authors report a rejection rate below 2%. Metadata includes subject, perturbation_type, severity, is_corrupted, question_id.
Document-level chunking, embedded with Titan Embeddings V2, and ingested into an approximate nearest neighbor index with metadata filtering. Evaluation uses 700 stratified questions with seed 42. The answer prompt is neutral, not asking models to flag inconsistencies or distrust the context. The first letter among A/B/C/D in the response is taken and exactly matched against the MMLU label.
§5.4 maps the four corruption types to production corpus failures: outdated or misrecorded but fluent content, entry and OCR errors, version drift and topic-adjacent clutter, and multi-source conflicts. The authors also state three boundaries: the generator is only Claude 3 Haiku; severity is a model-assigned operational label, not a human-validated perception scale; documents come from benchmark items rather than natural corpora. They therefore place comparative value in relative rankings under identical conditions, not in predicting absolute failure rates of a deployed corpus.
What experiments did the paper conduct?
The authors state that semantic corruption is more harmful than utility noise, and severity need not be monotonic.
Experimental Setup
- Systems under test: Claude Sonnet 4, Claude Opus 4.6 (proprietary, integrated retrieval and generation), DeepSeek R1 (reasoning-oriented, hosted), Qwen3-32B (open weights, retrieve-then-generate), Llama 3.1 8B Instruct (open weights). The no-retrieval baselines given in Section 6.1 are 86.7%, 78.6%, 77.1%, 83.1%, 42.3%. In the table, Llama 3.1 8B refers to that Instruct model.
- Data: 700 stratified questions from MMLU, covering 57 subjects, with 15 conditions per question. 5×700×15=52,500 evaluations. Knowledge base of 182,546 documents generated by Claude 3 Haiku from the full test split.
- Retrieval and prompting: top-k=5 per question, dense vector retrieval, Titan Embeddings V2, document-level chunking, seed 42 (Table 4). Metadata filtering and neutral prompts are shared across conditions. Service interfaces differ; the authors treat exact-match accuracy as the primary comparable metric and state that differences should be read as system-level rather than purely parameter-level.
- Metrics: exact match of the first A/B/C/D with the MMLU label, no LLM adjudication. Wilson 95% intervals are reported; the authors state that at n=700, the interval is ±3.7 percentage points at 50% accuracy and ±1.6 percentage points at 95%. Also use Δ, Γ, and the misleading rate (proportion of questions answered correctly under clean conditions but incorrectly after corruption).
- Controls: no-retrieval, clean-only, unfiltered, and 12 type×severity conditions. The paper does not report decoding temperature, number of repeated runs, or the numerical values of ρ as defined in Section 3.
Main Results
Per Table 1 (point estimates with n=700 per cell; Wilson intervals in that table). Factual corruption and contradiction injection are listed only at moderate.
Swipe horizontally to read the table
Model No retrieval Clean Factual corruption moderate Contradiction moderate Unfiltered Claude Sonnet 4 86.7% 99.4% 52.9% 41.1% 82.4% Claude Opus 4.6 78.6% 99.7% 73.3% 88.4% 95.0% DeepSeek R1 77.1% 99.9% 50.4% 59.7% 91.3% Qwen3-32B 83.1% 100.0% 29.9% 35.7% 81.6% Llama 3.1 8B 42.3% 98.6% 25.4% 23.1% 74.7% - The authors state that clean retrieval compresses the capability gap seen in the no-retrieval baseline into a narrow band, so narrow that the five models are hard to distinguish; differences only separate after corruption.
- The authors state that semantic corruption tests whether the model follows fluent erroneous evidence. In the table, the moderate cells for factual corruption and contradiction are lower than their clean counterparts; Opus's contradiction moderate is still higher than its no-retrieval cell.
- The authors state that mixed-library accuracy should not be reported as worst-case sensitivity. In the table, each model's unfiltered accuracy is higher than its factual corruption moderate.
Corruption Types and Misleading Rate
Table 6 gives averages across the three severity levels; Figure 4 gives the misleading rate.
- Semantic degradation: The authors state that averaged over severity, factual corruption and contradiction injection cause drops of 10–71 percentage points, while relevance poisoning causes no more than 5 percentage points. Table 6 factual corruption averages: Sonnet 52.2% (−47.2), Opus 74.7% (−25.0), DeepSeek 50.4% (−49.5), Qwen 29.9% (−70.1), Llama 27.2% (−71.4); contradiction injection: 51.0% (−48.4), 89.2% (−10.5), 65.0% (−34.9), 42.1% (−57.9), 31.7% (−66.9).
- Signal utility: Table 6 numeric typo averages: 92.2%, 96.2%, 95.2%, 92.5%, 88.6%, with drops of −7.2, −3.5, −4.7, −7.5, −10.0 percentage points; relevance poisoning: 98.2%, 99.3%, 98.9%, 99.0%, 94.0%, with drops of −1.2, −0.4, −1.0, −1.0, −4.6. The authors state that off-topic content is easier to discard than fluent misinformation. The table note states that these two types stay within about 10 percentage points of clean retrieval.
- Misleading rate and H1: Figure 4 caption states that semantic-fidelity types overturn 25–72% of cleanly answerable questions, signal-utility types less than 10%, with error bars as 95% Wilson intervals. §6.3 uses the same intervals to argue these corruptions are not inert artifacts. The direction of drops in Table 6 is consistent with H1's inequalities: for each model, factual corruption drops more than numeric typos, and contradiction injection more than relevance poisoning.
Parameter Capability and Robustness Gap
Finding 3 compares no-retrieval accuracy with Δ under semantic corruption.
- Cross-over: Qwen3-32B no-retrieval 83.1%, higher than Opus 4.6's 78.6%, but factual corruption average 29.9% versus Opus's 74.7% (Table 6). The authors state that parametric knowledge can be 4.5 percentage points higher while robustness under corruption can be 45 percentage points lower; they give Γ_FACT(Opus, Qwen)=45.1 and Γ_CONTRA(Opus, Qwen)=47.4.
- Other direction: DeepSeek R1 no-retrieval 77.1%, clean 99.9%, factual corruption average 50.4% (relative to clean −49.5 percentage points). The authors state this is comparable to Sonnet 4's semantic corruption drop, despite a lower parametric baseline.
- Authors' scope statement: The five systems cover proprietary, reasoning-oriented, and open-weight. The authors state this remains illustrative; a broader sweep is needed to test generality.
Severity and Mixed Knowledge Base
- Non-monotonic: Contradiction injection is U-shaped on four of the five models (Table 1). Sonnet 4's moderate is 41.1%, subtle 55.7%, obvious 56.1%; the authors call this dip 15.0 percentage points, with a 95% interval not containing 0. Qwen: 44.9%, 35.7%, 45.6%; Llama: 38.0%, 23.1%, 33.9%; DeepSeek's moderate is 59.7% versus 67.1% and 68.1%. The authors state that some moderate-versus-obvious gaps have intervals crossing 0 and need further replication. Opus: 89.1%, 88.4%, 90.1%, which the authors call nearly flat.
- Authors' caveat on U-shape: Severity is LLM-assigned and not human-validated. The authors think the U-shape may partly come from generator behavior; even so, a stress test should include plausible contradictions, not only extreme corruption.
- Mixed library: Table 6 unfiltered drops relative to clean: Opus 4.7, DeepSeek 8.6, Sonnet 17.0, Qwen 18.4, Llama 23.9 percentage points, with accuracies 95.0%, 91.3%, 82.4%, 81.6%, 74.7% respectively. Factual corruption averages from high to low: Opus, Sonnet, DeepSeek, Qwen, Llama. The authors state that models partially recover when clean evidence is still retrievable, and conflating mixed-pollution robustness with worst-case robustness would reverse the ranking.
Other Ablations and Analyses
- The paper does not report accuracy after varying k, embedding model, chunking, or prompts; Table 4 fixes k=5, seed 42, Titan Embeddings V2, document-level chunking, and exact match.
- The authors state that the gap between factual corruption and relevance poisoning ranges from about 25 to nearly 70 percentage points, while within-type subtle-to-obvious gaps are no more than 4 percentage points. Table 1 factual corruption examples: DeepSeek 51.1%, 50.4%, 49.6%; Qwen 30.6%, 29.9%, 29.3%.
- In Table 1, Llama's relevance obvious is 89.1%, while same-type subtle and moderate are 96.3% and 96.7%; Sonnet's moderate for that type is 98.1%, Opus's subtle 99.4%. The paper does not separately explain Llama's obvious cell.
- The authors state that semantic corruption can push performance below random choice. In Table 1, Llama's contradiction moderate is 23.1% and factual corruption moderate 25.4%, both below its no-retrieval 42.3%.
- Figure 3 caption states that the color scale is centered at 50% and annotates each cell's accuracy and interval; these point estimates match Table 1. The paper does not report per-subject accuracy.
What are some points that can be further explored?
The authors limit the scope to multiple-choice questions and synthetic corruption; future directions are open-ended QA, retrieval components, and defenses.
Limitations and future directions noted by the authors
- Task format: limited to multiple choice for scoring reliability; open-ended and multi-hop QA are written as extensions the metadata-filtering design can support (§6.3). §7 also lists citation-dense generation, multi-hop reasoning, and naturally occurring enterprise or web documents.
- Ecological validity: documents are derived from benchmark items, trading ecological validity for verifiable standard answers. The authors state the value lies in relative comparisons under identical conditions, not predicting absolute failure rates of a deployed corpus (§5.4, §6.3).
- Generator: all corruption comes from Claude 3 Haiku. Two of the evaluated systems are from the Claude family; the authors leave generator-swap ablations to future work to separate same-family confounds (§5.4, §6.3).
- Severity labels: assigned by an LLM, without human validation. The authors treat it as a controlled knob, not a claim about how conspicuous humans find it (§5.4, §6.3).
- Interface and memory: each system's serving interface differs, so differences should be read as system-level rather than purely parameter-level. MMLU items likely appear in pretraining data, so the no-retrieval baseline partly reflects memorization; the authors state this raises absolute baselines, but since conditions share items and pipeline, comparative findings still hold (§6.3).
- Future experiments: controlled partial corruption varying the proportion of corrupted documents in top-k, and targeted adversarial injection (§6.3); interactions of retriever, reranker, embedding model, and chunking with corruption (§7); evaluating retrieval filtering, contradiction detection, provenance tracking, abstention, and robust aggregation under the same protocol (§7).
Experimental coverage
- Evaluated systems are Claude Sonnet 4, Claude Opus 4.6, DeepSeek R1, Qwen3-32B, Llama 3.1 8B Instruct, 5 total; document rewriting and corruption generation use Claude 3 Haiku, embeddings use Titan Embeddings V2 (§6.1, Table 4, Table 5).
- Evaluation set is 700 stratified questions from English MMLU, 57 subjects, 15 conditions, n=700 per cell, 52,500 total; scoring is A/B/C/D exact match, with Wilson 95% intervals reported (§6.1, Table 1, Appendix F.1).
- Conditions include no-retrieval, clean-only, unfiltered, and four corruption types times three severity levels. Retrieval is fixed at k=5, document-level chunking, and neutral prompt (§4.3, Table 4).
- The paper reports accuracy, drops relative to clean, Γ, and misleading rates in Figure 4. The paper does not report ρ values, decoding temperature, number of repeated runs, or per-subject accuracy.
- The paper does not report comparisons of retrievers, rerankers, embedding models, or chunking strategies, nor defense results for retrieval filtering, contradiction detection, provenance tracking, abstention, or robust aggregation; §7 lists these as future directions.
Summarize the main content of the paper
The authors use RAGStress to compare five systems; they state that clean retrieval masks differences under semantic corruption.
RAGStress is a controlled stress test of RAG under knowledge base corruption; the authors explicitly do not treat it as a model leaderboard.
- Problem: Common evaluations assume a clean knowledge base. The authors are concerned with how models arbitrate between parametric priors and retrieved evidence when typographical errors, version conflicts, OCR noise, and outdated content appear.
- Approach: Four corruption types, three severity levels, placed into a single corpus of 182,546 documents built from 57 MMLU subjects; at query time, metadata filtering yields 15 conditions, with the retriever and index fixed. 700 stratified questions, five systems, exact option matching, for a total of 52,500 evaluations.
- Clean and semantic corruption: In Table 1, the five models' clean accuracy is 98.6%–100.0%. The authors report that averaged by severity, factual corruption and contradiction injection drop 10–71 percentage points, and relevance poisoning no more than 5 percentage points (Table 6). In Table 6, the lowest under factual corruption is Llama at 27.2%, and the highest is Opus at 74.7%.
- Capability and severity: Qwen3-32B without retrieval is 83.1%, higher than Opus 4.6's 78.6%, yet its factual corruption average is 29.9% versus 74.7%; the authors give Γ_FACT=45.1. Sonnet 4's contradiction moderate is 41.1%, subtle is 55.7%, and obvious is 56.1%.
- Mixed corpus and conclusions: The drop of unfiltered relative to clean is reported by the authors as Opus 4.7, DeepSeek 8.6, Sonnet 17.0, Qwen 18.4, Llama 23.9 percentage points. The authors conclude that RAG evaluation should not only look at whether clean retrieval helps, but also whether models can reject fluent, relevant, and misleading evidence; mixed-corpus accuracy should also not be treated as the worst case.