Scaling Hierarchical Agglomerative Clustering to Billion-sized Datasets
Baris Sumengen (1), Anand Rajagopalan (1), Gui Citovsky (1), David, Simcha (1), Olivier Bachem (1), Pradipta Mitra (1), Sam Blasiak (1), Mason, Liang (2), Sanjiv Kumar (1) ((1) Google Research, (2) 0x Labs)

TL;DR
This paper introduces RAC, a distributed algorithm for hierarchical agglomerative clustering that efficiently scales to billion-sized datasets by parallel merging, achieving exact solutions and significant speedups.
Contribution
The paper presents RAC, a novel distributed HAC algorithm with provable correctness and speedups, enabling clustering of billions of data points in under an hour.
Findings
RAC recovers the exact HAC solution.
Achieves significant parallel speedups under certain data assumptions.
Clusters billions of points in less than an hour.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Clustering Algorithms Research · Data Management and Algorithms · Data Stream Mining Techniques
