通过核心集和草图在云上进行安全搜索
Secure Search on the Cloud via Coresets and Sketches
摘要:
\emph{Secure Search}是从数据库表(或任何未排序的数组)中检索与指定属性匹配的记录的问题,就像SQL SELECT查询一样,但数据库和查询都是加密的。安全搜索已经成为全同态加密(FHE)的实际应用的主要例子,始于Gentry的开创性工作;然而,据我们所知,迄今为止所有最先进的安全搜索算法都是通过$Ω(m)$的次数多项式实现的,用于$m$记录的数量,这在实践中通常太慢,即使对于中等大小的$m$。在这项工作中,我们提出了第一个算法的安全搜索,实现了一个多项式的次数多项式在$\log m$。我们在一个开源库中实现了我们的算法,该库基于Brakerski-Gentry-Vaikuntanthan的FHE方案的HELib实现,并在Amazon的EC2云上进行了实验。我们的实验表明,我们可以检索的第一个匹配的数据库中的数百万个条目在不到一个小时内使用一台机器;时间减少几乎线性的机器数量。我们的结果利用了一个新的范例,采用coresets和草图,这是现代数据摘要技术常见的计算几何和机器学习,为同态加密的效率提高。作为一个核心工具,我们设计了一个新的草图,返回第一个积极的条目在一个(不一定是稀疏的)数组;这个草图可能是独立的利益。
英文摘要:
\emph{Secure Search} is the problem of retrieving from a database table (or any unsorted array) the records matching specified attributes, as in SQL SELECT queries, but where the database and the query are encrypted. Secure search has been the leading example for practical applications of Fully Homomorphic Encryption (FHE) starting in Gentry's seminal work; however, to the best of our knowledge all state-of-the-art secure search algorithms to date are realized by a polynomial of degree $Ω(m)$ for $m$ the number of records, which is typically too slow in practice even for moderate size $m$. In this work we present the first algorithm for secure search that is realized by a polynomial of degree polynomial in $\log m$. We implemented our algorithm in an open source library based on HELib implementation for the Brakerski-Gentry-Vaikuntanthan's FHE scheme, and ran experiments on Amazon's EC2 cloud. Our experiments show that we can retrieve the first match in a database of millions of entries in less than an hour using a single machine; the time reduced almost linearly with the number of machines. Our result utilizes a new paradigm of employing coresets and sketches, which are modern data summarization techniques common in computational geometry and machine learning, for efficiency enhancement for homomorphic encryption. As a central tool we design a novel sketch that returns the first positive entry in a (not necessarily sparse) array; this sketch may be of independent interest.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。