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

基于熵的高维最近邻搜索

Entropy based Nearest Neighbor Search in High Dimensions

Rina Panigrahy

摘要:

本文研究了高维空间中查询点的近似最近邻问题,重点研究了欧氏空间中的近似最近邻问题。早期的方法使用局部保持哈希函数(倾向于将附近的点映射到相同的值)来构造多个哈希表,以确保查询点在至少一个表中与其最近的邻居哈希到相同的桶。我们的方法是不同的-我们使用一个(或几个)哈希表,并在查询点的邻域中散列几个随机选择的点,表明其中至少有一个将散列到包含其最近邻居的桶。我们表明,在查询点$q$所需的邻域中的随机选择的点的数量取决于熵的散列值$h(p)$的随机点$p$在相同的距离从$q$在其最近的邻居,给定$q$和局部保持散列函数$h$随机选择的哈希家庭。准确地说,我们证明了如果熵$I(h(p)|q,h) = M$和$g$是两个远离点将散列到同一桶的概率的界限,那么我们可以在$O(n^ρ)$时间和近线性$\tilde O(n)$空间中找到近似最近邻,其中$ρ= M/\log(1/g)$。或者,我们可以构建一个大小为$\tilde O(n^{1/(1-ρ)})$的数据结构,以在$\tilde O(d)$时间内回答查询。通过将这种分析应用于局部保持哈希函数,并调整参数,我们表明$c$最近邻可以在时间$\tilde O(n^ρ)$和线性空间附近计算,其中$ρ\approx 2.06/c$作为$c$变大。

英文摘要:

In this paper we study the problem of finding the approximate nearest neighbor of a query point in the high dimensional space, focusing on the Euclidean space. The earlier approaches use locality-preserving hash functions (that tend to map nearby points to the same value) to construct several hash tables to ensure that the query point hashes to the same bucket as its nearest neighbor in at least one table. Our approach is different -- we use one (or a few) hash table and hash several randomly chosen points in the neighborhood of the query point showing that at least one of them will hash to the bucket containing its nearest neighbor. We show that the number of randomly chosen points in the neighborhood of the query point $q$ required depends on the entropy of the hash value $h(p)$ of a random point $p$ at the same distance from $q$ at its nearest neighbor, given $q$ and the locality preserving hash function $h$ chosen randomly from the hash family. Precisely, we show that if the entropy $I(h(p)|q,h) = M$ and $g$ is a bound on the probability that two far-off points will hash to the same bucket, then we can find the approximate nearest neighbor in $O(n^ρ)$ time and near linear $\tilde O(n)$ space where $ρ= M/\log(1/g)$. Alternatively we can build a data structure of size $\tilde O(n^{1/(1-ρ)})$ to answer queries in $\tilde O(d)$ time. By applying this analysis to the locality preserving hash functions in and adjusting the parameters we show that the $c$ nearest neighbor can be computed in time $\tilde O(n^ρ)$ and near linear space where $ρ\approx 2.06/c$ as $c$ becomes large.

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

↑