Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic Depth
Laxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab Mirrokni, Jessica Shi
Abstract
Obtaining scalable algorithms for hierarchical agglomerative clustering (HAC) is of significant interest due to the massive size of real-world datasets. At the same time, efficiently parallelizing HAC is difficult due to the seemingly sequential nature of the algorithm. In this paper, we address this issue and present ParHAC, the first efficient parallel HAC algorithm with sublinear depth for the widely-used averagelinkage function. In particular, we provide a (1 + )-approximation algorithm for this problem on m edge graphs using Õ(m) work and poly-logarithmic depth. Moreover, we show that obtaining similar bounds for exact average-linkage HAC is not possible under standard complexity-theoretic assumptions. We complement our theoretical results with a comprehensive study of the ParHAC algorithm in terms of its scalability, performance, and quality, and compare with several state-of-the-art sequential and parallel baselines. On a broad set of large publicly-available real-world datasets, we find that ParHAC obtains a 50.1x speedup on average over the best sequential baseline, while achieving quality similar to the exact HAC algorithm. We also show that ParHAC can cluster one of the largest publicly available graph datasets with 124 billion edges in a little over three hours using a commodity multicore machine. Preprint. Under review.
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 19733d4a-66c2-4d69-8951-db7ceb40c905Cited by top-tier papers8
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge GraphsLaxman Dhulipala, Jakub Lacki, Jason Lee, Vahab MirrokniSIGMOD 2024 · 11 citations
- Differentially Private Hierarchical Clustering with Provable Approximation GuaranteesJacob Imola, Alessandro Epasto, Mohammad Mahdian, Vincent Cohen-Addad et al.ICML 2023 · 10 citations
- Efficient Centroid-Linkage ClusteringMohammad Hossein Bateni, Laxman Dhulipala, Willem Fletcher, Kishen N. Gowda et al.NeurIPS 2024 · 5 citations
- Expected Probabilistic HierarchiesMarcel Kollovieh, Bertrand Charpentier, Daniel Zügner, Stephan GünnemannNeurIPS 2024 · 4 citations
- Decomposition of Deep Neural Networks into Modules via Mutation AnalysisAli GhanbariISSTA 2024 · 4 citations
Builds on6
- Scalable Community Detection via Parallel Correlation ClusteringJessica Shi, Laxman Dhulipala, David Eisenstat, Jakub Lacki et al.VLDB 2021 · 41 citations
- ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity AlgorithmsLaxman Dhulipala, Changwan Hong, Julian ShunVLDB 2021 · 41 citations
- Hierarchical Agglomerative Graph Clustering in Nearly-Linear TimeLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab S. Mirrokni et al.ICML 2021 · 30 citations
- PaC-trees: supporting parallel and compressed purely-functional collectionsLaxman Dhulipala, Guy E. Blelloch, Yan Gu, Yihan SunPLDI 2022 · 16 citations
- 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
Related papers
- PACk: An Efficient Partition-based Distributed Agglomerative Hierarchical Clustering Algorithm for DeduplicationYue Wang, Vivek R. Narasayya, Yeye He, Surajit ChaudhuriVLDB 2022 · 7 citations
- Nearly-Optimal Hierarchical Clustering for Well-Clustered GraphsSteinar Laenen, Bogdan-Adrian Manghiuc, He SunICML 2023 · 8 citations
- On the cohesion and separability of average-link for hierarchical agglomerative clusteringEduardo Laber, Miguel BatistaNeurIPS 2024 · 2 citations
- The ParClusterers Benchmark Suite (PCBS): A Fine-Grained Analysis of Scalable Graph ClusteringShangdi Yu, Jessica Shi, Jamison Meindl, David Eisenstat et al.VLDB 2025 · 1 citation
- Parallel Approximate Maximum Flows in Near-Linear Work and Polylogarithmic DepthArpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh Patil et al.SODA 2024 · 7 citations
