Spruce: 압축 임베딩을 활용한 확장 가능한 프라이빗 아웃소싱 검색
Spruce: Scalable Private Outsourced Retrieval Using Compact Embeddings
한국어 초록
검색-증강 생성(RAG)은 대규모 문서 컬렉션에 대한 밀집 검색(dense retrieval)을 표준적인 구성 요소로 만들었다. 조직들은 점점 더 벡터 인덱스를 신뢰할 수 없는 클라우드에 아웃소싱하고 있으며, 이로 인해 독점 코퍼스와 사용자 쿼리가 노출된다. 각 쿼리가 코퍼스 규모의 상태를 검색하기 때문에 연산, 상관 랜덤성(correlated randomness), 통신량이 코퍼스 크기에 따라 증가하므로, 암호학적 보호는 어려운 과제이다. 백만 문서 규모에서 단순한 보안 구현은 쿼리당 수 분과 약 90 GB의 통신량이 소요된다. 최근의 최적화된 시스템조차 10~22초가 필요하다. 우리는 표현(representation)을 암호 프로토콜과 함께 공동 설계하는 Spruce(Scalable Private Outsourced Retrieval Using Compact Embeddings)를 제안한다. Spruce는 전체 정밀도(full-precision) 재순위화(reranking)를 위한 후보를 보존하는 압축 이진 코드를 학습하며, 코퍼스 전체에 대한 임베딩 점수 계산을 2-서버 다자간 계산(MPC) 하에서의 효율적인 해밍 거리(Hamming distance) 계산으로 대체한다. 코퍼스에 맞게 보정된 고정 반경 프로토콜은 검색 품질을 유지하면서 다중 라운드 후보 선택을 피한다. 또한 Spruce는 약간의 품질 손실을 감수하는 대신 연산량을 크게 줄이는 프라이빗 클러스터 가지치기(private cluster pruning)와, 클라우드 OT 전처리 병목을 제거하는 단일 코어 소유자 운영형 딜러(one-core owner-operated dealer)를 제공한다. 383K~5.42M개의 문서를 포함한 네 가지 코퍼스에서 Spruce는 중앙값 후보 집합의 크기가 382~1,952개에 불과하면서도 원래의 검색 품질을 유지한다. 서버 간 대역폭 10 Gbps에서 전체 스캔은 0.21~2.97초가 걸리며, 측정된 가장 근접한 선행 연구보다 $4.8$~$6.7\times$ 빠르다. 프라이빗 가지치기는 0.06~1.09초가 걸려 $13.1$~$22.9\times$의 속도 향상을 달성하고, 전체 부동소수점(full-float) NDCG의 $93.9\%$~$97.3\%$를 유지한다. 가장 큰 코퍼스에서 가지치기와 딜러는 링크당 1 Gbps 환경에서 지속 처리량(sustained throughput)을 함께 $31.5\times$ 향상시킨다.
원문 초록
Retrieval-Augmented Generation (RAG) has made dense retrieval over large document collections a standard building block. Organizations increasingly outsource vector indexes to untrusted clouds, exposing proprietary corpora and user queries. Cryptographic protection is challenging because each query searches corpus-scale state, causing computation, correlated randomness, and communication to grow with the corpus. At million-document scale, a naive secure implementation takes minutes and about 90 GB of communication per query. Even recent optimized systems require 10--22 seconds. We propose Spruce (Scalable Private Outsourced Retrieval Using Compact Embeddings), which co-designs representations with the cryptographic protocol. Spruce learns compact binary codes that preserve candidates for full-precision reranking, replacing corpus-wide embedding scoring with efficient Hamming-distance computation under two-server multi-party computation (MPC). A corpus-calibrated fixed-radius protocol avoids multi-round candidate selection while preserving retrieval quality. Spruce also provides private cluster pruning, which trades minor quality loss for substantially less computation, and a one-core owner-operated dealer that removes cloud OT preprocessing bottlenecks. Across four corpora containing 383K--5.42M documents, Spruce preserves the original search quality with median candidate sets of only 382--1,952. At 10 Gbps inter-server bandwidth, full scans take 0.21--2.97 seconds, $4.8$--$6.7\times$ faster than the closest measured prior work. Private pruning takes 0.06--1.09 seconds, achieves $13.1$--$22.9\times$ speedups, and retains $93.9\%$--$97.3\%$ of full-float NDCG. On the largest corpus, pruning and the dealer jointly improve sustained throughput by $31.5\times$ at 1 Gbps per link.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.03376v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.