松弛随机嵌入和高维近似最近邻
Randomized embeddings with slack, and high-dimensional Approximate Nearest Neighbor
摘要:
高维欧氏空间中的近似最近邻问题($ε$ -ANN)主要由局部敏感哈希(LSH)来解决,LSH在维数上具有多项式依赖性,查询时间是次线性的,但空间要求是次二次的。在本文中,我们引入了一个新的定义的“低质量”嵌入的度量空间。它要求对于某个查询点$q$,在目标空间中的$k>1$近似最近邻的原像之间存在近似最近邻。集中在欧几里得空间,我们采用随机投影,以减少原来的问题,在一个空间的维度成反比的$k$。$k$近似最近邻可以通过诸如BBD树的数据结构来有效地检索。同样的方法适用于计算近似近邻的问题,在这里我们得到一个数据结构,需要线性空间,并在$O(d n^ρ)$查询时间,为$ρ\approx 1-ε^2/\log(1/ε)$。这直接意味着$ε$ -ANN的解决方案,同时在查询时间上实现比基于BBD树的方法更好的指数。通过将我们的方法与$r$ -网相结合,在$\ell_2$的子集加倍的情况下得到了更好的界。我们实现了我们的方法在C++中,目前的实验结果的维度$500$和$10^6$点,这表明性能优于预测的分析。此外,我们比较我们的人工神经网络的方法E2 LSH,实现LSH,我们表明,每种方法的理论优势反映在他们的实际表现。
英文摘要:
The approximate nearest neighbor problem ($ε$-ANN) in high dimensional Euclidean space has been mainly addressed by Locality Sensitive Hashing (LSH), which has polynomial dependence in the dimension, sublinear query time, but subquadratic space requirement. In this paper, we introduce a new definition of "low-quality" embeddings for metric spaces. It requires that, for some query point $q$, there exists an approximate nearest neighbor among the pre-images of the $k>1$ approximate nearest neighbors in the target space. Focusing on Euclidean spaces, we employ random projections in order to reduce the original problem to one in a space of dimension inversely proportional to $k$. The $k$ approximate nearest neighbors can be efficiently retrieved by a data structure such as BBD-trees. The same approach is applied to the problem of computing an approximate near neighbor, where we obtain a data structure requiring linear space, and query time in $O(d n^ρ)$, for $ρ\approx 1-ε^2/\log(1/ε)$. This directly implies a solution for $ε$-ANN, while achieving a better exponent in the query time than the method based on BBD-trees. Better bounds are obtained in the case of doubling subsets of $\ell_2$, by combining our method with $r$-nets. We implement our method in C++, and present experimental results in dimension up to $500$ and $10^6$ points, which show that performance is better than predicted by the analysis. In addition, we compare our ANN approach to E2LSH, which implements LSH, and we show that the theoretical advantages of each method are reflected on their actual performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。