Scaling Hierarchical Agglomerative Clustering to Billion-sized Datasets
Not on the map. Why?
Abstract (arXiv)
Hierarchical Agglomerative Clustering (HAC) is one of the oldest but still most widely used clustering methods. However, HAC is notoriously hard to scale to large data sets as the underlying complexity is at least quadratic in the number of data points and many algorithms to solve HAC are inherently sequential. In this paper, we propose {Reciprocal Agglomerative Clustering (RAC)}, a distributed algorithm for HAC, that uses a novel strategy to efficiently merge clusters in parallel. We prove theoretically that RAC recovers the exact solution of HAC. Furthermore, under clusterability and balancedness assumption we show provable speedups in total runtime due to the parallelism. We also show that these speedups are achievable for certain probabilistic data models. In extensive experiments, we show that this parallelism is achieved on real world data sets and that the proposed RAC algorithm can recover the HAC hierarchy on billions of data points connected by trillions of edges in less than an hour.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 1 of its 21 references that are in the map. First posted on arXiv 25 May 2021.
Builds on
1 of 21 references.
References · 1
- 2013Local algorithms for interactive clusteringcited by 14
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 1; 2024: 2; 2025: 2; 2026: 1.
11 papers.
- 2021Batch Active Learning at Scalecited by 127
- 2022Bamboo: Building Mega-Scale Vision Dataset Continually with Human-Machine Synergycited by 20
- 2024Introducing the NewsPaLM MBR and QE Dataset: LLM-Generated High-Quality Parallel Data Outperforms Traditional Web-Crawled Datacited by 10
- 2022AICCA: AI-driven Cloud Classification Atlascited by 3
- 2025Analyzing Similarity Metrics for Data Selection for Language Model Pretrainingcited by 3
- 2022Sublinear Algorithms for Hierarchical Clusteringcited by 2
- 2023Hierarchical clustering with dot products recovers hidden tree structurecited by 2
- 2025Hierarchical Level-Wise News Article Clustering via Multilingual Matryoshka Embeddingscited by 2
- 2021ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chaincited by 1
- 2024Compressing Search with Language Modelscited by 1
- 2026SharedRequest: Privacy-Preserving Model-Agnostic Inference for Large Language Modelscited by 0
- 2026SharedRequest: Privacy-Preserving Model-Agnostic Inference for Large Language Models3 Jun 2026
- 2025Hierarchical Level-Wise News Article Clustering via Multilingual Matryoshka Embeddings30 May 2025
- 2025Analyzing Similarity Metrics for Data Selection for Language Model Pretraining4 Feb 2025
- 2024Introducing the NewsPaLM MBR and QE Dataset: LLM-Generated High-Quality Parallel Data Outperforms Traditional Web-Crawled Data13 Aug 2024
- 2024Compressing Search with Language Models24 Jun 2024
- 2023Hierarchical clustering with dot products recovers hidden tree structure24 May 2023
- 2022AICCA: AI-driven Cloud Classification Atlas29 Sep 2022
- 2022Sublinear Algorithms for Hierarchical Clustering15 Jun 2022
- 2022Bamboo: Building Mega-Scale Vision Dataset Continually with Human-Machine Synergy15 Mar 2022
- 2021Batch Active Learning at Scale29 Jul 2021
- 2021ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain8 Jun 2021