mlsanityData to 14 Oct 2026

Rescuing the Unpoisoned: Efficient Defense against Knowledge Corruption Attacks on RAG Systems

arXiv 2511.01268 ↗First posted 3 Nov 2025cs.CR cs.AI cs.IRcited by 9

On the map: Retrieval-augmented generation → Privacy and security of RAG

Abstract (arXiv)

Large language models (LLMs) are reshaping numerous facets of our daily lives, leading widespread adoption as web-based services. Despite their versatility, LLMs face notable challenges, such as generating hallucinated content and lacking access to up-to-date information. Lately, to address such limitations, Retrieval-Augmented Generation (RAG) has emerged as a promising direction by generating responses grounded in external knowledge sources. A typical RAG system consists of i) a retriever that probes a group of relevant passages from a knowledge base and ii) a generator that formulates a response based on the retrieved content. However, as with other AI systems, recent studies demonstrate the vulnerability of RAG, such as knowledge corruption attacks by injecting misleading information. In response, several defense strategies have been proposed, including having LLMs inspect the retrieved passages individually or fine-tuning robust retrievers. While effective, such approaches often come with substantial computational costs. In this work, we introduce RAGDefender, a resource-efficient defense mechanism against knowledge corruption (i.e., by data poisoning) attacks in practical RAG deployments. RAGDefender operates during the post-retrieval phase, leveraging lightweight machine learning techniques to detect and filter out adversarial content without requiring additional model training or inference. Our empirical evaluations show that RAGDefender consistently outperforms existing state-of-the-art defenses across multiple models and adversarial scenarios: e.g., RAGDefender reduces the attack success rate (ASR) against the Gemini model from 0.89 to as low as 0.02, compared to 0.69 for RobustRAG and 0.24 for Discern-and-Answer when adversarial passages outnumber legitimate ones by a factor of four (4x).

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 45 of its 67 references that are in the map. First posted on arXiv 3 Nov 2025.

Builds on

45 of 67 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documents9 Jun
  2. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun
  3. 2024Certifiably Robust RAG against Retrieval Corruption24 May
  4. 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Models22 May
  5. 2024Typos that Broke the RAG's Back: Genetic Attack on RAG Pipeline by Simulating Documents in the Wild via Low-level Perturbations22 Apr

Other references · 40

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  7. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  10. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  11. 2017Billion-scale similarity search with GPUscited by 2,497
  12. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
28 more
  1. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  4. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  5. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  6. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  8. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
  9. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
  10. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  11. 2023Detecting Language Model Attacks with Perplexitycited by 431
  12. 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
  13. 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 281
  14. 2023Efficient Large Language Models: A Surveycited by 186
  15. 2023LLMRec: Large Language Models with Graph Augmentation for Recommendationcited by 172
  16. 2023Recommendation as Instruction Following: A Large Language Model Empowered Recommendation Approachcited by 168
  17. 2024A Survey on Large Language Model-Based Game Agentscited by 112
  18. 2024Jasper and Stella: distillation of SOTA embedding modelscited by 112
  19. 2024Blended RAG: Improving RAG (Retriever-Augmented Generation) Accuracy with Semantic Search and Hybrid Query-Based Retrieverscited by 84
  20. 2023Automating Customer Service using LangChain: Building custom open-source GPT Chatbot for organizationscited by 61
  21. 2023Why So Gullible? Enhancing the Robustness of Retrieval-Augmented Models against Counterfactual Noisecited by 54
  22. 2024Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?cited by 48
  23. 2023LeanContext: Cost-Efficient Domain-Specific Question Answering Using LLMscited by 40
  24. 2024DyKnow: Dynamically Verifying Time-Sensitive Factual Knowledge in LLMscited by 24
  25. 2024Prompt Perturbation in Retrieval-Augmented Generation based Large Language Modelscited by 18
  26. 2022Cross-Lingual Retrieval Augmented Prompt for Low-Resource Languagescited by 17
  27. 2024Graph Augmentation for Recommendationcited by 4
  28. 2024RAGSys: Item-Cold-Start Recommender as RAG Systemcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
  2. 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation
  3. 2026Benchmarking Knowledge-Extraction Attack and Defense on Retrieval-Augmented Generation
  4. 2025Practical Poisoning Attacks against Retrieval-Augmented Generation
  5. 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generation
  6. 2025RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
  7. 2025One Shot Dominance: Knowledge Poisoning Attack on Retrieval-Augmented Generation Systems
  8. 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Bases