Skip to content

DP2-RAG: An Efficient Full-Process Differential Privacy Implementation in Retrieval-Augmented Generation

2026 · IEEE Transactions on Information Forensics and Security · Vol 21, pp. 8182-8197 · 0 citations · 35 references

Abstract

As Retrieval-Augmented Generation (RAG) brings Large Language Models (LLMs) into contact with proprietary and user-specific knowledge bases in sensitive domains, protecting the privacy of both queries and knowledge content becomes a critical requirement. The RAG pipeline, however, exposes sensitive information at two distinct surfaces: (i) during retrieval, embeddings from both queriers and knowledge bases can leak sensitive information, and embedding inversion techniques can reconstruct source text from these representations; and (ii) during generation, exposing raw passages to the LLM jeopardizes proprietary and regulated content. Existing defenses provide partial protection or rely on differential privacy (DP) at the cost of severe utility loss. We propose DP2-RAG, a framework that provides efficient end-to-end DP guarantees for both retrieval and generation while preserving usability. DP2-RAG introduces two mechanisms: Noise-Aware Retrieval with Correction (NARC) enforces chunk-level DP by adding calibrated noise and correcting ranking bias to mitigate accuracy degradation, and Dual Utility-Exponent Mechanism (DUEM) guarantees token-level DP for generated surrogates through a two-layer exponential mechanism while maintaining semantic fidelity. We formally prove $(\epsilon,\delta)$ -DP for both stages and the composed pipeline. Extensive evaluation on six benchmarks shows that DP2-RAG reduces privacy leakage by over 15% relative to strong baselines, retains near-baseline Top- $k$ retrieval accuracy, achieves state-of-the-art semantic consistency among DP-based systems, and incurs minimal latency overhead. These results demonstrate that DP2-RAG makes privacy-preserving RAG practical for sensitive domains.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

RAG-CT: Mitigating Privacy Risks on Retrieval-Augmented Generation Systems via Scanning Prompt Distribution

Retrieval-Augmented Generation (RAG) has emerged as a powerful paradigm for improving the quality of generated contents of Large Language Models (LLMs) by grounding responses in external knowledge, thus reducing hallucinations and factual errors. However, recent studies have highlighted a critical vulnerability: advers...

Xingyu Lyu, Jia-Yi Wang, Jian-Feng He et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Learning to Refer: Client-Resolved Generation for Privacy-Aware Language Models

Client-Resolved Generation (CRG), a genera- tion interface that separates server-side generation from the lexical realization of input-derived content, is introduced, which provides a practical interface for privacy-sensitive cloud LLMs by reducing plaintext exposure across both input and output pathways while preserv-...

Jeongho Yoon, Chanhee Park, Yong-Chan Chun et al. · 0 citations
Open access Sep 2026

ContextGuard-RAG: Contextual Integrity-Aware Retrieval-Augmented Generation with Multi-Agent Privacy Enforcement for Sensitive Document Question Answering

Large language model (LLM)-powered retrieval-augmented generation (RAG) systems significantly reduce factual errors in question answering, but they present a novel and under-investigated attack surface: factual information in retrieved text can be exposed in ways that do not align with the disclosure norms of the infor...

Faisal Alhwikem, A. Khan, Fawwad Hassan Jaskani · 0 citations
Preprint Aug 2026

Privacy-Preserving RAG by Concealing Sensitive Information from External LLMs

This paper introduces the Sensitive Entity Alias Generator (SEAG), a privacy-preserving framework that empowers users to utilize powerful third-party generators without disclosing sensitive information and demonstrates the success of the SEAG framework.

Saleh Almohaimeed, Saad Almohaimeed, Mousa Jari et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Shadow Queries for Private Retrieval in Vector Databases

SHAQ (shadow query generation), a semantic-decomposition and embedding-decoupling defense against EIAs, is proposed, which uses a generative language model to create diverse shadow queries that capture different semantic aspects of each document.

Xinguo Feng, Zhongkui Ma, Zi-Han Wang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.