$p^2$RAG: Privacy-Preserving RAG Service Supporting Arbitrary Top-$k$ Retrieval
Yulong Ming, Mingyue Wang, Jijia Yang, Cong Wang, Xiaohua Jia

TL;DR
p^2RAG introduces a privacy-preserving retrieval system that efficiently supports arbitrary top-k document retrieval using an interactive bisection method, enhancing security and scalability for large language model applications.
Contribution
It proposes a novel secure top-k retrieval method that avoids sorting, enabling efficient and flexible privacy-preserving RAG services with arbitrary k support.
Findings
p^2RAG is 3-300x faster than existing PRAG systems for k=16-1024.
Supports arbitrary k retrieval without efficiency loss or security issues.
Uses secret sharing and interactive protocols for security.
Abstract
Retrieval-Augmented Generation (RAG) enables large language models to use external knowledge, but outsourcing the RAG service raises privacy concerns for both data owners and users. Privacy-preserving RAG systems address these concerns by performing secure top- retrieval, which typically is secure sorting to identify relevant documents. However, existing systems face challenges supporting arbitrary due to their inability to change , new security issues, or efficiency degradation with large . This is a significant limitation because modern long-context models generally achieve higher accuracy with larger retrieval sets. We propose RAG, a privacy-preserving RAG service that supports arbitrary top- retrieval. Unlike existing systems, RAG avoids sorting candidate documents. Instead, it uses an interactive bisection method to determine the set of top- documents.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCryptography and Data Security · Privacy-Preserving Technologies in Data · Data Quality and Management
