RAGSentinel: Certifiable Geometric Consensus for Robust Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → Privacy and security of RAG
Abstract (arXiv)
Retrieval-augmented generation (RAG) improves the factuality of large language models by grounding responses in external documents, but it also exposes a critical security vulnerability: adversarial documents injected into the knowledge database can enter the context window and steer the model toward targeted incorrect answers. Existing post-retrieval defenses rely on instruction following, parametric knowledge, or text-level consistency, all of which can be imitated or optimized against by adaptive attackers. We propose RAGSentinel, a training-free, label-free defense for black-box RAG systems. RAGSentinel uses a surrogate encoder to measure query-conditioned hidden-state shifts induced by retrieved documents, removes shared topic directions, and filters poisoned documents as geometric outliers from a robust majority consensus. We prove that, under an honest-majority assumption and a representation-level separation condition, RAGSentinel exactly recovers a poison-free majority-sized context. Experiments across three question-answering datasets, three LLM families, and multiple poisoning attacks show that RAGSentinel consistently achieves low attack success rates while preserving competitive accuracy and remaining effective against adaptive attacks with full pipeline knowledge.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 26 of its 41 references that are in the map. First posted on arXiv 25 Aug 2026.
Builds on
26 of 41 references.
Closest ancestors · 3
Same direction, newest first
- 2025Secure Retrieval-Augmented Generation against Poisoning Attacks28 Oct
- 2025TrustRAG: Enhancing Robustness and Trustworthiness in Retrieval-Augmented Generation1 Jan
- 2024Certifiably Robust RAG against Retrieval Corruption24 May
Other references · 23
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
11 more
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 437
- 2016Robust Estimators in High Dimensions without the Computational Intractabilitycited by 209
- 2023Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Modelscited by 180
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 153
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 100
- 2024CrAM: Credibility-Aware Attention Modification in LLMs for Combating Misinformation in RAGcited by 22
- 2024Adversarial Decoding: Generating Readable Documents for Adversarial Objectivescited by 16
- 2026Beware What You Autocomplete: Forensic Attribution of Backdoored Code Completionscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026PRA-RAG: Provably Robust Aggregation in Retrieval-Augmented Generation against Retrieval Corruption
- 2026RAG-NAROK: Retrieval-Aware Knowledge Corpus Poisoning in RAG with Source-specific Refutation
- 2026RAGuard: A Layered Defense Framework for Retrieval-Augmented Generation Systems Against Data Poisoning
- 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontiers
- 2025Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generation
- 2025RAGPart & RAGMask: Retrieval-Stage Defenses Against Corpus Poisoning in Retrieval-Augmented Generation
- 2026Architecture Matters: Comparing RAG Systems under Knowledge Base Poisoning
- 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface