SilentRetrieval: Hijacking retrieval-augmented generation with semantically preserved adversarial data poisoningSilentRetrieval: Hijacking Retrieval-Augmented Generation via Semantically-Preserving Adversarial Data Poisoning
SilentRetrieval achieves HR@10 of 84.6%, ASR-LLM of 57.5%, and PPL-G2 of 32.4 on NQ.
The attacker aims to make the system generate a predetermined a_target for q_target. They can inject a limited number of documents into corpus D. Knowledge is white-box (retriever gradients available) and limited-access black-box (no retriever gradients; studied via surrogate transfer, not query-only adaptive optimization).
- RAG relies on external corpora, so injecting documents can hijack retrieval and rewrite generation. Previous poisoning is often disfluent, high-perplexity, or does not manipulate generation. The authors aim to handle retrieval, generation, and stealth simultaneously under the single-document protocol.
- SilentRetrieval has two stages. CBS performs multi-token joint optimization on topic-relevant hosts, using embedding similarity minus a perplexity penalty, with a PPL cap. CATG uses a frozen LLM to generate connecting target sentences, then filters by entailment, coherence, and perplexity.
- NQ (361K, Contriever, Llama-2-7B-Chat) HR@10 84.6%, ASR-LLM 57.5%; MS MARCO is 81.3% and 54.8%, with PPL close to benign. Joint-GCG has higher ASR-LLM but higher PPL.
- The authors point out that reliance on white-box gradients, transfer as simple surrogate transfer, evaluation limited to QA/search-style RAG, and perplexity as only a proxy. The experiments include four reimplemented baselines, four generators, five transfer retrievers, and reranking, hybrid retrieval, and passage isolation.
- Evaluated models
- Llama-2-7B-ChatMistral-7B-Instruct-v0.2Qwen-7B-ChatGPT-3.5-TurboContrieverDPRBGE-baseColBERTv2text-embedding-ada-002Cohere embed-v3
- Benchmarks
- Natural Questions (NQ)MS MARCOWikipedia-scale sampled corpus (100K–21M)
- Metrics
- HR@10HR@5ASR-SMASR-LLMASR-PPPL-G2PPL-L2
The paper proposes SilentRetrieval, a two-stage data poisoning attack that hijacks RAG systems through adversarial yet semantically fluent documents. The first stage uses Coordinated Beam Search for multi-token joint optimization, keeping poisoned documents retrievable while constraining perplexity; the second stage uses Context-Adaptive Trigger Generation driven by a frozen LLM to integrate manipulation triggers into document content. In the setting of injecting one poisoned document per query, HR@10 on Natural Questions and MS MARCO is 84.6%/81.3%, ASR-LLM is 57.5%/54.8%, and perplexity is close to benign documents. Evaluation across four target LLMs shows non-trivial effects even with a fixed trigger generator, and transfer tests to unseen retrievers such as ColBERT and commercial embedding models achieve an average HR@10 of 64.7%.
Paper analysis
What problem does this paper attempt to solve?
The authors use two-stage poisoning to simultaneously pursue retrieval hijacking, generation manipulation, and near-benign perplexity.
External corpora can be injected with fluent adversarial documents that simultaneously hijack RAG's retrieval ranking and generated answers while evading high-perplexity filters.
- Scenario: The authors state that RAG uses external corpora to mitigate hallucination and knowledge staleness, and is used in enterprise QA, search, and dialogue. Knowledge bases often come from editable platforms, web crawls, or third parties with limited verification, so corpus integrity is a security prerequisite (Section 1).
- Existing limitations: The authors state that gradient optimization can hijack retrieval but often does not manipulate generation; joint attacks can rewrite generation but have PPL>150, easily caught by simple PPL filters; adversarial decoding remains fluent but acts at generation time rather than corpus poisoning. The authors state that under a unified single-document protocol, no evaluated baseline performs strongly on all three aspects simultaneously.
- Approach: Propose SilentRetrieval. Stage 1's Coordinated Beam Search (CBS) pre-tunes topic-relevant hosts under a fluency budget; Stage 2's Context-Adaptive Trigger Generation (CATG) uses a frozen LLM to generate trigger sentences that connect with the context.
- Threat model:
- Goal: For query q_target, make the system generate a predetermined answer a_target instead of the correct answer (Section 3.2). Evaluation uses synthetic target answers.
- Capability: Inject a limited number of documents into corpus D, corresponding to editing a public knowledge base, publishing crawlable web pages, or uploading to an enterprise system. The reviewer-awareness study in Appendix A is described by the authors as preliminary evidence, not real injection feasibility.
- Knowledge: White-box, i.e., gradient optimization on the retriever is possible; limited-access black-box has no retriever gradients and is studied via surrogate transfer, not fully adaptive query-only optimization.
- Victim system and criteria: Standard RAG takes top-k by embedding similarity, then generator G answers. The three objectives are ranking not exceeding k, generation close to a_target, and PPL not exceeding τ_ppl (Section 3.3).
What related research exists?
Related work trades off among retrieval, generation manipulation, and stealth; this paper compares under a unified single-document protocol.
The paper divides related work into corpus poisoning and defenses, and in Appendix Table 10 compares 14 methods with a feature table. The authors state the central comparison is not a binary feature checklist, but a stealth–effectiveness trade-off under a unified single-document protocol.
Optimization-based retrieval poisoning
- Zhong et al. (2023): Uses HotFlip-style word replacement for gradient corpus poisoning, optimizing retrieval hijacking; the authors state it has no fluency constraint and does not manipulate the generation stage. This paper lists it as a baseline.
- AGGD (2025) and GASLITE (2025): The authors state both have strong retrieval hijacking and consider fluency, but omit generation-stage manipulation. GASLITE is the main comparison for fluency comparability in this paper.
- HotFlip (2018): The paper cites it in the introduction and Appendix C as the source of white-box discrete replacement. Section 8 states CBS's underlying optimization builds on existing gradient-guided replacement.
Joint manipulation and black-box poisoning
- PoisonedRAG (2025) and Joint-GCG (2026): Target both retrieval and generation. The authors state generation manipulation is effective, but high-perplexity text is exposed to simple PPL filters; an equal-fluency comparison adding a PPL penalty to Joint-GCG is left for future work.
- CorruptRAG, RIPRAG, MIRAGE: The authors state these black-box methods avoid the white-box assumption but have weaker optimization or different threat model trade-offs. EYES-ON-ME, POISONCRAFT, PR-Attack, TrojanRAG, BadRAG mainly appear in Table 10.
- AdvDec (2026): The authors state it maintains fluency but operates on generation-time decoding, not corpus poisoning.
Defenses
- RobustRAG (2024): isolate-then-aggregate, providing provable robustness; this paper's generation-side isolation is inspired by it.
- RSB (2025): Compares 13 attacks against 7 defenses. The authors state that enlarging the corpus reduces attack effectiveness.
- Other directions: Cross-encoder reranking, query augmentation with answer consistency checks, rationale-driven passage selection. Section 6 tests reranking, hybrid retrieval, and passage isolation.
Baselines and benchmarks
- Baselines: Zhong et al., PoisonedRAG, GASLITE, Joint-GCG. All reimplemented under a unified protocol: one poisoned document per query, synthetic target answers, Contriever, Llama-2-7B-Chat, GPT-4 evaluation, 361K NQ corpus.
- Benchmarks: NQ has 3,452 test queries and 361K passages, not the standard 21M DPR corpus; MS MARCO has 6,980 dev queries and 8.8M passages.
The authors position this paper as task-specific methodological advancement: CBS does multi-token optimization under fluency constraints, CATG does lightweight trigger fusion. Relative to contemporary black-box methods, this paper trades the white-box retriever assumption for stronger optimization; Section 5 transfer only partially closes this gap.
How does the paper address this problem?
CBS first pre-tunes hosts under a fluency budget, then CATG uses a frozen LLM to generate connecting target sentences.
SilentRetrieval first rewrites topic-relevant hosts so they remain retrievable after payload insertion with perplexity budgeted, then appends target sentences generated by a frozen LLM. The authors state that Stage 1 is not to exceed the original retrievability of the unmodified top-1 seed, but to avoid ranking collapse after Stage 2 inserts the payload.
Problem setup and formalization
- Pipeline: Query q is encoded by encoder E to take top-k by embedding similarity, and the generator outputs a=G(q, D_q) (Section 3.1).
- Optimization objective: Maximize retrieval similarity on discrete text with a penalty for exceeding the perplexity budget:
dopt=argmaxdsim(E(qtarget),E(d))−λ·max(0,PPL(d)−τppl) The authors set λ=0.1. Similarity goes through gradients; PPL is a heuristic proposal signal, and beam candidates are re-evaluated with the exact objective and filtered by a hard threshold.
- Budget and seeds: τ_ppl=50, taken as the 95th percentile of benign NQ document perplexity (mean 28.4, std 12.7, 95th percentile 48.6), and used as a fixed budget across datasets for MS MARCO. Primary PPL uses GPT-2, auxiliary uses Llama-2-7B. Seeds are the corpus top-1 passage for each target query, length normalized to 100±20 tokens.
Stage 1: Coordinated Beam Search
- Candidates: At each step, compute retrieval similarity gradients and subtract a PPL proposal signal aligned to text space. The retriever and GPT-2 tokenizer differ, so this signal is only for proposal; Appendix B explains the alignment. Each position projects to the vocabulary, keeping K=10 by default.
- Coordinated replacement: Select top-M positions by gradient magnitude, default M=3, and perform beam search with beam width B=5 over the joint space, computing the full objective including PPL for a set of simultaneous replacements. The authors state this captures cross-position dependencies missed by single-token greedy.
- Acceptance and stopping: Take the candidate with the highest score and PPL≤τ_ppl, otherwise keep the previous step. Up to T=500 steps; early stop if objective improvement is below ε=10^{-4} for 20 consecutive steps. The authors state 87% of documents converge within 300–400 steps (Appendix C).
Stage 2: Context-Adaptive Trigger Generation
- Generation: Frozen Llama-2-7B-Chat reads the optimized host and a_target, generating sentences that connect with the paragraph style, domain wording, and incorporate the target claim. The authors state the prompt encourages authoritative phrasing and adapts to the document domain, rather than appending a fixed template. The full prompt is in Section 4.2, not repeated here.
- Filtering: Sample up to 5 trigger sentences. Must pass NLI entailment check (threshold >0.8), cosine similarity with host embedding >0.7, and concatenated PPL≤τ_ppl; then select the one with the highest coherence score among those passing all. The paper does not give the NLI model name.
- Coupling: CATG does not directly optimize the retrieval objective, but conditions on the optimized host rather than the original seed. The final document is the host concatenated with the trigger sentence. The authors state CBS changes the embedding shift after payload addition.
Pipeline and success criteria
- Pipeline: Algorithm 1 runs CBS first, then samples, filters, and concatenates trigger sentences. In Appendix Table 12, this paper is 15 min/document; the authors state it takes approximately 2.3× less per-document optimization time than Joint-GCG (relative times 1.0× vs. 2.3× in the table).
- Retrieval and generation criteria: HR@k is the proportion of queries where the adversarial document enters top-k. ASR-SM is case-insensitive, whitespace-normalized substring matching. ASR-LLM is judged by GPT-4 on whether the output truly endorses the target answer. ASR-P requires endorsement across 3 subsequent rewritten queries and by construction does not exceed ASR-LLM.
- Stealth criterion: PPL-G2 is primary, PPL-L2 is auxiliary. On a 500-document subsample, the two have Spearman ρ=0.84; the authors state 91.3% of documents passing the attacker-side threshold also pass the Llama-2-7B threshold.
What experiments did the paper conduct?
Under the unified protocol, NQ achieves HR@10 of 84.6%, ASR-LLM of 57.5%, and PPL-G2 of 32.4.
Experimental Setup
- Models: The main retriever is Contriever. Generators are Llama-2-7B-Chat (main), GPT-3.5-Turbo, Mistral-7B-Instruct-v0.2, Qwen-7B-Chat. The CATG generator is fixed to Llama-2-7B-Chat. The main PPL model is GPT-2, with Llama-2-7B as auxiliary.
- Data: NQ has 3,452 queries and 361K passages; MS MARCO has 6,980 dev queries and 8.8M passages. Each query is paired with a synthetic target answer, and one adversarial document is injected per query. For scale experiments, Wikipedia samples are used to construct 100K to 21M.
- Baselines: Zhong et al., PoisonedRAG, GASLITE, Joint-GCG, reimplemented under a unified protocol. The authors state these numbers do not replace the original headline results: original PoisonedRAG reports 97% ASR under 5 documents and substring matching, while this protocol gives 48.2% ASR-LLM; Joint-GCG original is near 100%, while this protocol gives 62.8%. CorruptRAG, RIPRAG, EYES-ON-ME, MIRAGE, POISONCRAFT are not included due to code availability.
- Metrics and Conditions: HR@k, ASR-SM, ASR-LLM, ASR-P, PPL-G2/L2. Main tables fix Contriever, Llama-2-7B-Chat, GPT-4 evaluation. NQ benign PPL-G2/L2 is 28.4/22.7, MARCO is 30.2/24.1. Table 6 denotes the standard no-defense setting as k=5.
- Evaluation: GPT-4 as LLM-as-judge. Run-to-run standard deviation over 3 evaluations on 500 queries is 0.3%; Cohen's κ with Claude-3-Opus is 0.81. Main results use bootstrap 95% CI with 1,000 resamples, and tests are paired bootstrap over queries.
- Defense Components: MiniLM-L6-v2, MiniLM-L12-v2, MonoT5-base; BM25+dense; passage isolation with majority voting, equivalent answers clustered by cosine >0.85. Adaptive attacks are only against MiniLM-L6-v2.
Main Results
From Table 1 (one document per query; Contriever; Llama-2-7B-Chat; GPT-4):
| Method | NQ HR@10 | NQ ASR-LLM | NQ PPL-G2 | MARCO HR@10 | MARCO ASR-LLM | | Zhong et al. | 72.3% | 38.4% | 847.2 | 67.8% | 34.1% | | PoisonedRAG | 78.6% | 48.2% | 412.6 | 73.4% | 44.7% | | GASLITE | 76.8% | 44.1% | 38.6 | 72.1% | 40.6% | | Joint-GCG | 81.2% | 62.8% | 156.3 | 76.4% | 58.3% | | SilentRetrieval | 84.6% | 57.5% | 32.4 | 81.3% | 54.8% |
- The authors state SilentRetrieval has the highest HR@10, with CI [83.2%, 86.0%] on NQ, and paired bootstrap test p<0.01 relative to Joint-GCG. Joint-GCG has higher ASR-LLM; the authors state its perplexity is 4.8 times that of their method, and independent PPL audit (τ=50) detection rate is 94.2% vs. 8.7% (Appendix Table 11).
- Relative to GASLITE, the authors report NQ HR@10 +7.8% (p<0.01) and ASR-LLM +13.4% (p<0.001).
- On MS MARCO, method ranking is unchanged, with dataset-related drops for each method; the authors attribute this to corpus dilution. In Appendix I, the authors define PES=(HR@10×ASR-LLM)/ln(PPL+1) and state that on both datasets their method has the highest among evaluated baselines (NQ 1,386, MS MARCO 1,262).
Cross-Generator and Retriever Transfer
- Cross-generator (Table 2, NQ 361K, retrieval fixed): ASR-LLM is Llama-2-7B-Chat 57.5%, Mistral-7B-Instruct 54.2%, Qwen-7B-Chat 48.6%, GPT-3.5-Turbo 51.7%, average 53.0%; ASR-P is 38.9%, 35.8%, 31.4%, 36.1%. The authors state that with fixed CATG generator, all four LLMs show non-trivial effects. Llama-2-7B-Chat is highest, which the authors attribute to trigger–generator affinity. Qwen is lowest, possibly due to instruction tuning, safety behavior, or knowledge conflicts. GPT-3.5-Turbo's ASR-SM is 59.4%, lower than the other three, but ASR-LLM is higher than Qwen; the authors suggest it may endorse targets in a more paraphrased manner and state that controlled comparisons are needed to separate this effect. The Mistral abbreviation in Table 2 corresponds to Mistral-7B-Instruct-v0.2 in the text.
- Transfer (Table 3, surrogate is Contriever): White-box Contriever itself is 84.6%/57.5% (HR@10/ASR-LLM). Among unseen retrievers, DPR is 72.8%/44.1%, BGE-base is 67.3%/40.6%, ColBERTv2 is 61.4%/37.2%, text-embedding-ada-002 is 64.7%/39.8%, Cohere embed-v3 is 57.2%/34.6%; average over five is HR@10 64.7%, ASR-SM 49.2%, ASR-LLM 39.3%. For commercial embedding models, the authors fix the generated documents and rebuild the index. The authors state this is surrogate-transfer evidence, not fully black-box adaptive optimization; DPR being strongest is consistent with architectural similarity, and ColBERTv2's late interaction is more resistant to transfer.
- Non-persistence and knowledge conflicts: Appendix H states that 32.3% of ASR-LLM successes fail under query rewriting. Among 200 non-persistent cases, retrieval shift 43.5%, ambiguity under paraphrase 31.0%, competing context 24.5%, other 1.0%. Appendix J states that for established constants like the speed of light, parametric knowledge overrides adversarial context, which the authors write accounts for ~18% of ASR-LLM failures. The appendix provides domain examples; replacement content is not repeated here.
Defenses, Adaptation, and Detection
- Retrieval side (Table 4, NQ): Bi-encoder only gives HR@5/HR@10/ASR-LLM of 76.8%/84.6%/57.5%. Adding MiniLM-L6-v2 gives 62.4%/73.2%/46.8% (+120ms). The authors state HR@10 drops 11.4% and ASR-LLM drops 10.7%. Hybrid BM25+Dense gives 68.1%/79.2%/52.3%; adding reranking gives 54.7%/67.3%/41.5%. MiniLM-L12-v2 HR@10 is 68.9% (+180ms), MonoT5-base is 68.4% (+340ms). The authors treat larger rerankers as stronger defenses and state that adaptive experiments are only against MiniLM-L6-v2; they recommend deploying reranking and write +100–200ms overhead.
- Adaptation and isolation: In Table 5, on matched MiniLM-L6-v2, non-adaptive is 73.2%/46.8%, adaptive is 79.4%/51.2%, with Δ +6.2% / +4.4%; PPL goes from 32.4 to 34.8, time from 15min to 42min. Hybrid+reranking goes from 67.3%/41.5% to 71.6%/44.1%. Table 6: isolation at k=5 gives ASR-LLM 38.2% (5×), at k=10 31.4% (10×), HR unchanged. Hybrid+reranking+isolation at k=5 is 25.6% (6×); all defenses at k=10 is 21.3% (11×). The authors state that HR@5 after isolation represents exposure to the k=5 generation input.
- Detection (Appendix Table 11): Independent PPL audit (τ=50) is 8.7% for SilentRetrieval, 94.2% for Zhong et al., 78.6% for PoisonedRAG, 12.3% for GASLITE. GPT-4 filtering is 14.2%, simplified RAGuard is 34.2%, Mahalanobis is 31.6%. The authors state their detection rate is 8.7–34.2%, while Zhong et al. is 67–94%; and state that query augmentation with answer consistency, and domain-tuned detectors, remain untested.
Human Evaluation and Corpus Scale
- Document-level human (Table 7, n=600 documents, 10 annotators, Krippendorff's α=0.74; aggregated suspiciousness ≥4 flagged): benign 7.3%, Zhong et al. 83.3%, PoisonedRAG 56.7%, SilentRetrieval 14.7%. Fluency/coherence/surface plausibility/suspiciousness: benign 4.52/4.41/4.38/1.42, theirs 4.03/3.84/3.71/1.94. The authors state the flag difference from benign does not reach their test threshold at α=0.05 (p≈0.064, Fisher's exact test, 150 each), and state the design cannot be interpreted as indistinguishable from benign.
- Reviewer perception (Appendix A, n=150, 3 volunteers with Wikipedia editing experience, Fleiss' κ=0.68): proportion rated "likely to survive review" is 78% for SilentRetrieval, 12% for Zhong et al., 34% for PoisonedRAG. The authors state this is only perceptual evidence in a simplified review scenario.
- Scale (Table 8): At 100K, HR@10/ASR-LLM is 86.4%/59.8% (poisoning 3.45%); at 361K, 84.6%/57.5% (0.96%); at 21M sampled evaluation, 74.2%/41.5% (0.016%, 95% CI [72.2%, 76.2%]). Metrics for ≥5M are computed on 1,500 stratified queries, with 95% CI ≈ ±2–2.5%. The authors state that relative to 100K, HR@10 drops 12.2% absolute and ASR-LLM drops 18.3%, and state that scaling the corpus alone is insufficient.
Other Ablations and Analyses
- Table 9: CBS-host-only ASR-LLM is 21.3%, PPL 30.8, HR@10 still 84.6%; without CBS, seed+CATG gives HR@10 38.2%, ASR-LLM 14.7%, PPL 26.1.
- Single-token greedy + PPL rejection: HR@10 79.8%, ASR-LLM 53.1%, PPL 33.7. The authors state CBS gives HR@10 4.8% higher at similar PPL.
- Best static template ASR-LLM is 54.2%, PPL 33.1; CATG is 57.5%, 32.4. The authors state ASR-LLM is 3.3% higher, HR@10 same at 84.6%.
- τ_ppl=30/50/80: HR@10 is 76.3%/84.6%/87.9%, ASR-LLM is 49.2%/57.5%/59.1%, PPL is 24.7/32.4/53.7. The authors state that at 30 they lose 8.3% HR@10, and at 80 they gain only 3.3%. Figure 4 also includes off-table scan points, with star marking τ=50.
- Appendix H: another top-1 seed run gives HR@10 85.2%; random topic passages reduce HR@10 by 6.3%, random corpus passages by 22.1%. When one document serves 2/5 relevant queries, HR@10 is 76.3%/58.4%; with 3 documents injected per query, HR@10 is 94.3% and ASR-LLM 69.2%.
- Appendix Table 12: theirs 15 min/document (1.0×, HR@10 84.6); Joint-GCG 35 min (2.3×, 81.2); GASLITE 18 min (1.2×, 76.8); PoisonedRAG 12 min (0.8×, 78.6); Zhong et al. 8 min (0.5×, 72.3).
What are some points that can be further explored?
The authors point out limitations including the white-box assumption, evaluation scope, and perplexity proxy, and list directions for detection and benchmarks.
Limitations and Future Directions Noted by the Authors
- Protocol and assumptions (Section 8): The four baselines are reimplemented under a unified protocol, differing from original settings; several concurrent black-box methods are absent due to code availability. CBS requires white-box retriever gradients; the 64.7% HR@10 transfer is simple surrogate transfer. Equal-fluency comparison with PPL penalty added to Joint-GCG is left for future work.
- Evaluation scope (Section 8): Only NQ and MS MARCO are evaluated, focusing on knowledge-intensive QA/search-style RAG, not the full range of open-ended RAG, such as long-document summarization or document extraction. Biomedical, legal, and other domains would further test generalizability. Scale experiments at ≥5M use 1,500 stratified queries, not all 3,452. Cross-model experiments do not replace controlled trigger–generator swaps; GPT-4 and Claude-3 as target models remain untested.
- Fluency and implementation prerequisites (Section 8): Perplexity is only a proxy for fluency; domain-style detectors may catch anomalies missed by the metric. The attack requires white-box retriever, topic-relevant seeds, and non-trivial per-document optimization. Appendix A does not simulate the full injection pipeline. The CATG generator is fixed to Llama-2-7B-Chat; adaptive reranking experiments only match MiniLM-L6-v2.
- Larger rerankers (Section 6.2): Extending adaptive attacks to larger rerankers remains future work.
- Untested defenses (Section 6.4): Query augmentation with answer consistency checks, and domain-tuned detectors, remain untested.
- Future directions (Section 9): The authors list training detectors against fluent adversarial examples, using answer consistency to dilute single-document influence, sparse attention generation to limit trigger effects, unified attack-defense benchmarks (e.g., RSB), and multimodal RAG poisoning.
Experimental Coverage
- The main protocol compares four reimplemented baselines on Contriever and Llama-2-7B-Chat; additional generators tested are Mistral-7B-Instruct-v0.2, Qwen-7B-Chat, GPT-3.5-Turbo (Table 2). The CATG generator is fixed to Llama-2-7B-Chat.
- Retrieval transfer targets are DPR, BGE-base, ColBERTv2, text-embedding-ada-002, Cohere embed-v3, with surrogate Contriever (Table 3). The paper states this is not fully adaptive query-only black-box optimization.
- Defense configurations include three tiers of cross-encoder reranking, BM25+dense, passage isolation at k=5 and k=10, and combinations; adaptive optimization is reported only on MiniLM-L6-v2 and hybrid+that reranker (Tables 4–6).
- Human evaluation is 600 documents with 10 annotators; there is also a perception study with 150 documents and 3 reviewers. The scale table covers 100K to sampled 21M, with HR/ASR for ≥5M from 1,500 stratified queries (Tables 7–8).
- The paper does not report agreement between ASR evaluation and human judgment, nor the number of attack optimization repetitions. GPT-4 evaluation has 3 runs on 500 queries (std 0.3%) and κ=0.81 with Claude-3-Opus. The model name used for NLI filtering is not stated in the paper.
Summarize the main content of the paper
Two-stage poisoning balances retrieval hijacking, generation manipulation, and near-benign perplexity under the single-document protocol.
SilentRetrieval is a two-stage corpus poisoning attack against RAG, handling retrieval hijacking, generation manipulation, and fluency simultaneously under a unified protocol of one document per query and synthetic target answers.
- Problem: The authors argue that injectable external corpora make dense retrieval a hijacking entry point. Previous methods either did not do generation manipulation, or had high perplexity and were easy to filter, or only operated at generation time.
- Method: CBS starts from the top-1 host document and performs joint replacement at multiple positions, using embedding similarity minus a fluency penalty, and rejects candidates with PPL above 50. CATG uses frozen Llama-2-7B-Chat to generate target sentences that connect with the context, then filters them through entailment, coherence, and perplexity thresholds.
- Main results: In Table 1, on NQ (361K, Contriever, Llama-2-7B-Chat), HR@10 is 84.6%, ASR-LLM is 57.5%, PPL-G2 is 32.4, and benign PPL-G2 is 28.4. On MS MARCO (8.8M), the corresponding values are 81.3%, 54.8%, and 33.1. Joint-GCG has higher ASR-LLM (62.8% on NQ), which the authors say has 4.8x higher perplexity.
- Transfer and defenses: With the CATG generator fixed, ASR-LLM across four target LLMs is 48.6–57.5% (Table 2). Average transfer HR@10 across five unseen retrievers is 64.7% (Table 3, surrogate Contriever). Combined defenses reduce ASR-LLM to 25.6% at k=5 (6x latency), and the strongest configuration is 21.3% (11x); an adaptive attack matching MiniLM-L6-v2 recovers 6.2% HR@10 (Tables 5–6).
- Stealth and scale: Human flag rate is 14.7%, lower than the disfluent baseline and higher than benign at 7.3% (p≈0.064, Table 7). With 21M sampled and 0.016% poisoning ratio, HR@10 is 74.2% (Table 8).
- Authors' conclusions: The authors say corpus integrity is a first-class security problem; among the evaluated configurations, layered defenses are more robust than single defenses; and raw ASR comparisons without PPL normalization conceal detectability differences under simple fluency audits.