← Lab /AI/ML

Threshold-based encrypted retrieval matches effectiveness with lower latency

The authors claim their non-interactive HE threshold selection achieves competitive retrieval performance while reducing latency versus ranking-based encrypted methods

AI/ML arXiv 31 Jul 2026 Method Prototype evidence

Published as “GoldenRetriever: Non-Interactive Homomorphic Encrypted Retrieval for Privacy-Preserving RAG”

Why it matters

The work demonstrates a viable path to non-interactive privacy-preserving RAG, but the remaining high latency and reconstruction cost limit immediate deployment in latency-sensitive applications.

Summary

The paper shows that threshold-based encrypted retrieval matches plaintext and ranking-based encrypted baselines in recall and token accuracy while cutting end-to-end latency from 16579.9 seconds to 1051.8 seconds per query. Experiments on public benchmarks (MS MARCO, Natural Questions, HotpotQA, FiQA) with 50 queries and up to 1000 candidate documents per query compare against plaintext and ranking-based encrypted methods. Retrieval quality stays stable as corpus size grows, but latency remains over a thousand seconds and token decryption/reconstruction dominates runtime. The authors note that plaintext retrieval is still much faster and document recovery is a major bottleneck.

What they found 4

  1. Threshold-based encrypted retrieval achieves the same retrieval and reconstruction accuracy as plaintext and ranking-based encrypted baselines

    “the proposed thresholdbased method achieves the same retrieval and reconstruction accuracy as the plaintext and rankingbased encrypted baselines on this evaluation setting.”

  2. Latency is reduced from 16579.9 s to 1051.8 s per query compared with ranking-based encrypted retrieval

    “decreasing runtime from 16579.9 seconds to 1051.8 seconds.”

  3. Retrieval quality (recall and token accuracy) remains unchanged as candidate set size grows to 1000 documents

    “retrieval quality remains stable as the corpus size increases, with recall and token accuracy unchanged across all tested settings.”

  4. Higher thresholds reduce selected documents to one on average but halve recall to 0.5

    “In contrast, a higher threshold reduces the average number of selected documents to one, but also lowers recall to 0.5, indicating that some relevant documents are filtered out.”

Caveats 3

  • Although plaintext retrieval remains much faster, the proposed method provides a practical non-interactive encrypted alternative while preserving full reconstruction quality in our experiments.
  • Token decryption and token reconstruction together contribute nearly half of the overall cost, indicating that document recovery remains a major bottleneck in the end-to-end pipeline.
  • Because homomorphic computation remains expensive, this controlled construction allows us to systematically evaluate retrieval effectiveness and runtime under encrypted settings.

What’s new here 3

  • Uses a threshold-based selection instead of top-k ranking to achieve linear-time encrypted retrieval
  • Implements fully non-interactive encrypted similarity evaluation with CKKS
  • Introduces a precision-stable mask polarization method for accurate token reconstruction from approximate homomorphic results