基于局部敏感过滤的时空折衷相似性搜索框架
A Framework for Similarity Search with Space-Time Tradeoffs using Locality-Sensitive Filtering
摘要:
我们提出了一个框架,基于局部敏感过滤(LSF)的相似性搜索,推广的Indyk-Motwani(STOC 1998)局部敏感哈希(LSH)框架,以支持时空权衡。给定一族过滤器,定义为具有某些局部敏感性属性的空间子集对上的分布,我们可以在$d$维空间中解决具有查询时间$dn^{ρ_q+o(1)}$、更新时间$dn^{ρ_u+o(1)}$和空间使用$dn + n^{1 + ρ_u + o(1)}$的$n$点数据集的近似近邻问题。空时折衷与查询时间和更新时间之间的折衷有关,由过滤器族确定的指数$ρ_q, ρ_u$控制。Becker等人(SODA 2016)引入了局部敏感过滤,以及在查询时间和空间之间产生单一,平衡,权衡的框架,进一步依赖于过滤器评估算法的有效预言的假设。我们扩展了LSF框架,以支持时空权衡,并通过现有技术的组合,我们删除了预言机的假设。在Laarhoven(arXiv 2015)的单位球过滤器族的基础上,我们使用Rahimi & Recht(NIPS 2007)的内核嵌入技术来显示$0 < s \leq 2$的$\ell_s^d$ -空间中的$(r,cr)$-近邻问题的解决方案,其中查询和更新指数$ρ_q=\frac{c^s(1+λ)^2}{(c^s+λ)^2}$和$ρ_u=\frac{c^s(1-λ)^2}{(c^s+λ)^2}$,其中$λ\in[-1,1]$是权衡参数。这个结果改进了Kapralov(PODS 2015)的时空权衡,并且在平衡权衡的情况下被证明是最优的。最后,我们显示了一个下界的时空权衡的单位球,匹配Laarhoven的和我们自己的上限的情况下,随机数据。
英文摘要:
We present a framework for similarity search based on Locality-Sensitive Filtering (LSF), generalizing the Indyk-Motwani (STOC 1998) Locality-Sensitive Hashing (LSH) framework to support space-time tradeoffs. Given a family of filters, defined as a distribution over pairs of subsets of space with certain locality-sensitivity properties, we can solve the approximate near neighbor problem in $d$-dimensional space for an $n$-point data set with query time $dn^{ρ_q+o(1)}$, update time $dn^{ρ_u+o(1)}$, and space usage $dn + n^{1 + ρ_u + o(1)}$. The space-time tradeoff is tied to the tradeoff between query time and update time, controlled by the exponents $ρ_q, ρ_u$ that are determined by the filter family. Locality-sensitive filtering was introduced by Becker et al. (SODA 2016) together with a framework yielding a single, balanced, tradeoff between query time and space, further relying on the assumption of an efficient oracle for the filter evaluation algorithm. We extend the LSF framework to support space-time tradeoffs and through a combination of existing techniques we remove the oracle assumption. Building on a filter family for the unit sphere by Laarhoven (arXiv 2015) we use a kernel embedding technique by Rahimi & Recht (NIPS 2007) to show a solution to the $(r,cr)$-near neighbor problem in $\ell_s^d$-space for $0 < s \leq 2$ with query and update exponents $ρ_q=\frac{c^s(1+λ)^2}{(c^s+λ)^2}$ and $ρ_u=\frac{c^s(1-λ)^2}{(c^s+λ)^2}$ where $λ\in[-1,1]$ is a tradeoff parameter. This result improves upon the space-time tradeoff of Kapralov (PODS 2015) and is shown to be optimal in the case of a balanced tradeoff. Finally, we show a lower bound for the space-time tradeoff on the unit sphere that matches Laarhoven's and our own upper bound in the case of random data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。