Set-level poisoning can force RAG to output target answers while any subset fails
LENS can construct document sets that achieve high attack success rates in retrieval-augmented generation, with proper subsets showing near-zero success
Security & privacy arXiv 28 Sep 2026 Attack Prototype evidence
Published as “LENS: The Sum Is Worse Than the Parts for Set-Level Poisoning in Retrieval-Augmented Generation”
Why it matters
LENS reveals a previously unaddressed attack surface in RAG systems and offers a concrete benchmark for developing defenses that inspect cross-document dependencies.
Summary
LENS achieves a full-set attack success rate of 0.852 while keeping the strongest proper-subset success at only 0.069, demonstrating that set-level composition can reliably steer RAG outputs. Across four benchmarks and three target generators, it raises all-attempt E2E-Strict@5 from 0.244 to 0.363, a 48.8% relative gain, and outperforms all tested defenses. The evidence is based on extensive 20-generation stochastic evaluation on 4,000 query-target attempts, with human audits confirming that 68.3% of returned packets meet the intended semantic shift criteria. The paper provides detailed quantitative results and ablations, but the strict-success metric remains modest (≈36%) and not all packets pass human validity checks.
What they found 2
- Full-set attack success reaches 0.852 while proper-subset success stays at 0.069
“Across four benchmarks and three generators, returned packets achieve 0.852 full-set ASR and 0.784 post-retrieval ASR@5, while their strongest proper subsets reach only 0.069.”
- LENS improves all-attempt E2E-Strict@5 from 0.244 to 0.363, a 48.8% relative gain
“LENS improves all-attempt E2E-Strict@5 from 0.244 to 0.363, a 48.8% relative gain.”
Caveats 2
- Strict end-to-end success is limited to 0.363 (36.3%) of attempts, indicating many packets do not achieve the full-set steering under realistic retrieval.
- Only 68.3% of returned packets satisfy the SemValid criteria, showing that a substantial fraction lack the intended semantic shift.
What’s new here 4
- Introduces set-level compositional poisoning, where only the full retrieved set triggers the target answer.
- Presents LENS, a generator-black-box multi-agent pipeline that plans an interpretation lens and synthesizes complementary documents.
- Uses counterexample-guided repair with exhaustive proper-subset checking to enforce subset safety.
- Provides a stress-test framework for evaluating defenses that reason over document sets rather than individual passages.