DP2-RAG: An Efficient Full-Process Differential Privacy Implementation in Retrieval-Augmented Generation
Summary
RAG (retrieval-augmented generation, where an AI pulls in external documents to answer questions) systems that connect LLMs to sensitive databases risk leaking private information during both the retrieval phase, where embeddings (numerical representations of text) can be reversed to recover original content, and the generation phase, where raw passages are exposed to the model. The paper proposes DP2-RAG, a framework using differential privacy (a mathematical technique that adds strategic noise to protect individual data while keeping results useful) to protect both stages: it uses noise-aware retrieval with correction to maintain accuracy while adding privacy-protecting noise, and a dual utility-exponent mechanism to protect generated text while keeping semantic meaning intact.
Solution / Mitigation
DP2-RAG introduces two mechanisms: (1) Noise-Aware Retrieval with Correction (NARC) enforces chunk-level differential privacy by adding calibrated noise and correcting ranking bias to mitigate accuracy degradation, and (2) Dual Utility-Exponent Mechanism (DUEM) guarantees token-level differential privacy for generated surrogates through a two-layer exponential mechanism while maintaining semantic fidelity.
Classification
Affected Vendors
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2024-37052: Deserialization of untrusted data can occur in versions of the MLflow platform running version 1.1.0 or newer, enabling
Original source: http://ieeexplore.ieee.org/document/11660753
First tracked: September 7, 2026 at 08:03 PM
Classified by LLM (prompt v3) · confidence: 92%