paper-with-me

홈 › Papers

RemoteRAG: A Privacy-Preserving LLM Cloud RAG Service

2024-12-17 · Yihang Cheng, Lan Zhang, Junyang Wang, Mu Yuan, Yunhao Yao

Retrieval-augmented generation (RAG) improves the service quality of large language models by retrieving relevant documents from credible literature and integrating them into the context of the user query. Recently, the rise of the cloud RAG service has made it possible for users to query relevant documents conveniently. However, directly sending queries to the cloud brings potential privacy leakage. In this paper, we are the first to formally define the privacy-preserving cloud RAG service to protect the user query and propose RemoteRAG as a solution regarding privacy, efficiency, and accuracy. For privacy, we introduce $(n,\epsilon)$-DistanceDP to characterize privacy leakage of the user query and the leakage inferred from relevant documents. For efficiency, we limit the search range from the total documents to a small number of selected documents related to a perturbed embedding generated from $(n,\epsilon)$-DistanceDP, so that computation and communication costs required for privacy protection significantly decrease. For accuracy, we ensure that the small range includes target documents related to the user query with detailed theoretical analysis. Experimental results also demonstrate that RemoteRAG can resist existing embedding inversion attack methods while achieving no loss in retrieval under various settings. Moreover, RemoteRAG is efficient, incurring only $0.67$ seconds and $46.66$KB of data transmission ($2.72$ hours and $1.43$ GB with the non-optimized privacy-preserving scheme) when retrieving from a total of $10^6$ documents.

📄 PDF Abstract BibTeX arXiv:2412.12775

Code (0)

등록된 구현이 없습니다.

Tasks

Privacy PreservingRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Golden Queue Managers 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

A Survey on Facial Image Privacy Preservation in Cloud-Based Services

2025-01-15 · Chen Chen, Mengyuan Sun, Xueluan Gong, Yanjiao Chen 외

Facial recognition models are increasingly employed by commercial enterprises, government agencies, and cloud service providers for identity verification, consumer services, and surveillance. These models are often train…

Cloud Computing

Emotionless: Privacy-Preserving Speech Analysis for Voice Assistants

2019-08-09 · Ranya Aloufi, Hamed Haddadi, David Boyle

Voice-enabled interactions provide more human-like experiences in many popular IoT systems. Cloud-based speech analysis services extract useful information from voice input using speech recognition techniques. The voice …

Emotion RecognitionPrivacy Preservingspeech-recognitionSpeech Recognition+1

Preserving Privacy in Personalized Models for Distributed Mobile Services

2021-01-14 · Akanksha Atrey, Prashant Shenoy, David Jensen

The ubiquity of mobile devices has led to the proliferation of mobile services that provide personalized and context-aware content to their users. Modern mobile services are distributed between end-devices, such as smart…

AttributePrivacy Preserving

Evolution as a Service: A Privacy-Preserving Genetic Algorithm for Combinatorial Optimization

2022-05-27 · Bowen Zhao, Wei-neng Chen, Feng-Feng Wei, Ximeng Liu 외

Evolutionary algorithms (EAs), such as the genetic algorithm (GA), offer an elegant way to handle combinatorial optimization problems (COPs). However, limited by expertise and resources, most users do not have enough cap…

Combinatorial OptimizationEvolutionary AlgorithmsPrivacy PreservingTraveling Salesman Problem

SecGNN: Privacy-Preserving Graph Neural Network Training and Inference as a Cloud Service

2022-02-16 · Songlei Wang, Yifeng Zheng, Xiaohua Jia

Graphs are widely used to model the complex relationships among entities. As a powerful tool for graph analytics, graph neural networks (GNNs) have recently gained wide attention due to its end-to-end processing capabili…

Cloud ComputingGraph Neural NetworkPrivacy Preserving