Paper 2026/2262
NOMOS: Secure Non-Interactive $k$NN under CKKS
Abstract
The $k$-nearest neighbor ($k$NN) algorithm is a core primitive for similarity search over sensitive data, but evaluating $k$NN under fully homomorphic encryption remains expensive because it requires distance computation, encrypted ranking, and top-$k$ extraction. CKKS is attractive for this setting because it natively supports packed approximate arithmetic, yet existing CKKS-based systems such as Engorgio (USENIX Security 2025) incur high overhead when used for reranking candidate sets. We present NOMOS, an encrypted $k$NN protocol for candidate sets that targets the ranking and top-$k$ extraction bottleneck. NOMOS builds on Mazzone et al.'s matrix-based ranking method (USENIX Security 2025), but introduces a gap-amplified sign approximation that focuses precision on near-zero distance gaps, where $k$NN rank decisions are most sensitive. NOMOS integrates this primitive into a complete encrypted $k$NN pipeline, using slot-index alignment and ReLU-based top-$k$ extraction to avoid full sorting. For large databases, offline k-means preprocessing forms fixed-capacity candidate sets, allowing NOMOS to avoid global top-$k$ extraction and reduce sign-approximation calls from quadratic global growth to near-linear clustered scaling. With these techniques, NOMOS outperforms state-of-the-art encrypted ranking and top-$k$ baselines. Across the Mazzone-style ranking benchmark and candidate-set workloads compared with Engorgio, NOMOS reduces latency by nearly $8\times$ and up to $828\times$, respectively. On the real-world SIFT dataset, NOMOS achieves $100\%$ top-1 and top-8 retrieval accuracy on evaluated candidate sets, showing consistent retrieval quality on real data.
Metadata
- Available format(s)
-
PDF
- Category
- Applications
- Publication info
- Preprint.
- Keywords
- fully homomorphic encryptionCKKSprivate kNN searchencrypted rankingtop-k selectionsign approximation
- Contact author(s)
- lsh0126 @ nudt edu cn
- History
- 2026-09-30: approved
- 2026-09-29: received
- See all versions
- Short URL
- https://ia.cr/2026/2262
- License
-
CC BY-NC-ND
BibTeX
@misc{cryptoeprint:2026/2262,
author = {Shihao Li and Wenhao Wang and Xiaomei Tang and Jian Liu and Rongmao Chen and Lu Li and zhigang chen and Guangfu Sun},
title = {{NOMOS}: Secure Non-Interactive $k${NN} under {CKKS}},
howpublished = {Cryptology {ePrint} Archive, Paper 2026/2262},
year = {2026},
url = {https://eprint.iacr.org/2026/2262}
}