arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.11335cs.DC
收藏

更快的并行精确密度峰值聚类

Faster Parallel Exact Density Peaks Clustering

Yihao Huang, Shangdi Yu, Julian Shun

AI总结:

针对精确密度峰值聚类(DPC)算法并行度低的问题,提出基于优先搜索kd树和Fenwick树的快速并行算法,在保持工作高效的同时显著降低并行时间复杂度,实验表明其相比现有算法取得显著加速。

摘要:

对多维点进行聚类是一项基础的数据挖掘任务,在许多领域都有应用,例如天文学、神经科学、生物信息学和计算机视觉。聚类算法的目标是将相似的对象分组在一起。基于密度的聚类是一种聚类方法,它将簇定义为点的密集区域。它的优势在于能够检测任意形状的簇,使其在许多应用中非常有用。在本文中,我们为 Density Peaks Clustering (DPC)(一种流行的基于密度的聚类版本)提出了快速并行算法。现有的精确 DPC 算法在理论和实践中都存在并行度低的问题,这限制了它们在大规模数据集上的应用。我们性能最佳的算法基于优先级搜索 kd-tree,对于包含 $n$ 个点的数据集,实现了 $O(\log n\log\log n)$ 的 span(并行时间复杂度)。我们的算法也是工作高效的,其工作复杂度与现有的最佳顺序精确 DPC 算法相匹配。此外,我们还提出了另一种基于 Fenwick tree 的 DPC 算法,该算法在其平均情况复杂度成立时所需的假设更少。我们提供了算法的优化实现,并通过大量实验评估了它们的性能。在一台具有双向超线程的 30 核机器上,我们发现我们最佳的算法与之前的最佳并行精确 DPC 算法相比实现了 10.8--13169 倍的加速。与最先进的并行近似 DPC 算法相比,我们最佳的算法在保持精确的同时实现了 1.5--4206 倍的加速。

英文摘要:

Clustering multidimensional points is a fundamental data mining task, with applications in many fields, such as astronomy, neuroscience, bioinformatics, and computer vision. The goal of clustering algorithms is to group similar objects together. Density-based clustering is a clustering approach that defines clusters as dense regions of points. It has the advantage of being able to detect clusters of arbitrary shapes, rendering it useful in many applications. In this paper, we propose fast parallel algorithms for Density Peaks Clustering (DPC), a popular version of density-based clustering. Existing exact DPC algorithms suffer from low parallelism both in theory and in practice, which limits their application to large-scale data sets. Our most performant algorithm, which is based on priority search kd-trees, achieves $O(\log n\log\log n)$ span (parallel time complexity) for a data set of $n$ points. Our algorithm is also work-efficient, achieving a work complexity matching the best existing sequential exact DPC algorithm. In addition, we present another DPC algorithm based on a Fenwick tree that makes fewer assumptions for its average-case complexity to hold. We provide optimized implementations of our algorithms and evaluate their performance via extensive experiments. On a 30-core machine with two-way hyperthreading, we find that our best algorithm achieves a 10.8--13169x speedup over the previous best parallel exact DPC algorithm. Compared to the state-of-the-art parallel approximate DPC algorithm, our best algorithm achieves a 1.5--4206x speedup, while being exact.

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

↑