Sublinear Algorithms for Hierarchical Clustering
Arpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh Patil
Abstract
Hierarchical clustering over graphs is a fundamental task in data mining and machine learning with applications in many domains including phylogenetics, social network analysis, and information retrieval. Specifically, we consider the recently popularized objective function for hierarchical clustering due to Dasgupta [1], namely, minimum cost hierarchical partitioning. Previous algorithms for (approximately) minimizing this objective function require linear time/space complexity. In many applications the underlying graph can be massive in size making it computationally challenging to process the graph even using a linear time/space algorithm. As a result, there is a strong interest in designing algorithms that can perform global computation using only sublinear resources (space, time, and communication). The focus of this work is to study hierarchical clustering for massive graphs under three well-studied models of sublinear computation which focus on space, time, and communication, respectively, as the primary resources to optimize: (1) (dynamic) streaming model where edges are presented as a stream, (2) query model where the graph is queried using neighbor and degree queries, (3) massively parallel computation (MPC) model where the edges of the graph are partitioned over several machines connected via a communication channel. We design sublinear algorithms for hierarchical clustering in all three models above. At the heart of our algorithmic results is a view of the objective in terms of cuts in the graph, which allows us to use a relaxed notion of cut sparsifiers to do hierarchical clustering while introducing only a small distortion in the objective function. Our main algorithmic contributions are then to show how cut sparsifiers of the desired form can be efficiently constructed in the query model and the MPC model. We complement our algorithmic results by establishing nearly matching lower bounds that rule out the possibility of designing algorithms with better performance guarantees in each of these models.
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 3c228107-74a7-455f-a3b0-cbbb581ba84fCited by top-tier papers8
- Differentially Private Hierarchical Clustering with Provable Approximation GuaranteesJacob Imola, Alessandro Epasto, Mohammad Mahdian, Vincent Cohen-Addad et al.ICML 2023 · 10 citations
- Parallel Approximate Maximum Flows in Near-Linear Work and Polylogarithmic DepthArpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh Patil et al.SODA 2024 · 7 citations
- Correlation Clustering and (De)Sparsification: Graph Sketches Can Match Classical AlgorithmsSepehr Assadi, Sanjeev Khanna, Aaron PuttermanSTOC 2025 · 3 citations
- Learning Hierarchical Cluster Structure of Graphs in Sublinear TimeMichael Kapralov, Akash Kumar, Silvio Lattanzi, Aida MousavifarSODA 2023 · 2 citations
- Near-Optimal Linear Sketches and Fully-Dynamic Algorithms for Hypergraph Spectral SparsificationSanjeev Khanna, Huan Li, Aaron PuttermanSTOC 2025
Builds on3
- Hierarchical Agglomerative Graph Clustering in Nearly-Linear TimeLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab S. Mirrokni et al.ICML 2021 · 30 citations
- Hierarchical Clustering: O(1)-Approximation for Well-Clustered GraphsBogdan-Adrian Manghiuc, He SunNeurIPS 2021 · 11 citations
- Hierarchical Clustering of Data Streams: Scalable Algorithms and Approximation GuaranteesAnand Rajagopalan, Fabio Vitale, Danny Vainstein, Gui Citovsky et al.ICML 2021 · 9 citations
Related papers
- Nearly-Optimal Hierarchical Clustering for Well-Clustered GraphsSteinar Laenen, Bogdan-Adrian Manghiuc, He SunICML 2023 · 8 citations
- On the Price of Differential Privacy for Hierarchical ClusteringChengyuan Deng, Jie Gao, Jalaj Upadhyay, Chen Wang et al.ICLR 2025
- Parallel Batch-Dynamic Graphs: Algorithms and Lower BoundsLaxman Dhulipala, David Durfee, Janardhan Kulkarni, Richard Peng et al.SODA 2020 · 28 citations
- Correlation Clustering in Constant Many Parallel RoundsVincent Cohen-Addad, Silvio Lattanzi, Slobodan Mitrovic, Ashkan Norouzi-Fard et al.ICML 2021 · 51 citations
- New Parallel and Streaming Algorithms for Directed Densest SubgraphSlobodan Mitrovic, Theodore Pan, Mahdi Qaempanah, Mohammad Amin RaeisiNeurIPS 2025 · 1 citation
