TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge Graphs
Not on the map. Why?
Abstract (arXiv)
We introduce TeraHAC, a (1+ε)-approximate hierarchical agglomerative clustering (HAC) algorithm which scales to trillion-edge graphs. Our algorithm is based on a new approach to computing (1+ε)-approximate HAC, which is a novel combination of the nearest-neighbor chain algorithm and the notion of (1+ε)-approximate HAC. Our approach allows us to partition the graph among multiple machines and make significant progress in computing the clustering within each partition before any communication with other partitions is needed. We evaluate TeraHAC on a number of real-world and synthetic graphs of up to 8 trillion edges. We show that TeraHAC requires over 100x fewer rounds compared to previously known approaches for computing HAC. It is up to 8.3x faster than SCC, the state-of-the-art distributed algorithm for hierarchical clustering, while achieving 1.16x higher quality. In fact, TeraHAC essentially retains the quality of the celebrated HAC algorithm while significantly improving the running time.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 Aug 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 4.
6 papers.
- 2024On the cohesion and separability of average-link for hierarchical agglomerative clusteringcited by 2
- 2024The ParClusterers Benchmark Suite (PCBS): A Fine-Grained Analysis of Scalable Graph Clusteringcited by 0
- 2026Chamfer-Linkage for Hierarchical Agglomerative Clusteringcited by 0
- 2026Beyond Convolution: Advancing Hypergraph Neural Networks with Hypergraph U-Netscited by 0
- 2026Efficient Recommendations via Graph Coarsening and Label Propagationcited by 0
- 2026Refining Heuristic-Based Bitcoin Address Clustering with Graph Neural Networkscited by 0
- 2026Refining Heuristic-Based Bitcoin Address Clustering with Graph Neural Networks1 Sep 2026
- 2026Efficient Recommendations via Graph Coarsening and Label Propagation24 Jul 2026
- 2026Beyond Convolution: Advancing Hypergraph Neural Networks with Hypergraph U-Nets8 Jun 2026
- 2026Chamfer-Linkage for Hierarchical Agglomerative Clustering11 Feb 2026
- 2024The ParClusterers Benchmark Suite (PCBS): A Fine-Grained Analysis of Scalable Graph Clustering15 Nov 2024
- 2024On the cohesion and separability of average-link for hierarchical agglomerative clustering7 Nov 2024