Skip to main content
QUICK REVIEW

[논문 리뷰] Efficient Privacy-Preserving Retrieval Augmented Generation with Distance-Preserving Encryption

Huanyi Ye, Jiale Guo|arXiv (Cornell University)|2026. 01. 18.
Cryptography and Data SecurityComputer Science인용 수 0
한 줄 요약

논문은 프라이버시를 보호하는 RAG 프레임워크 ppRAG를 소개합니다. CAPRISE를 사용하여 임베딩을 암호화하고 보안 클라우드 기반 검색을 가능하게 하며, 쿼리 프라이버시를 위한 DistanceDP를 도입하여 높은 처리량과 강력한 프라이버시를 달성합니다.

ABSTRACT

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.

연구 동기 및 목표

  • RAG 시스템에서 임베딩 저장 및 검색을 외주할 때의 프라이버시 위험을 다룬다.
  • 쿼리-데이터베이스 간 거리는 보존하고 데이터베이스-데이터베이스 간 거리는 흐리게 하는 CAPRISE를 개발한다.
  • 쿼리에 차등 프라이버시(DistanceDP)를 적용하여 쿼리 분석 누출을 방지한다.
  • 이론적 프라이버시 보장을 제공하고 MS MARCO에 대한 실용적 효율성 향상과 함께 경험적 평가를 제시한다.

제안 방법

  • 쿼리-데이터베이스 간 거리를 보존하지만 데이터베이스-데이터베이스 간 거리를 숨기는 조건부 거리-비교 보존 암호화 CAPRISE를 도입한다.
  • 저장 임베딩용 Enc_DB와 쿼리 임베딩용 Enc_Q의 두 가지 암호화 모드를 사용한다.
  • 반복 쿼리 분석에 대응하기 위해 암호화 전에 쿼리 임베딩을 섭동하기 위해 DistanceDP를 적용한다.
  • 단계 기반 ppRAG 워크플로우: 업로드(임베딩+ENC_DB), 검색(ENC_Q, 서버 검색, 로컬에서 Dec_DB), 그리고 LLM 증강 프롬프트.
  • CAPRISE가 검색에 적합한 거리 순서를 보존하지만 데이터베이스 구조는 보존하지 않음을 보이는 이론적 증명을 제공한다.
  • CAPRISE의 효율성(처리량)을 PHE 기반 RemoteRAG와 실증적으로 비교하고 Vec2Text에 대한 프라이버시를 평가한다.

실험 결과

연구 질문

  • RQ1민감한 내용을 노출하지 않으면서 효율적인 top-k 유사도 검색이 가능하도록 임베딩을 어떻게 암호화할 수 있는가?
  • RQ2검색 프로세스가 Vec2Text 및 벡터 분석 공격에 대해 방어하면서 검색 정확도를 보존할 수 있는가?
  • RQ3DistanceDP를 도입하면 RAG에서 쿼리 프라이버시에 대한 형식적 차등 프라이버시 보장을 제공하는가?
  • RQ4기존의 프라이버시 보호 RAG 방식에 비해 CAPRISE의 실용적 효율성 향상은 무엇인가?

주요 결과

  • CAPRISE는 쿼리-데이터베이스 간 거리만 보존하고 데이터베이스 간 거리를 흐려 벡터 분석 공격에 대비한다.
  • 1단계 CAPRISE는 임베딩 계산에 최소한의 오버헤드를 더한다(임베딩 시간의 약 19%).
  • CAPRISE는 초당 2,339 벡터의 암호화 처리량을 달성하여 RemoteRAG에서 보고된 250–300 벡터/초에 비해 약 9배의 개선을 보인다.
  • DistanceDP는 쿼리 임베딩에 대한 차등 프라이버시 보장을 제공하며 반복 쿼리 추론으로부터 보호하기 위해 검색 공간을 확장한다.
  • gtr-t5-base를 사용한 MS MARCO 실험은 실용적인 효율성과 강력한 프라이버시 보장을 보여준다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.