Efficient Privacy-Preserving Retrieval Augmented Generation with Distance-Preserving Encryption
On the map: Retrieval-augmented generation → Privacy and security of RAG
Abstract (arXiv)
RAG has emerged as a key technique for enhancing response quality of LLMs without high computational cost. In traditional architectures, RAG services are provided by a single entity that hosts the dataset within a trusted local environment. However, individuals or small organizations often lack the resources to maintain data storage servers, leading them to rely on outsourced cloud storage. This dependence on untrusted third-party services introduces privacy risks. Embedding-based retrieval mechanisms, commonly used in RAG systems, are vulnerable to privacy leakage such as vector-to-text reconstruction attacks and structural leakage via vector analysis. Several privacy-preserving RAG techniques have been proposed but most existing approaches rely on partially homomorphic encryption, which incurs substantial computational overhead. To address these challenges, we propose an efficient privacy-preserving RAG framework (ppRAG) tailored for untrusted cloud environments that defends against vector-to-text attack, vector analysis, and query analysis. We propose Conditional Approximate Distance-Comparison-Preserving Symmetric Encryption (CAPRISE) that encrypts embeddings while still allowing the cloud to compute similarity between an encrypted query and the encrypted database embeddings. CAPRISE preserves only the relative distance ordering between the encrypted query and each encrypted database embedding, without exposing inter-database distances, thereby enhancing both privacy and efficiency. To mitigate query analysis, we introduce DP by perturbing the query embedding prior to encryption, preventing the cloud from inferring sensitive patterns. Experimental results show that ppRAG achieves efficient processing throughput, high retrieval accuracy, strong privacy guarantees, making it a practical solution for resource-constrained users seeking secure cloud-augmented LLMs.
Key facts. Cited by 4 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 23 of its 27 references that are in the map. First posted on arXiv 18 Jan 2026.
Builds on
23 of 27 references.
Closest ancestors · 2
Same direction, newest first
- 2024RemoteRAG: A Privacy-Preserving LLM Cloud RAG Service17 Dec
- 2024Privacy-Preserving Retrieval-Augmented Generation with Differential Privacy6 Dec
Other references · 21
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 307
- 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
- 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuningcited by 194
9 more
- 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
- 2022A Survey on Retrieval-Augmented Text Generationcited by 157
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Surveycited by 70
- 2023Self-Knowledge Guided Retrieval Augmentation for Large Language Modelscited by 69
- 2023Large Language Model based Long-tail Query Rewriting in Taobao Searchcited by 61
- 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretrainingcited by 53
- 2024UniMS-RAG: A Unified Multi-source Retrieval-Augmented Generation for Personalized Dialogue Systemscited by 38
- 2024Understanding and Mitigating the Threat of Vec2Text to Dense Retrieval Systemscited by 9
- 2024DFA-RAG: Conversational Semantic Router for Large Language Model with Definite Finite Automatoncited by 5
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026A Case Study on the Impact of Anonymization Along the RAG Pipelinecited by 0
- 2026As We May Searchcited by 0
- 2026Is External Database Protection Static in Retrieval-Augmented Generation? Rethinking Privacy Preservation under Dynamic Queriescited by 0
- 2026GoldenRetriever: Non-Interactive Homomorphic Encrypted Retrieval for Privacy-Preserving RAGcited by 0
- 2026GoldenRetriever: Non-Interactive Homomorphic Encrypted Retrieval for Privacy-Preserving RAG31 Jul 2026
- 2026Is External Database Protection Static in Retrieval-Augmented Generation? Rethinking Privacy Preservation under Dynamic Queries16 Jul 2026
- 2026As We May Search28 Jun 2026
- 2026A Case Study on the Impact of Anonymization Along the RAG Pipeline17 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025Provably Secure Retrieval-Augmented Generation
- 2025Privacy-Aware RAG: Secure and Isolated Knowledge Retrieval
- 2026P2RAG: Efficient Privacy-Preserving RAG Service Supporting Arbitrary Top-k Retrieval
- 2026PRAG: End-to-End Privacy-Preserving Retrieval-Augmented Generation
- 2026Quantization Enables Private Dense Retrieval against Malicious Service Providers
- 2025Privacy-Preserving Federated Embedding Learning for Localized Retrieval-Augmented Generation
- 2026A Unified Benchmark for Privacy-preserving Vector Search
- 2025Private-RAG: Answering Multiple Queries with LLMs while Keeping Your Data Private