mlsanityData to 14 Oct 2026

On the Vulnerability of Applying Retrieval-Augmented Generation within Knowledge-Intensive Application Domains

arXiv 2409.17275 ↗First posted 12 Sep 2024cs.CR cs.AI cs.CLcited by 14

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

Abstract (arXiv)

Retrieval-Augmented Generation (RAG) has been empirically shown to enhance the performance of large language models (LLMs) in knowledge-intensive domains such as healthcare, finance, and legal contexts. Given a query, RAG retrieves relevant documents from a corpus and integrates them into the LLMs' generation process. In this study, we investigate the adversarial robustness of RAG, focusing specifically on examining the retrieval system. First, across 225 different setup combinations of corpus, retriever, query, and targeted information, we show that retrieval systems are vulnerable to universal poisoning attacks in medical Q&A. In such attacks, adversaries generate poisoned documents containing a broad spectrum of targeted information, such as personally identifiable information. When these poisoned documents are inserted into a corpus, they can be accurately retrieved by any users, as long as attacker-specified queries are used. To understand this vulnerability, we discovered that the deviation from the query's embedding to that of the poisoned document tends to follow a pattern in which the high similarity between the poisoned document and the query is retained, thereby enabling precise retrieval. Based on these findings, we develop a new detection-based defense to ensure the safe use of RAG. Through extensive experiments spanning various Q&A domains, we observed that our proposed method consistently achieves excellent detection rates in nearly all cases.

Key facts. Cited by 14 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 33 of its 53 references that are in the map. First posted on arXiv 12 Sep 2024.

Builds on

33 of 53 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Pandora: Jailbreak GPTs by Retrieval Augmented Generation Poisoning13 Feb

Other references · 32

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  5. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  6. 2022Survey of Hallucination in Natural Language Generationcited by 2,075
  7. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  8. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  9. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  10. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  11. 2023PaLM 2 Technical Reportcited by 1,162
  12. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
20 more
  1. 2023In-Context Retrieval-Augmented Language Modelscited by 702
  2. 2019Passage Re-ranking with BERTcited by 645
  3. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
  4. 2024The Faiss librarycited by 376
  5. 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 331
  6. 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 213
  7. 2023MedCPT: Contrastive Pre-trained Transformers with Large-scale PubMed Search Logs for Zero-shot Biomedical Information Retrievalcited by 185
  8. 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
  9. 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fastcited by 153
  10. 2022Dense Text Retrieval based on Pretrained Language Models: A Surveycited by 136
  11. 2023Opportunities and Challenges for ChatGPT and Large Language Models in Biomedicine and Healthcited by 118
  12. 2022Training Language Models with Memory Augmentationcited by 113
  13. 2021Efficient Nearest Neighbor Language Modelscited by 93
  14. 2024CBR-RAG: Case-Based Reasoning for Retrieval Augmented Generation in LLMs for Legal Question Answeringcited by 72
  15. 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
  16. 2023Making LLMs Worth Every Penny: Resource-Limited Text Classification in Bankingcited by 37
  17. 2022Standing on the Shoulders of Giant Frozen Language Modelscited by 33
  18. 2023Black-box Adversarial Attacks against Dense Retrieval Models: A Multi-view Contrastive Learning Methodcited by 29
  19. 2023Search Still Matters: Information Retrieval in the Era of Generative AIcited by 17
  20. 2023Demystifying Poisoning Backdoor Attacks from a Statistical Perspectivecited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 9.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Influence Factors on RAG Poisoning
  2. 2024Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attacks
  3. 2025CPA-RAG:Covert Poisoning Attacks on Retrieval-Augmented Generation in Large Language Models
  4. 2025Adversarial Threat Vectors and Risk Mitigation for Retrieval-Augmented Generation Systems
  5. 2026RAG-NAROK: Retrieval-Aware Knowledge Corpus Poisoning in RAG with Source-specific Refutation
  6. 2025Uncovering Competing Poisoning Attacks in Retrieval-Augmented Generation
  7. 2026PIDP-Attack: Combining Prompt Injection with Database Poisoning Attacks on Retrieval-Augmented Generation Systems
  8. 2026Architecture Matters: Comparing RAG Systems under Knowledge Base Poisoning