Protection is not a single event: a survey of RAG defense research classified by measured endpointsProtection Is Not One Event: A Survey of RAG Protection Research by Measured Endpoint
The authors manually coded 118 RAG defense papers by measured endpoint (κ=0.867), stating that only 17.8% use content leakage as the primary endpoint, and that the testbed shows adaptive attacks still recover 48.3% of hidden facts under an 8-gram guardrail.
- RAG defense papers all claim to "protect," but the technical events they measure are mutually incompatible, and metrics, datasets and threat models cannot be compared across them; the authors re-examine the field by measured endpoint rather than claimed goal.
- Proposes a frozen taxonomy of seven families divided by primary measurement endpoint, with 32 annotators double-coding 118 full-text-confirmed papers (κ=0.867), and builds a 192-document controlled testbed to compare four protections across endpoints under the same workload.
- The authors report: only 17.8% of studies have content leakage or reconstruction as their primary endpoint; under the copyright/ownership label, 73.3% have corpus usage detection as their primary endpoint; on the testbed, the 8-gram guardrail reduces copy20 to 0.0%, but the three-query adaptive attack still recovers 48.3% of hidden facts (Qwen3-8B).
- The authors note that the taxonomy only establishes which events were measured and does not validate whether the metrics are adequate; the testbed protocol was not preregistered, only Qwen3-8B is a planned confirmatory comparison while the other models are replication or exploratory; and they estimate that about 27.2 additional confirmable studies may exist outside the candidate pool.
- Evaluated models
- Qwen3-8BPhi-4-14BQwen2.5-3BMistral-7B
- Benchmarks
- 118篇全文确认的RAG防护论文证据图自建192文档受控测试床(Wikipedia与科学论文两域)
- Metrics
- κ(编码一致性)copy20hidden-fact recallsource re-ID@1token F1
The author team systematically reviewed RAG defense papers confirmed in 118 full texts, establishing a seven-category taxonomy based on the endpoints actually measured in experiments rather than claimed goals, with a κ value of 0.867 from double coding by 32 annotators. The study points out that only 21 papers (17.8%) had content leakage or source document reconstruction as the primary endpoint; among the 15 records labeled copyright and ownership, 73.3% had corpus usage detection as the primary endpoint, and none had output expression as the primary endpoint. Defense mechanisms had limited predictive power for measured endpoints, with a leave-one-out classifier at only 53.4% accuracy, slightly above the 39.8% baseline; evaluations used general question-answering datasets such as Natural Questions (35 papers), HotpotQA (31 papers) and MS MARCO (28 papers) at most, and 51 papers allowed only a single query by the attacker. The authors' controlled testbed shows that a normalized 8-gram guardrail reduced 20-token verbatim copying to 0.0%, but a three-query adaptive attacker still recovered 48.3% of hidden facts on Qwen3-8B, whereas with a single query this proportion was only 3.3%.
Why it was selected118 RAG defense papers were recoded by measured endpoints, and the authors use a controlled testbed to show that blocking verbatim copying does not equal preventing extraction of hidden facts.
Paper analysis
What problem does this paper attempt to solve?
The technical events measured by RAG protection research are mutually incompatible, and the authors reorganize the field by measured endpoint rather than by claimed goal.
RAG protection papers all claim "protection," but the technical events they each measure are completely different, making metrics, datasets, and threat models incomparable across studies.
- Problem setting: RAG connects language models to retrievable external document stores, bringing risks such as content leakage, source reconstruction, unauthorized access, data poisoning, and prompt injection; the authors give the example that four papers all claiming to protect copyright respectively measure watermark detection, access blocking, poisoning defense, and anti-copying via rewriting, evaluating completely different events.
- Shortcomings of existing surveys: The authors state that existing surveys organize by threat model, pipeline stage, or system architecture, and knowing where a defense sits in the pipeline does not indicate what effect it actually measured.
- Core observation: Defense mechanisms do not imply measurement outcomes—the same technique (e.g., rewriting retrieved passages) is evaluated in different papers as anti-copying, PII redaction, access control, or poisoning defense; and most evaluations use general QA datasets and static single-turn attacks.
- Paper outputs: A frozen taxonomy of seven families divided by measured endpoint (17 subfamilies), an evidence map from manual double coding of 118 full-text-confirmed papers (κ=0.867), a controlled testbed comparing four defenses across endpoints, and the release of the taxonomy, dataset, coding protocol, and testbed.
What related research exists?
The authors group related work into three categories: RAG security surveys, metascience auditing and measurement theory, and RAG adaptation methods; this paper positions itself by measured endpoint.
Survey of RAG Security and Privacy
- Das et al. (2025) survey security and privacy challenges of large models, covering membership inference, data poisoning, and cryptographic and differential privacy defenses; Chen et al. (2025a) survey privacy risks and protections for large models.
- Dedicated surveys on copyright and ownership: Yang et al. (2025) focus on text and model watermarking, Xu et al. (2025) focus on fingerprinting techniques.
- RAG-specific surveys Mu et al. (2026), Palanisamy et al. (2026), and Xu et al. (2026) group by threat model, pipeline stage, or defense module; the paper notes that this architectural perspective obscures the events that evaluations actually measure.
Metascience audits and measurement theory
- Metascience audits of machine learning research by Lipton and Steinhardt (2019) and Kapoor and Narayanan (2023); classic measurement theory from Cronbach and Meehl (1955), Campbell and Fiske (1959), and Messick (1995), which requires clearly defining the target construct and validating the measurement approach.
- Critiques of NLP benchmarks and fairness evaluation: Jacobs and Wallach (2021), Blodgett et al. (2021), Raji et al. (2021), Bowman and Dahl (2021); question answering research has also found that lexical overlap metrics often fail to capture semantic correctness (Bulian et al., 2022; Kamalloo et al., 2023; Adlakha et al., 2024). The paper notes that prior audits mostly expose flaws within experimental setups, whereas this paper audits the alignment between papers' high-level claims and their measurement endpoints.
RAG adaptation methods and individual empirical studies
- Self-RAG (Asai et al., 2024) and RA-DIT (Lin et al., 2024) train models to decide when to retrieve, critique context, or refuse to answer, blurring the boundary between parametric memory and external databases.
- Individual studies already reveal disagreement over the definition of "protection": CopyBench (Chen et al., 2024) measures literal and non-literal copying, SCOPE (Zhang et al., 2026c) performs copyright-sensitive activation steering, RAGFort (Li et al., 2026a) prevents extraction from proprietary knowledge bases, and Qi et al. (2026) build a knowledge extraction benchmark.
Positioning: The authors state that this paper does not group by where a mechanism sits in the pipeline, but instead manually codes the technical events that each paper's experiments actually measure, thereby distinguishing it from the above work.
How does the paper address this problem?
Manually codes 118 papers with a seven-family endpoint taxonomy to build an evidence map, then measures four defenses across endpoints on a 192-document controlled testbed.
Overall it proceeds in two steps: first, propose a frozen taxonomy of seven families divided by measured endpoint and manually code the literature with evidence; then use a controlled RAG testbed to test, under the same workload, whether "success on one endpoint" implies being protected on another endpoint.
Seven-family endpoint taxonomy
- Group by the empirical quantity that the paper's primary metric actually measures, rather than by where the defense mechanism sits (Table 1, Figure 1): Family A generates output that copies protected source text (verbatim or near-paraphrase); A-pii output leaks atomic-level personal identifiers; B reconstructs source content from non-generative channels such as embeddings and indexes; C reports likelihood, perplexity, or formal privacy bounds (without observing actual leakage); D access, retrieval, or response suppression; E watermark, membership, corpus usage, or ownership detection; F poisoning, prompt injection, provenance, attribution, removal, or misuse; G is reserved for records whose event cannot be determined.
- Four asset groups: A, A-pii, B, and C belong to the content confidentiality group (but only A, A-pii, and B directly measure content leakage); D is access suppression; E is usage detection; F is integrity and attribution.
- Each paper is assigned only one primary endpoint family, while defense mechanisms and intervention stages may have multiple labels, avoiding double-counting multi-module systems.
Literature search and manual coding
- Searched arXiv, OpenAlex, and ACL Anthology up to July 17, 2026, following a scoping review protocol; 11,972 hits were deduplicated to 8,978, abstract screening yielded 925 candidate papers, and full texts were retrieved for 824.
- 32 trained annotators double-coded all full texts, with disagreements adjudicated by independent arbitrators under a frozen protocol; additionally, a stratified double screening of 1,200 excluded records was performed to test the stopping rule.
- Inclusion criteria: evaluates retrieval-augmented systems, has an intervention on queries/corpus/index/context/output, and reports a traceable protection or attribution operation point; pure attack papers, benchmarks, surveys, and untested proposals were registered separately.
- Produced 118 full-text-confirmed records (112 from the candidate pool plus 6 recovered through the excluded-record audit), each annotated with 34 structured fields, with median agreement κ=0.94 across all fields (range 0.56–1.00) and κ=0.867 for primary endpoint family; proportions are reported with 95% Wilson intervals and permutation test p-values.
Controlled testbed
- 192 documents (two domains, Wikipedia and scientific papers, with two access policies), each with 3 unexposed human-written fact probes, plus 64 document-disjoint utility queries; retrieval fixed to MiniLM top-3, greedy decoding.
- Four representative defenses: pre-generation access policy filtering (Family D), cosine similarity threshold 0.5 (Family D), an upstream summarization prompt instructing the model to answer in its own words (Family A), and a normalized 8-gram output guardrail (Family A, rewriting spans that match 8-grams of protected sources).
- Models: Qwen3-8B as the primary model, Phi-4-14B for replication, Qwen2.5-3B and Mistral-7B as exploratory; in addition to static prompts, an online three-query adaptive controller was evaluated, iteratively extracting after observing released text, refusals, and rewrites.
- Metrics include copy20 (20-token verbatim copying), hidden-fact recall, source re-ID@1, and token F1, accompanied by blinded human evaluation (192 source-response pairs) to validate the automatic metrics.
What experiments did the paper conduct?
The evidence-map audit examines the endpoint distribution and evaluation quality of 118 papers; the testbed compares the cross-endpoint effects of four defenses under the same load.
Experimental setup
- Evidence map: 118 full-text-confirmed RAG protection papers, double-coded by 32 annotators, with primary endpoint family agreement κ=0.867; proportions with 95% Wilson intervals and permutation tests.
- Testbed: 192 documents (two domains, Wikipedia and scientific papers × two access policies), each with 3 unexposed human-written probes, 64 utility queries; MiniLM top-3 retrieval, greedy decoding.
- Models tested: Qwen3-8B (primary), Phi-4-14B (replication), Qwen2.5-3B and Mistral-7B (exploratory).
- Defenses tested: access policy filtering, cosine threshold 0.5, summarization prompt, normalized 8-gram guardrail, and their combinations.
- Attacks: static semantic extraction queries, delimiter evasion, four-round chunking, and an online three-query adaptive controller (with an additional seven-query exploratory extension).
- Human validation: two blinded annotators rated 144 true source pairs and 48 mismatched source pairs, expression κ=0.831, recovery κ=0.929.
Main results
Core distribution of the evidence map (per Figure 1, Table 4):
Endpoint family Records Share A Output copies source text 8 6.8% A-pii Output leaks identifiers 6 5.1% B Reconstruction via non-generative channels 7 5.9% C Likelihood/formal bounds 6 5.1% D Access suppression 26 22.0% E Corpus usage detection 18 15.3% F Integrity and attribution 47 39.8% - The authors state that only 21/118 (17.8%) have content leakage or reconstruction (A, A-pii, B) as their primary endpoint; 77.1% (91 papers) have primary endpoints in D, E, F.
- Under the frozen copyright/ownership relation label, 11 of 15 papers (73.3% [48.0, 89.1]) have Family E usage detection as their primary endpoint, and 0 papers have Family A output copying as their primary endpoint (95% exact upper bound 18.1%).
- 108/118 (92%) records report a net improvement from the defense, 9 report mixed effects, and 1 reports net degradation; the authors consider this to reflect that the literature mainly tests self-implemented defenses with non-adaptive attacks on general QA benchmarks, rather than that the problem has been solved.
Testbed: preventing surface copying does not equal preventing fact recovery
- What was measured: the simultaneous performance of four defenses on copy20, hidden-fact recall, and source re-ID@1. Results: the normalized 8-gram guardrail reduces visible and decoded copy20 to 0.0% [0.0, 0.0] in the three-query adaptive evaluation, but on Qwen3-8B the attacker still recovers 48.3% [36.7, 60.8] of hidden facts (31.7% on Qwen2.5-3B), with source re-ID@1 reaching 42.5% (Table 10).
- Query budget sensitivity: with the guardrail on Qwen3-8B, hidden-fact recovery is only 3.3% [0.0, 7.5] at query 1 and rises to 48.3% by the 3rd adaptive round (Table 11); the authors therefore argue that single-query evaluation misses multi-turn extraction vulnerabilities.
- Human blinding (n=18/group): on Phi-4-14B the guardrail only reduces human-judged substantial content recovery from 66.7% to 38.9% (Table 9b); the authors state this is consistent with the automatic metric conclusions.
Mechanisms do not imply endpoints, and evaluation quality audit
- What was measured: a cross-tabulation of 13 defense mechanism categories against primary endpoint families. Results: mechanism and endpoint are statistically associated (mutual information 0.624 bits, permutation p=5×10⁻⁵), but a leave-one-out classifier using all mechanisms to predict endpoint family achieves only 53.4% accuracy, only slightly above the 39.8% baseline of always guessing Family F; retrieval reranking (40 papers) and context rewriting (39 papers) each span five to six endpoint families (§5.1, Figure 5).
- Evaluation conditions: the three most common corpora are Natural Questions (35 papers), HotpotQA (31), and MS MARCO (28), with fewer sensitive-data corpora (Enron 12, HealthCareMagic 6, ChatDoctor 5); 51 papers allow the attacker only a single query, 25 have no interaction, and only 11 allow feedback-adaptive multi-query (§5.3).
- Methodological assessment: 72/118 (61%) are high concern on uncertainty analysis because they report only point estimates, 109 papers have concerns on evaluation independence (defenses are almost always tested with attacks implemented by the authors themselves), and 48 papers are low concern on adaptive robustness testing (Figure 6).
Other ablations and analyses
- Metadata robustness (Table 7a): 12.5% missing labels under a fail-open policy recover 9.4%–12.5% of copy20 (range across models).
- Utility confound (Table 14): token F1 penalizes verbose free-form answers—Qwen3-8B scores 18.9 with top-3 retrieval and free-form answers, versus 46.8 with a short-answer prompt.
- Exact-answer recall proxy: sensitivity to human-judged recovery is only 51.8%, and it correlates with response length (Table 12b).
- Confirmatory comparison of the summarization defense: on 80 held-out items, the DiD in exact-answer recall is −0.4 percentage points [−8.3, 7.5] (Qwen3-8B) and 0.0 [−7.9, 8.3] (Phi-4-14B) (Figure 3B).
- Under the delimiter evasion attack, copy20 without defense reaches up to 96.9% (Phi-4-14B, Table 8a).
What are some points that can be further explored?
The authors give three future rules and note that the taxonomy does not validate metric sufficiency; only one model in the testbed is a confirmatory comparison.
Limitations and future directions noted by the authors
- The taxonomy only establishes which technical event a paper measures; it does not determine whether the chosen metric is an adequate or unbiased measurement of that event; the authors state that future work needs to move from event matching to evidence sufficiency validation, adding convergent and discriminant validity controls (§6.2, third rule).
- The authors recommend that research claiming data confidentiality, privacy, or copyright must directly measure content leakage (Family A, A-pii, or B endpoints) and evaluate on corpora containing real sensitive content (§6.2, first rule).
- The authors recommend declaring target endpoints at the subfamily granularity and making multi-query feedback adaptive testing and imperfect-metadata stress testing standard practice (§6.2, second rule).
- The testbed protocol was not preregistered (fixed protocol, not preregistered); only the Summary comparison on Qwen3-8B is a planned confirmatory analysis, while the other models, policies, and analyses are secondary or exploratory (Appendix C.1).
- The authors estimate that under the frozen screening rules, about 27.2 additional confirmable studies may exist outside the candidate pool, and the false negative rate of abstract screening was not estimated (§3.2, Table 2a).
- The authors state that the proportions and intervals are exact descriptions of the 118-paper analysis pool and do not represent the total population of the entire field (§3.2).
Scope of experiments
- The evidence map covers 118 full-text-confirmed records, with search up to July 17, 2026, from arXiv, OpenAlex, and ACL Anthology (§3.2).
- The testbed models are 4 in total: Qwen3-8B, Phi-4-14B, Qwen2.5-3B, and Mistral-7B; the defenses tested are policy filtering, cosine threshold, summarization prompt, 8-gram guardrail, and their combinations (§6.1).
- The testbed corpus consists of 192 documents across two domains, Wikipedia and scientific papers, and the adaptive attack budget is three queries (with an additional seven-query exploratory extension, Appendix C.5).
- Human validation involved two blinded annotators and 192 source-response pairs (144 true sources, 48 mismatched) (Appendix C.3).
- The paper does not report the specific model implementing the testbed's adaptive controller; of the 118 records, 110 focus only on the text modality (Table 2b).
Summarize the main content of the paper
A survey of RAG defenses organized by measured endpoint: an evidence map of 118 manually coded papers plus a controlled testbed; the authors state that the field rarely directly measures content leakage.
This is a systematic review and evidence map paper on RAG defenses, accompanied by a controlled experimental testbed.
- Problem: RAG defense papers all claim to "protect," but the technical events they measure are mutually incompatible—anti-copying, access blocking, watermark detection, and poisoning defense are compared under the same label.
- Method: Proposes a seven-family frozen taxonomy divided by primary measurement endpoint (17 subfamilies); 32 annotators double-coded 118 full-text-confirmed papers (primary endpoint κ=0.867), and four defenses were empirically tested across endpoints on a 192-document testbed.
- Finding one: Only 21/118 (17.8%) have content leakage or reconstruction as the primary endpoint; under the frozen copyright/ownership label, 73.3% of records have corpus usage detection as the primary endpoint, and 0 papers have output copying as the primary endpoint.
- Finding two: Mechanism does not imply endpoint—a leave-one-out classifier predicting endpoint family from all defense mechanisms achieves only 53.4% accuracy; retrieval reranking and context rewriting each span five to six endpoint families.
- Finding three: Evaluation conditions are permissive—51 papers allow only single-query attacks, and only 11 allow feedback-adaptive multi-query; 72/118 report only point estimates; 92% of records report net improvement.
- Testbed: A normalized 8-gram guardrail reduces Qwen3-8B's three-query adaptive copy20 to 0.0%, but the attacker still recovers 48.3% of hidden facts and 42.5% source re-ID@1; the recovery rate is only 3.3% at query 1 and rises to 48.3% by round 3.
- Authors' conclusion: The authors state that "protection" is not a single event, and argue that the field should move from vague umbrella terms to precise, comparable, construct-valid evaluation within each protection goal, and release the taxonomy, evidence map, coding protocol, and testbed.