Skip to main content
QUICK REVIEW

[論文レビュー] Efficient Privacy-Preserving Retrieval Augmented Generation with Distance-Preserving Encryption

Huanyi Ye, Jiale Guo|arXiv (Cornell University)|Jan 18, 2026
Cryptography and Data SecurityComputer Science被引用数 0
ひとこと要約

paper introduces ppRAG, a privacy-preserving RAG framework using CAPRISE to encrypt embeddings for secure cloud-based retrieval, plus DistanceDP for query privacy, achieving high throughput and strong privacy.

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 を開発し、データベース間の距離ではなくクエリ-to-データベース距離のみを保持し、データベース間の距離を隠す。
  • クエリに対して差分プライバシー(DistanceDP)を組み込み、クエリ分析の漏洩を防ぐ。
  • 理論的なプライバシー保証と、実用的な効率向上を伴う MS MARCO での実証評価を提供する。

提案手法

  • CAPRISE を導入する。CAPRISE はクエリ-to-データベース距離を保持しつつデータベース間距離を隠す条件付き距離比較保全暗号化である。
  • 2つの暗号化モードを使用する。Stored embeddings 用の Enc_DB とクエリ埋め込み用の Enc_Q。
  • DistanceDP を用いて暗号化前のクエリ埋め込みを摂動し、繰り返しクエリ分析に対抗する。
  • フェーズベースの ppRAG ワークフロー:アップロード(埋め込み+ ENC_DB)、検索(ENC_Q、サーバー検索、ローカルでの Dec_DB)、および LLM の augmentation。
  • CAPRISE が適切な距離順序を保持して検索可能である一方でデータベース構造を保持しないことを示す理論的証明を提供する。
  • CAPRISE の効率性(スループット)を PHE ベースの RemoteRAG と比較し、Vec2Text に対するプライバシーを評価する。

実験結果

リサーチクエスチョン

  • RQ1埋め込みをどのように暗号化して、機微な内容を公開せずに高精度なトップ-k 類似検索を可能にできるのか。
  • RQ2検索プロセスは Vec2Text およびベクトル解析攻撃に対して防御を提供しつつ、検索精度を維持できるのか。
  • RQ3DistanceDP を組み込むことで、RAG におけるクエリプライバシーに対する厳密な差分プライバシー保証を提供できるのか。
  • RQ4CAPRISE は既存のプライバシー保護型 RAG アプローチと比較して、実用的な効率向上をもたらすのか。

主な発見

  • CAPRISE はクエリ-to-データベース距離のみを保持し、データベース間距離を乱すことでベクトル分析攻撃に対して防御する。
  • フェーズ1の CAPRISE は埋め込み計算に対して最小限のオーバーヘッドを追加(埋め込み時間の約19%程度)。
  • CAPRISE の暗号化スループットは 2,339 ベクトル/秒 を達成し、RemoteRAG が報告する 250–300 ベクトル/秒 に対して 9 倍の改善。
  • DistanceDP はクエリ埋め込みに差分プライバシー保証を提供し、繰り返しクエリ推定から保護するために探索空間を拡張する。
  • MS MARCO 上で gtr-t5-base を用いた実験は、実用的な効率と強力なプライバシー保証を示す。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。