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

并行度量跳表与最近邻搜索

Parallel Metric Skip Lists and Nearest Neighbor Search

University of California, Riverside(加州大学河滨分校);Massachusetts Institute of Technology(麻省理工学院)

Xiangyun Ding, Rohin Garg, Yan Gu, Yihan Sun

AI总结:

提出一种并行且工作高效的度量跳表构建算法,在常数扩张率假设下实现期望工作O(n log n)和多对数跨度,并应用于双色最近点对、密度聚类和k-NN图构建等问题。

摘要:

度量跳表是一种数据结构,旨在度量空间中高效地进行最近邻和$k$-最近邻搜索。对于许多具有合理分布(特别是具有常数扩张率)的真实世界数据集,它支持$ ilde{O}(n)$构建时间和$O(k\log n)$查询时间,其中$n$是输入规模,$k$是查询中的最近邻数量。值得注意的是,与其他方法不同,它不需要有界纵横比,从而对输入数据分布更加灵活。然而,据我们所知,其原始构建固有的顺序性质阻碍了任何现有并行算法。在本文中,我们提出了高度并行且工作高效的算法来构建度量跳表。在常数扩张率假设下,我们的方法实现了期望工作$O(n \log n)$和高概率的多对数跨度。我们的设计基于新颖的算法见解,改进了顺序过程,实现了分治策略,从而在保持效率的同时促进并行性。利用我们的算法,我们还可以为使用最近邻作为构建块的相关应用提供改进的界限,包括双色最近点对(BCP)、基于密度的聚类和$k$-NN图构建等。据我们所知,这些结果中的许多代表了首个仅依赖常数扩张率假设同时实现工作高效和多对数跨度的解决方案。

英文摘要:

The metric skip-list is a data structure designed for efficient nearest and $k$-nearest neighbor search in metric spaces. For many real-world datasets with reasonable distributions - specifically, those with a constant expansion rate - it supports $\tilde{O}(n)$ construction time and $O(k\log n)$ query time, where $n$ is the input size and $k$ is the number of nearest neighbors in queries. Notably, unlike alternative approaches, it does not require a bounded aspect ratio, making it more flexible for input data distributions. However, the inherently sequential nature of its original construction has, to our knowledge, precluded any existing parallel algorithm. In this paper, we present highly parallel and work-efficient algorithms for constructing metric skip lists. Under the assumption of a constant expansion rate, our approach achieves an expected work of $O(n \log n)$ and a polylogarithmic span with high probability. Our design is based on novel algorithmic insights that improves the sequential procedure, enabling a divide-and-conquer strategy that facilitates parallelism while maintaining efficiency. With our algorithms, we can also support improved bounds for relevant applications using nearest neighbor as building blocks, including bichromatic closest pair (BCP), density-based clustering, and $k$-NN graph construction, among others. To our knowledge, many of these results represent the first solutions to achieve both work efficiency and polylogarithmic span, relying solely on the assumption of a constant expansion rate.

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

↑