Paper 2024/1255

Compass: Encrypted Semantic Search with High Accuracy

Jinhao Zhu
Liana Patel
Matei Zaharia
Raluca Ada Popa
Abstract

We present Compass, a semantic search system for encrypted data that achieves high accuracy, matching state-of-the-art plaintext search quality, while ensuring the privacy of data, queries, and results, even if the server is compromised. Compass contributes a novel way to traverse a state-of-the-art graph-based semantic search index and a white-box co-design with Oblivious RAM, a cryptographic primitive that hides access patterns, to enable efficient search over encrypted embeddings. With our techniques, Directional Neighbor Filtering, Speculative Neighbor Prefetch, and Graph-Traversal Tailored ORAM, Compass achieves user-perceived latencies within or around a second and is orders of magnitude faster than baselines under various network conditions.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2024/1255,
      author = {Jinhao Zhu and Liana Patel and Matei Zaharia and Raluca Ada Popa},
      title = {Compass: Encrypted Semantic Search with High Accuracy},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1255},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1255}
}
Category
Applications
License
CC BY
Submitted
Updated
Versions
2 earlier

Report a problem

Comments

Log in or create an account

Privacy