SANNS:扩展安全的近似k-最近邻搜索
SANNS: Scaling Up Secure Approximate k-Nearest Neighbors Search
摘要:
$k$ -最近邻搜索($k$ -NNS)是几种基于云的服务的支柱,例如推荐系统,人脸识别以及文本和图像的数据库搜索。在这些服务中,客户端将查询发送到云服务器并接收响应,在这种情况下,查询和响应被揭示给服务提供商。由于数据和/或隐私法的敏感性,在某些情况下,此类数据披露是不可接受的。在本文中,我们介绍了SANNS,一个系统的安全$k$ -NNS,保持客户端的查询和搜索结果保密。SANNS包括两个协议:一个优化的线性扫描和一个新的次线性时间聚类算法的基础上的协议。我们证明了这两个协议的安全性在标准的半诚实模型。该协议是建立在几个国家的最先进的密码原语,如基于格的加法同态加密,分布式不经意RAM,和乱码电路。我们提供了一些贡献,这些原语适用于其他安全计算任务。我们的两个协议都依赖于一个新的电路,用于从$n$数中选择近似的顶部$k$,该$n$数是从$O(n + k^2)$比较器构建的。我们已经实现了我们提出的系统,并在两种不同的计算环境中的四个数据集进行了广泛的实验结果,证明了超过$18-31\times$更快的响应时间相比,最佳实现的协议,从以前的工作。此外,SANNS是第一个扩展到1000万条目的数据库的工作,将限制提高了两个数量级以上。
英文摘要:
The $k$-Nearest Neighbor Search ($k$-NNS) is the backbone of several cloud-based services such as recommender systems, face recognition, and database search on text and images. In these services, the client sends the query to the cloud server and receives the response in which case the query and response are revealed to the service provider. Such data disclosures are unacceptable in several scenarios due to the sensitivity of data and/or privacy laws. In this paper, we introduce SANNS, a system for secure $k$-NNS that keeps client's query and the search result confidential. SANNS comprises two protocols: an optimized linear scan and a protocol based on a novel sublinear time clustering-based algorithm. We prove the security of both protocols in the standard semi-honest model. The protocols are built upon several state-of-the-art cryptographic primitives such as lattice-based additively homomorphic encryption, distributed oblivious RAM, and garbled circuits. We provide several contributions to each of these primitives which are applicable to other secure computation tasks. Both of our protocols rely on a new circuit for the approximate top-$k$ selection from $n$ numbers that is built from $O(n + k^2)$ comparators. We have implemented our proposed system and performed extensive experimental results on four datasets in two different computation environments, demonstrating more than $18-31\times$ faster response time compared to optimally implemented protocols from the prior work. Moreover, SANNS is the first work that scales to the database of 10 million entries, pushing the limit by more than two orders of magnitude.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。