{
  "id": "2024/1255",
  "url": "https://opencryptology.org/2024/1255",
  "original_url": "https://eprint.iacr.org/2024/1255",
  "title": "Compass: Encrypted Semantic Search with High Accuracy",
  "authors": [
    "Jinhao Zhu",
    "Liana Patel",
    "Matei Zaharia",
    "Raluca Ada Popa"
  ],
  "affiliations": null,
  "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.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Compass: Encrypted Semantic Search with High Accuracy” by Jinhao Zhu, Liana Patel, Matei Zaharia, Raluca Ada Popa, Cryptology ePrint Archive, Paper 2024/1255, https://eprint.iacr.org/2024/1255. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-08-08T04:29:55Z",
    "updated": "2025-06-09T17:52:06Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1255.pdf",
    "sha256": "d6a4242f667be96cb85f495b56d96dd49187a5d618ce10c5c05b028464785043",
    "size": 742003,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1255/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1255.pdf",
      "size": 742003,
      "sha256": "d6a4242f667be96cb85f495b56d96dd49187a5d618ce10c5c05b028464785043",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1255/versions/20241005T234416Z.pdf",
      "captured_at": "2024-10-05T23:44:16Z",
      "label": "copy captured 2024-10-05",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241005234416id_/https://eprint.iacr.org/2024/1255.pdf",
      "size": 1039193,
      "sha256": "7cb3fbea6ba82139e779124eff241d62be6e7a98de889a1c724f363dd854c9b5",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/1255/versions/20240809T071935Z.pdf",
      "captured_at": "2024-08-09T07:19:35Z",
      "label": "copy captured 2024-08-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240809071935id_/https://eprint.iacr.org/2024/1255.pdf",
      "size": 871712,
      "sha256": "2cfbc0586010193cca2ce420668db8f83bdb1928da1e0ca7fbe1f3e3723a1253",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1255.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 742003
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420182239id_/https://eprint.iacr.org/2024/1255.pdf",
      "captured_at": "2026-04-20T18:22:39Z",
      "size": 731765
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1255,\n      author = {Jinhao Zhu and Liana Patel and Matei Zaharia and Raluca Ada Popa},\n      title = {Compass: Encrypted Semantic Search with High Accuracy},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1255},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1255}\n}"
}
