A Privacy-Preserving Similarity Search Protocol for Encrypted Embeddings with Practical Accuracy–Latency Trade-offs

Main Article Content

Rafael Domingo
Kristoffer Malabanan

Abstract

Embedding-based retrieval is widely used for semantic search, recommendation, and classification because it reduces heterogeneous content to vectors where similarity correlates with relevance. In many deployments, however, embeddings encode sensitive attributes that can be exploited through model inversion, membership inference, linkage across datasets, or simple nearest-neighbor inspection. At the same time, practical systems must answer similarity queries with tight latency budgets and high recall under approximate indexing. This paper presents a protocol for privacy-preserving similarity search when the database embeddings are stored encrypted and the server is not trusted with plaintext vectors or query contents. The design targets practical accuracy--latency trade-offs by combining an oblivious candidate generation stage with an encrypted scoring stage that supports approximate inner products over compact, quantized representations. The protocol separates leakage from performance by explicitly parameterizing approximation knobs, including projection dimension, sketch width, shortlist size, ciphertext packing, and polynomial approximation degree. A unified objective formalizes retrieval error, cryptographic noise growth, and end-to-end cost, enabling systematic selection of operating points under constraints. Implementation considerations emphasize storage locality, SIMD-style batching, distributed execution, and reproducibility. The analysis characterizes computational and communication complexity, quantifies approximation error from projections and quantization, and describes robustness to realistic deployment constraints such as multi-tenant keys and hardware heterogeneity. The result is an end-to-end approach that can be tuned to meet latency targets while retaining practical retrieval accuracy without exposing raw embeddings.

Article Details

Section

Articles

How to Cite

A Privacy-Preserving Similarity Search Protocol for Encrypted Embeddings with Practical Accuracy–Latency Trade-offs. (2019).  Transactions on Artificial Intelligence, Machine Learning, and Cognitive Systems, 4(5), 1-14. https://fourierstudies.com/index.php/TAIMLCS/article/view/2019-05-04