mlsanityData to 7 Oct 2026

Differentially Private Retrieval-Augmented Generation

arXiv 2602.14374 ↗First posted 16 Feb 2026cs.CR cs.AI cs.CLcited by 2

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

Abstract (arXiv)

Retrieval-augmented generation (RAG) is a widely used framework for reducing hallucinations in large language models (LLMs) on domain-specific tasks by retrieving relevant documents from a database to support accurate responses. However, when the database contains sensitive corpora, such as medical records or legal documents, RAG poses serious privacy risks by potentially exposing private information through its outputs. Prior work has demonstrated that one can practically craft adversarial prompts that force an LLM to regurgitate the augmented contexts. A promising direction is to integrate differential privacy (DP), a privacy notion that offers strong formal guarantees, into RAG systems. However, naively applying DP mechanisms into existing systems often leads to significant utility degradation. Particularly for RAG systems, DP can reduce the usefulness of the augmented contexts leading to increase risk of hallucination from the LLMs. Motivated by these challenges, we present DP-KSA, a novel privacy-preserving RAG algorithm that integrates DP using the propose-test-release paradigm. DP-KSA follows from a key observation that most question-answering (QA) queries can be sufficiently answered with a few keywords. Hence, DP-KSA first obtains an ensemble of relevant contexts, each of which will be used to generate a response from an LLM. We utilize these responses to obtain the most frequent keywords in a differentially private manner. Lastly, the keywords are augmented into the prompt for the final output. This approach effectively compresses the semantic space while preserving both utility and privacy. We formally show that DP-KSA provides formal DP guarantees on the generated output with respect to the RAG database. We evaluate DP-KSA on two QA benchmarks using three instruction-tuned LLMs, and our empirical results demonstrate that DP-KSA achieves a strong privacy-utility tradeoff.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 20 of its 36 references that are in the map. First posted on arXiv 16 Feb 2026.

Builds on

20 of 36 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Privacy-Preserving Retrieval-Augmented Generation with Differential Privacy6 Dec
  2. 2024Mitigating the Privacy Issues in Retrieval-Augmented Generation (RAG) via Pure Synthetic Data20 Jun
  3. 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems27 Feb

Other references · 17

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  3. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  4. 2016Deep Learning with Differential Privacycited by 2,682
  5. 2020Extracting Training Data from Large Language Modelscited by 2,144
  6. 2019Language Models as Knowledge Bases?cited by 1,922
  7. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  8. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
  9. 2017Renyi Differential Privacycited by 643
  10. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  11. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  12. 2016Concentrated Differential Privacy: Simplifications, Extensions, and Lower Boundscited by 339
5 more
  1. 2023Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generationcited by 94
  2. 2023Effective Prompt Extraction from Language Modelscited by 83
  3. 2019Practical Differentially Private Top-k Selection with Pay-what-you-get Compositioncited by 38
  4. 2024On the Privacy Risk of In-context Learningcited by 31
  5. 2024REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answeringcited by 28

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024RAG with Differential Privacy
  2. 2025Private-RAG: Answering Multiple Queries with LLMs while Keeping Your Data Private
  3. 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)
  4. 2026SoK: Privacy Risks and Mitigations in Retrieval-Augmented Generation Systems
  5. 2025Differentially Private Synthetic Text Generation for Retrieval-Augmented Generation (RAG)
  6. 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
  7. 2024Generating Is Believing: Membership Inference Attacks against Retrieval-Augmented Generation
  8. 2026Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems