Fast Parallel Algorithms for Euclidean Minimum Spanning Tree and Hierarchical Spatial Clustering
Yiqiu Wang, Shangdi Yu, Yan Gu, Julian Shun
Abstract
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 wellseparated 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-andconquer 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1634d2d8-eab4-42fc-8527-1f82542fc9a5Cited by top-tier papers6
- ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor ChainShangdi Yu, Yiqiu Wang, Yan Gu, Laxman Dhulipala et al.VLDB 2022 · 14 citations
- Parallel kd-tree with Batch UpdatesZiyang Men, Zheqi Shen, Yan Gu, Yihan SunSIGMOD 2025 · 9 citations
- Discovering and balancing fundamental cycles in large signed graphsGhadeer Alabandi, Jelena Tesic, Lucas Rusnak, Martin BurtscherSC 2021 · 9 citations
- Parallel Filtered Graphs for Hierarchical ClusteringShangdi Yu, Julian ShunICDE 2023 · 4 citations
- Better Learning-Augmented Spanning Tree Algorithms via Metric Forest CompletionNate Veldt, Thomas Stanley, Benjamin W Priest, Trevor Steil et al.ICLR 2026
Builds on1
Related papers
- BSP k-MeansSebastian Künzel, Daniel WeiskopfKDD 2026
- Massively Parallel Algorithms for High-Dimensional Euclidean Minimum Spanning TreeRajesh Jayaram, Vahab Mirrokni, Shyam Narayanan, Peilin ZhongSODA 2024 · 4 citations
- A High-Performance MST Implementation for GPUsAlex Fallin, Andres Gonzalez, Jarim Seo, Martin BurtscherSC 2023 · 3 citations
- Sublinear Algorithms for Hierarchical ClusteringArpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh PatilNeurIPS 2022 · 12 citations
- Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic DepthLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab Mirrokni et al.NeurIPS 2022 · 24 citations
