Lune

ICML2021Top-tier venue

Hierarchical Agglomerative Graph Clustering in Nearly-Linear Time

Laxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab S. Mirrokni, Jessica Shi

2021Year
30Citations
11Top-tier citations

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 O~(m)\tilde{O}(m) 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 O~(nm)\tilde{O}(n\sqrt{m}) time. For this variant, this is the first exact algorithm that runs in subquadratic time, as long as m=n2−ϵm=n^{2-\epsilon} for some constant ϵ>0\epsilon>0. We complement this result with a simple ϵ\epsilon-close approximation algorithm for average-linkage in our framework that runs in O~(m)\tilde{O}(m) time. As an application of our algorithms, we consider clustering points in a metric space by first using kk-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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext d1e364fa-c409-41e3-81a0-999ed93e3617

Cited by top-tier papers11

Ask how each one uses it

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines