Lune

OSDI2025Top-tier venue

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-ofthe-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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed Duplications cites Generic Attacks on Secure Outsourced Databases
  • Hoss: Fast Oblivious Semantic Search with Heterogeneous GPU-CPU-TEE Architecture cites Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed Duplications
  • Hoss: Fast Oblivious Semantic Search with Heterogeneous GPU-CPU-TEE Architecture cites Generic Attacks on Secure Outsourced Databases
  • Hoss: Fast Oblivious Semantic Search with Heterogeneous GPU-CPU-TEE Architecture cites Spectre Attacks: Exploiting Speculative Execution
  • Hoss: Fast Oblivious Semantic Search with Heterogeneous GPU-CPU-TEE Architecture cites Found in Translation: A Generative Language Modeling Approach to Memory Access Pattern Attacks
  • SONIC: Concurrent Oblivious RAM & Data Structures for Low-Latency and High-Throughput cites Generic Attacks on Secure Outsourced Databases
  • SONIC: Concurrent Oblivious RAM & Data Structures for Low-Latency and High-Throughput cites Spectre Attacks: Exploiting Speculative Execution
  • Accelerating Confidential Databases with Crypto-Free Mappings cites Spectre Attacks: Exploiting Speculative Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Enabling Index-free Adjacency in Oblivious Graph Processing with Delayed DuplicationsWeiqi Feng, Xinle Cao, Adam O'Neill, Chuanhui YangVLDB 2026
  2. Hoss: Fast Oblivious Semantic Search with Heterogeneous GPU-CPU-TEE ArchitectureJianzhang Du, Weijie Huang, Chenghong Wang, Nicolas Tsagareli et al.CCS 2026
  3. SONIC: Concurrent Oblivious RAM & Data Structures for Low-Latency and High-ThroughputNihal Talur, Ioannis DemertzisUSENIX Security 2026
  4. Accelerating Confidential Databases with Crypto-Free MappingsWenxuan Huang, Zhanbo Wang, Mingyu LiOSDI 2026
  5. Found in Translation: A Generative Language Modeling Approach to Memory Access Pattern AttacksGrace Jia, Alex Wong, Anurag KhandelwalUSENIX Security 2025

Builds on27

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  2. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  3. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  4. Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations
  5. Generic Attacks on Secure Outsourced DatabasesGeorgios Kellaris, George Kollios, Kobbi Nissim, Adam O'NeillCCS 2016 · 327 citations

Related papers

  1. DORY: An Encrypted Search System with Distributed TrustEmma Dauterman, Eric Feng, Ellen Luo, Raluca Ada Popa et al.OSDI 2020 · 77 citations
  2. Efficient Single-Round Obfuscation of Search and Result Patterns in Searchable EncryptionTung Le, Thang HoangCCS 2026
  3. Oblix: An Efficient Oblivious Search IndexPratyush Mishra, Rishabh Poddar, Jerry Chen, Alessandro Chiesa et al.S&P 2018 · 200 citations
  4. OBI: a multi-path oblivious RAM for forward-and-backward-secure searchable encryptionZhiqiang Wu, Rui LiNDSS 2023
  5. Revisiting Leakage Abuse AttacksLaura Blackstone, Seny Kamara, Tarik MoatazNDSS 2020
Dusk over the sea between two cliffs drawn in fine vertical lines