PPPQ-ANN builds databases in under 2 hours and serves >50 queries per second with privacy
The proposed hybrid FHE-TEE framework achieves sub-2-hour database generation and over 50 QPS while preserving vector privacy
Security & privacy arXiv 20 Apr 2026 Method Prototype evidence
Published as “Privacy-Preserving Product-Quantized Approximate Nearest Neighbor Search Framework for Large-scale Datasets via A Hybrid of Fully Homomorphic Encryption and Trusted Execution Environment”
Why it matters
The approach makes privacy-preserving nearest-neighbor services feasible for real-world, large-scale applications such as medical or financial data retrieval.
Summary
PPPQ-ANN can retrieve nearest neighbors with Recall@10 above 90% while serving more than 50 queries per second on million-scale datasets, and it builds the encrypted database in under 2 hours. The paper demonstrates these results on public benchmarks (SIFT, GIST, GloVe) using a hybrid of CKKS-based FHE and a Trusted Execution Environment with optimized product-quantization packing. Evidence comes from experimental tables showing recall, throughput, and processing times, but performance varies widely with parameter choices.
What they found 4
- Recall@10 exceeds 90% on all evaluated datasets
“Recall@10 for all datasets was higher than 90, and these results show PPPQ-ANN can retrieve nearest neighbors.”
- Server-side query throughput surpasses 50 QPS under favorable parameters
“Especially, PPPQ-ANN achieves more than 50 QPS when the multiplicative depth is 1, ds = 1, and NW OP = 1 without effect of exact dimension d.”
- Database generation completes in roughly two hours for million-scale data
“the database generation process for PPPQANN can be constructed in approximately 2 hours of computation for million-scale datasets.”
- The framework offers multi-layered security beyond standalone FHE or TEE
“PPPQ-ANN provides multi-layered security beyond standalone FHE or TEE.”
Caveats 5
- 44.0
- 30.0
- Finally, PPPQ-ANN has a risk of codebook leakage.
- Additionally, this paper does not address attacks based on access patterns in the search process.
- However, TEE cannot provide complete privacy-preserving processes.
What’s new here 4
- Combines CKKS-based fully homomorphic encryption with a TEE to protect both search and database generation.
- Applies product quantization with custom ciphertext packing to drastically cut FHE computation and network traffic.
- Provides a complete end-to-end privacy-preserving ANN pipeline, including secure codebook generation.
- Achieves practical throughput (>50 QPS) on million-scale datasets, a speedup over prior FHE-only approaches.