← Lab /Security & privacy

Learned hash shortlist enables private dense retrieval with near-full quality and 10% latency overhead

A private filter based on learned deep hashing can match full-corpus retrieval quality while adding only about 10% extra latency

Security & privacy arXiv 26 Aug 2026 Method Prototype evidence Threat model

Published as “Pointing the Way, Hiding the Destination: Practical Private Dense Retrieval at Scale”

Why it matters

Enables practical, low-latency private RAG for proprietary text corpora, making deployment of privacy-preserving LLM-augmented services feasible.

Summary

The system achieves near-full-corpus retrieval quality while adding only 0.73 seconds (10%) latency to a 128-token Qwen3-32B RAG pipeline on a 2.68 M-passage corpus, by using a learned binary hash filter that satisfies directional metric-DP and limits homomorphic scoring to a short candidate list. Retrieval quality stays within 98.84-100% NDCG@10 of full-corpus search with 200-500 candidates across five zero-shot corpora (25 K-5.4 M docs). Evidence is limited to public BEIR benchmarks and a single large-scale NQ test; no user study or real-world deployment is reported.

What they found 2

  1. 200-500 candidate shortlist matches full-corpus retrieval quality across five zero-shot corpora

    “with 200-500 candidates, it closely matches full-corpus retrieval across five zero-shot corpora spanning 25K to 5.4M documents.”

  2. Protocol adds only 0.73 s (10%) latency on a 2.68 M-passage NQ corpus over a 10-Gbps link

    “On the full 2.68M-passage NQ corpus over a 10-Gbps link, our protocol only adds 0.73 seconds, or 10%, to a 128-token Qwen3-32B RAG pipeline.”

Caveats 3

  • Recovering retrieval quality under DP may require scoring K = 500-3,000 candidates, while a RAG request typically releases only k = 3-10 documents.
  • Recovering retrieval quality under DP may require scoring K = 500-3,000 candidates, while a RAG request typically releases and bills only k = 3-10 documents.
  • The guarantees assume uncompromised endpoints, authenticated identities, and authenticated confidential transport, with Sybil resistance, availability, inference from the released exact scores, and malformed-ciphertext server privacy remaining outside the model.

What’s new here 4

  • Uses a learned deep hashing filter under directional metric-DP to prune the corpus before cryptographic scoring.
  • Combines int8 quantization with packed BFV homomorphic encryption for exact integer dot-product scoring.
  • Applies active-secure k-out-of-K oblivious transfer to hide the final document selection while limiting payload leakage.
  • Demonstrates end-to-end latency comparable to non-private RAG on million-scale text corpora.

Threat model stated by the source

Adversaryhonest-but-curious Corpus Owner and potentially malicious User (receiver) attempting to recover more than k payloads
CapabilityOwner follows protocol but tries to infer query content or link queries; User may deviate to extract additional content keys via OT
AssumesAuthenticated confidential transport; Uncompromised endpoints; BFV IND-CPA security; Receiver-private OT