arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.01126cs.DScs.DBcs.DCcs.LG
收藏

欧氏最小生成树和层次空间聚类的快速并行算法

Fast Parallel Algorithms for Euclidean Minimum Spanning Tree and Hierarchical Spatial Clustering

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);UC Riverside(加州大学河滨分校)

Yiqiu Wang, Shangdi Yu, Yan Gu, Julian Shun

摘要:

本文提出了新的并行算法生成欧氏最小生成树和空间聚类层次(称为HDBSCAN $^*$)。我们的方法是基于生成一个良好分离的对分解,然后使用Kruskal的最小生成树算法和双色最近对计算。我们引入了一个新的概念,良好的分离,以减少工作和空间的HDBSCAN $^*$算法。我们还提出了一个并行近似算法的基础上,最近的顺序算法的GAN和陶。最后,我们给出了一个新的并行分治算法计算的树状图和可达性图,这是用于可视化集群的EMST和HDBSCAN $^*$出现的不同规模。我们表明,我们的算法在理论上是有效的:他们的工作(操作数)相匹配的顺序对应,和polylogarithmic深度(并行时间)。我们实现了我们的算法,并提出了一个内存优化,只需要一个子集的良好分离的对进行计算和物化,从而节省空间(高达10倍)和时间(高达8倍)。我们的实验上的大型现实世界和合成数据集使用48核机器表明,我们的最快的算法优于最好的串行算法的问题的11.13- 55.89倍,和现有的并行算法至少一个数量级。

英文摘要:

This paper presents new parallel algorithms for generating Euclidean minimum spanning trees and spatial clustering hierarchies (known as HDBSCAN$^*$). Our approach is based on generating a well-separated pair decomposition followed by using Kruskal's minimum spanning tree algorithm and bichromatic closest pair computations. We introduce a new notion of well-separation to reduce the work and space of our algorithm for HDBSCAN$^*$. We also present a parallel approximate algorithm for OPTICS based on a recent sequential algorithm by Gan and Tao. Finally, we give a new parallel divide-and-conquer algorithm for computing the dendrogram and reachability plots, which are used in visualizing clusters of different scale that arise for both EMST and HDBSCAN$^*$. We show that our algorithms are theoretically efficient: they have work (number of operations) matching their sequential counterparts, and polylogarithmic depth (parallel time). We implement our algorithms and propose a memory optimization that requires only a subset of well-separated pairs to be computed and materialized, leading to savings in both space (up to 10x) and time (up to 8x). Our experiments on large real-world and synthetic data sets using a 48-core machine show that our fastest algorithms outperform the best serial algorithms for the problems by 11.13--55.89x, and existing parallel algorithms by at least an order of magnitude.

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

↑