Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time
Laxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab S. Mirrokni, Jessica Shi
Abstract
We study the widely used hierarchical agglomerative clustering (HAC) algorithm on edge-weighted graphs. We define an algorithmic framework for hierarchical agglomerative graph clustering that provides the first efficient time exact algorithms for classic linkage measures, such as complete- and WPGMA-linkage, as well as other measures. Furthermore, for average-linkage, arguably the most popular variant of HAC, we provide an algorithm that runs in time. For this variant, this is the first exact algorithm that runs in subquadratic time, as long as for some constant . We complement this result with a simple -close approximation algorithm for average-linkage in our framework that runs in time. As an application of our algorithms, we consider clustering points in a metric space by first using -NN to generate a graph from the point set, and then running our algorithms on the resulting weighted graph. We validate the performance of our algorithms on publicly available datasets, and show that our approach can speed up clustering of point datasets by a factor of 20.7--76.5x.
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.
11 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
- Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic Depth 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 Poly-Logarithmic Depth
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge Graphs cites ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain
Cited by top-tier papers11
- Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic DepthLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab Mirrokni et al.NeurIPS 2022 · 24 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
- Sublinear Algorithms for Hierarchical ClusteringArpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh PatilNeurIPS 2022 · 12 citations
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge GraphsLaxman Dhulipala, Jakub Lacki, Jason Lee, Vahab MirrokniSIGMOD 2024 · 11 citations
- Stars: Tera-Scale Graph Building for Clustering and LearningCJ Carey, Jonathan Halcrow, Rajesh Jayaram, Vahab Mirrokni et al.NeurIPS 2022 · 8 citations
Builds on1
Related papers
- Efficient Centroid-Linkage ClusteringMohammad Hossein Bateni, Laxman Dhulipala, Willem Fletcher, Kishen N. Gowda et al.NeurIPS 2024 · 5 citations
- Nearly-Optimal Hierarchical Clustering for Well-Clustered GraphsSteinar Laenen, Bogdan-Adrian Manghiuc, He SunICML 2023 · 8 citations
- Approximate Forest Completion and Learning-Augmented Algorithms for Metric Minimum Spanning TreesNate Veldt, Thomas Stanley, Benjamin W. Priest, Trevor Steil et al.ICML 2025
- Fast and Simple Spectral Clustering in Theory and PracticePeter MacgregorNeurIPS 2023 · 12 citations
- On the cohesion and separability of average-link for hierarchical agglomerative clusteringEduardo Laber, Miguel BatistaNeurIPS 2024 · 2 citations
