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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge Graphs cites PaC-trees: supporting parallel and compressed purely-functional collections
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge Graphs cites ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge Graphs cites Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time
- ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain cites ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity Algorithms
- ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain cites Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time
- Efficient Centroid-Linkage Clustering cites TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge Graphs
- Efficient Centroid-Linkage Clustering cites ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain
- Efficient Centroid-Linkage Clustering cites ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity Algorithms
- Efficient Centroid-Linkage Clustering cites Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time
Cited 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
- Nearly-Optimal Hierarchical Clustering for Well-Clustered GraphsSteinar Laenen, Bogdan-Adrian Manghiuc, He SunICML 2023 · 8 citations
- PACk: An Efficient Partition-based Distributed Agglomerative Hierarchical Clustering Algorithm for DeduplicationYue Wang, Vivek R. Narasayya, Yeye He, Surajit ChaudhuriVLDB 2022 · 7 citations
- Parallel and Efficient Hierarchical k-Median ClusteringVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler et al.NeurIPS 2021 · 9 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
