ParChain: A Framework for Parallel Hierarchical Agglomerative Clustering using Nearest-Neighbor Chain
Shangdi Yu, Yiqiu Wang, Yan Gu, Laxman Dhulipala, Julian Shun
摘要
This paper studies the hierarchical clustering problem, where the goal is to produce a dendrogram that represents clusters at varying scales of a data set. We propose the ParChain framework for designing parallel hierarchical agglomerative clustering (HAC) algorithms, and using the framework we obtain novel parallel algorithms for the complete linkage, average linkage, and Ward's linkage criteria. Compared to most previous parallel HAC algorithms, which require quadratic memory, our new algorithms require only linear memory, and are scalable to large data sets. ParChain is based on our parallelization of the nearest-neighbor chain algorithm, and enables multiple clusters to be merged on every round. We introduce two key optimizations that are critical for efficiency: a range query optimization that reduces the number of distance computations required when finding nearest neighbors of clusters, and a caching optimization that stores a subset of previously computed distances, which are likely to be reused. Experimentally, we show that our highly-optimized implementations using 48 cores with two-way hyper-threading achieve 5.8-110.1x speedup over state-of-the-art parallel HAC algorithms and achieve 13.75-54.23x self-relative speedup. Compared to state-ofthe-art algorithms, our algorithms require up to 237.3x less space. Our algorithms are able to scale to data set sizes with tens of millions of points, which existing algorithms are not able to handle. 1 We use the ID of the lexicographically first point in each cluster as the cluster's ID.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper5
- Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic DepthLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab Mirrokni 等NeurIPS 2022 · 被引用 24 次
- TeraHAC: Hierarchical Agglomerative Clustering of Trillion-Edge GraphsLaxman Dhulipala, Jakub Lacki, Jason Lee, Vahab MirrokniSIGMOD 2024 · 被引用 11 次
- Efficient Centroid-Linkage ClusteringMohammad Hossein Bateni, Laxman Dhulipala, Willem Fletcher, Kishen N. Gowda 等NeurIPS 2024 · 被引用 5 次
- Parallel Filtered Graphs for Hierarchical ClusteringShangdi Yu, Julian ShunICDE 2023 · 被引用 4 次
- On the cohesion and separability of average-link for hierarchical agglomerative clusteringEduardo Laber, Miguel BatistaNeurIPS 2024 · 被引用 2 次
它引用的顶会 Paper3
- ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity AlgorithmsLaxman Dhulipala, Changwan Hong, Julian ShunVLDB 2021 · 被引用 41 次
- Fast Parallel Algorithms for Euclidean Minimum Spanning Tree and Hierarchical Spatial ClusteringYiqiu Wang, Shangdi Yu, Yan Gu, Julian ShunSIGMOD 2021 · 被引用 34 次
- Hierarchical Agglomerative Graph Clustering in Nearly-Linear TimeLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab S. Mirrokni 等ICML 2021 · 被引用 30 次
相关 Paper
- PACk: An Efficient Partition-based Distributed Agglomerative Hierarchical Clustering Algorithm for DeduplicationYue Wang, Vivek R. Narasayya, Yeye He, Surajit ChaudhuriVLDB 2022 · 被引用 7 次
- Objective-Based Hierarchical Clustering of Deep Embedding VectorsStanislav Naumov, Grigory Yaroslavtsev, Dmitrii AvdiukhinAAAI 2021 · 被引用 29 次
- Streaming Hierarchical Clustering Based on Point-Set KernelXin Han, Ye Zhu, Kai Ming Ting, De-Chuan Zhan 等KDD 2022 · 被引用 10 次
- Parallel and Efficient Hierarchical k-Median ClusteringVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler 等NeurIPS 2021 · 被引用 9 次
- Sublinear Algorithms for Hierarchical ClusteringArpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh PatilNeurIPS 2022 · 被引用 12 次
