arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2002.04870cs.DS
收藏

关于k-近邻问题的I/O复杂性

On the I/O complexity of the k-nearest neighbor problem

Mayank Goswami, Riko Jacob, Rasmus Pagh

摘要:

我们考虑静态,外部内存索引的精确和近似版本的$k$ -最近邻($k$ -NN)的问题,并显示新的下界下一个标准的不可分割性假设:-多项式空间索引计划高维$k$ -NN在汉明空间不能利用块传输:$Ω(k)$块读取需要回答查询。- 对于$\ell_\infty$度量,对于$c \in (1, 3)$,即使我们允许返回$c$ -appoximate最近邻,下限也保持不变。- 对$c < 3$的限制是必要的:对于每个度量,在Hellerstein等人的可索引性模型中存在索引方案。使用空间$O(kn)$,其中$n$是点的数量,其可以使用最佳的$\lceil k/B\rceil$ I/O来检索$k$ 3-近似最近邻。- 对于特定的度量,具有更好的近似因子的数据结构是可能的。对于汉明空间中的$k$ -NN和每个近似因子$c>1$,存在多项式空间数据结构,其返回$k$ $c$ -$\lceil k/B\rceil$ I/O中的近似最近邻。为了显示这些下界,我们开发了两种新技术:第一、为了处理近似算法在决定返回哪个结果集方面有更多的自由,我们开发了一个宽松版本的$λ$ -Hellerstein等人的工作负载集技术。该技术允许我们显示在$d\geq n$维度中保持的下限。为了将下界扩展到$d = O(k \log(n/k))$维,我们开发了一种新的确定性降维技术,可能是独立的兴趣。

英文摘要:

We consider static, external memory indexes for exact and approximate versions of the $k$-nearest neighbor ($k$-NN) problem, and show new lower bounds under a standard indivisibility assumption: - Polynomial space indexing schemes for high-dimensional $k$-NN in Hamming space cannot take advantage of block transfers: $Ω(k)$ block reads are needed to to answer a query. - For the $\ell_\infty$ metric the lower bound holds even if we allow $c$-appoximate nearest neighbors to be returned, for $c \in (1, 3)$. - The restriction to $c < 3$ is necessary: For every metric there exists an indexing scheme in the indexability model of Hellerstein et al.~using space $O(kn)$, where $n$ is the number of points, that can retrieve $k$ 3-approximate nearest neighbors using $\lceil k/B\rceil$ I/Os, which is optimal. - For specific metrics, data structures with better approximation factors are possible. For $k$-NN in Hamming space and every approximation factor $c>1$ there exists a polynomial space data structure that returns $k$ $c$-approximate nearest neighbors in $\lceil k/B\rceil$ I/Os. To show these lower bounds we develop two new techniques: First, to handle that approximation algorithms have more freedom in deciding which result set to return we develop a relaxed version of the $λ$-set workload technique of Hellerstein et al. This technique allows us to show lower bounds that hold in $d\geq n$ dimensions. To extend the lower bounds down to $d = O(k \log(n/k))$ dimensions, we develop a new deterministic dimension reduction technique that may be of independent interest.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑