RAGSentinel: Certifiable Geometric Consensus for Robust Retrieval-Augmented Generation
Yueyang Quan, Anjun Gao, Yufei Xia, Minghong Fang, Zhuqing Liu
Key points
From the paper's conclusion- We prove that, under an honest-majority assumption and a representation-level separation condition, RAGSentinel exactly recovers a poison-free majority-sized context.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GuardRAG: A Post-Retrieval Defense against Poisoning Attacks in Retrieval-Augmented GenerationarXiv · 2026
- Ranking Is Not Deciding: Benchmark Shortcuts and Operating-Point Collapse in Query-Time RAG Poisoning DefensesarXiv · 2026
- TRIS: A Tri-Layer Retrieval Integrity Sieve Against Knowledge PoisoningarXiv · 2026
- Consistency Is the Attack Surface: Detecting Coordinated Retrieval Poisoning with Embedding GeometryarXiv · 2026
- SD-RAG: A framework for secure selective disclosure in retrieval-augmented generation against single-turn prompt-leaking attacksExpert Systems with Applications · 2026
- Security, Privacy, and Trustworthy Design for Retrieval-Augmented Generation SystemsElectronics · 2026