A Unified Benchmark for Privacy-preserving Vector Search
Anne-Marie Kermarrec, Rafael Pires, Mathis Randl, Martijn de Vos
cs.CR, cs.DB, cs.PF
Submitted: 2026-08-02
Code: https://github.com/sacs-epfl/secure-vector-search
License: http://creativecommons.org/licenses/by/4.0/
The gist: Vector search powers semantic search, recommendation systems, and retrieval-augmented generation (RAG).
Terminology
Abstract
Vector search powers semantic search, recommendation systems, and retrieval-augmented generation (RAG). By design, the service answering a query sees both the query embedding and, usually, the corpus against which it is matched. This is a privacy breach for both the user issuing the query and the owner of the corpus. A family of cryptographic schemes (e.g., SAP, EMVP, BNTM, Tip-toe) addresses that leak. However, as each scheme is published and evaluated on its own corpus, threat model, parameter choices, hardware, and metric conventions, the numbers cannot be compared directly. Consequently, a practitioner asking which one to deploy today has no defensible way to choose. We close that gap with a uniform experimental comparison, including a Plaintext baseline and four cryptographic backends running over the same workload, hardware, and metric definitions. Under that ruler, the schemes spread across a Pareto frontier in privacy, performance, and recall rather than imposing a flat penalty on performance. We find that the performance of SAP matches Plaintext, EMVP delivers cryptographic indistinguishability at a 4x throughput cost on CPU, BNTM adds malicious-server verifiability at a further 22x median-latency cost, and Tiptoe hides the cluster choice itself, but incurs a 190x per-query cost compared to Plaintext. GPU acceleration pays off for Plaintext and SAP but not for EMVP or BNTM. All our experiment artifacts are publicly available for reproducibility
Sources
- Practical Secure Delegated Linear Algebra with Trapdoored Matrices
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
- Improving Algorithmic Efficiency using Cryptography
- Text Embeddings by Weakly-Supervised Contrastive Pre-training
- MS MARCO: A Human Generated MAchine Reading COmprehension Dataset
Related papers
- SoK: AI-Augmented Binary Reversing
- Relaxed Sender Anonymity for CBDC Interbank Settlement: A Zero-Knowledge Approach on Permissioned EVM
- Calibration-Family Overfit: Why Trusted Sabotage Monitors Don't Transfer Across Lineages
- Estimating the Social Cost of Corporate Data Breaches
- Efficient Fuzzy PSI under One-Sided Assumptions
- Sealing the Audit-Runtime Gap for LLM Skills