Paper 2024/1255 Original: eprint.iacr.org/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.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
History
2025-06-09: last updated
2024-08-08: published
Short URL
https://ia.cr/2024/1255
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@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}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.