同时最近邻搜索
Simultaneous Nearest Neighbor Search
摘要:
受计算机视觉和数据库应用的启发,我们引入并研究了同时最近邻搜索(SNN)问题。给定一组数据点,SNN的目标是设计一种数据结构,该数据结构在给定查询集合的情况下找到彼此兼容的接近点的集合。形式上,我们给出了$k$查询点$Q=q_1,\cdots,q_k$和具有$Q$中的顶点的兼容性图$G$,并且目标是返回数据点$p_1,\cdots,p_k$,该数据点最小化(i)从$q_i$到$p_i$的距离的加权和,以及(ii)在兼容性图$G$中的所有边$(i,j)$上,$p_i$和$p_j$之间的距离的加权和。这个问题有几个应用程序,其中一个想要返回一组一致的答案多个相关的查询。这推广了研究得很好的计算问题,包括NN,聚合NN和0-扩展问题。在本文中,我们提出并分析了以下两个步骤的方法来设计有效的数据结构SNN。在第一步中,对于每个查询点$q_i$,我们找到它的(近似)最近邻点$\hat{p}_i$ ;这可以使用现有的近似最近邻结构有效地完成。在第二步中,我们在集合$q_1,\cdots,q_k$和$\hat{p}_1,\cdots,\hat{p}_k$上解决离线优化问题;这可以有效地完成,因为$k$比$n$小得多。即使$\hat{p}_1,\cdots,\hat{p}_k$可能不会构成查询$q_1,\cdots,q_k$的最佳答案,我们表明,对于未加权的情况下,所得到的算法是$O(\log k/\log \log k)$ -近似。此外,我们表明,近似因子实际上可以减少到一个常数的兼容性图经常发生在实践中。最后,我们表明,上述方法提供的“经验近似因子”非常接近1。
英文摘要:
Motivated by applications in computer vision and databases, we introduce and study the Simultaneous Nearest Neighbor Search (SNN) problem. Given a set of data points, the goal of SNN is to design a data structure that, given a collection of queries, finds a collection of close points that are compatible with each other. Formally, we are given $k$ query points $Q=q_1,\cdots,q_k$, and a compatibility graph $G$ with vertices in $Q$, and the goal is to return data points $p_1,\cdots,p_k$ that minimize (i) the weighted sum of the distances from $q_i$ to $p_i$ and (ii) the weighted sum, over all edges $(i,j)$ in the compatibility graph $G$, of the distances between $p_i$ and $p_j$. The problem has several applications, where one wants to return a set of consistent answers to multiple related queries. This generalizes well-studied computational problems, including NN, Aggregate NN and the 0-extension problem. In this paper we propose and analyze the following general two-step method for designing efficient data structures for SNN. In the first step, for each query point $q_i$ we find its (approximate) nearest neighbor point $\hat{p}_i$; this can be done efficiently using existing approximate nearest neighbor structures. In the second step, we solve an off-line optimization problem over sets $q_1,\cdots,q_k$ and $\hat{p}_1,\cdots,\hat{p}_k$; this can be done efficiently given that $k$ is much smaller than $n$. Even though $\hat{p}_1,\cdots,\hat{p}_k$ might not constitute the optimal answers to queries $q_1,\cdots,q_k$, we show that, for the unweighted case, the resulting algorithm is $O(\log k/\log \log k)$-approximation. Also, we show that the approximation factor can be in fact reduced to a constant for compatibility graphs frequently occurring in practice. Finally, we show that the "empirical approximation factor" provided by the above approach is very close to 1.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。