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 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 d1e364fa-c409-41e3-81a0-999ed93e3617Cited 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
