English

Parallel Hierarchical Agglomerative Clustering in Low Dimensions

Data Structures and Algorithms 2025-07-29 v1 Computational Complexity Distributed, Parallel, and Cluster Computing

Abstract

Hierarchical Agglomerative Clustering (HAC) is an extensively studied and widely used method for hierarchical clustering in Rk\mathbb{R}^k based on repeatedly merging the closest pair of clusters according to an input linkage function dd. Highly parallel (i.e., NC) algorithms are known for (1+ϵ)(1+\epsilon)-approximate HAC (where near-minimum rather than minimum pairs are merged) for certain linkage functions that monotonically increase as merges are performed. However, no such algorithms are known for many important but non-monotone linkage functions such as centroid and Ward's linkage. In this work, we show that a general class of non-monotone linkage functions -- which include centroid and Ward's distance -- admit efficient NC algorithms for (1+ϵ)(1+\epsilon)-approximate HAC in low dimensions. Our algorithms are based on a structural result which may be of independent interest: the height of the hierarchy resulting from any constant-approximate HAC on nn points for this class of linkage functions is at most poly(logn)\operatorname{poly}(\log n) as long as k=O(loglogn/logloglogn)k = O(\log \log n / \log \log \log n). Complementing our upper bounds, we show that NC algorithms for HAC with these linkage functions in \emph{arbitrary} dimensions are unlikely to exist by showing that HAC is CC-hard when dd is centroid distance and k=nk = n.

Keywords

Cite

@article{arxiv.2507.20047,
  title  = {Parallel Hierarchical Agglomerative Clustering in Low Dimensions},
  author = {MohammadHossein Bateni and Laxman Dhulipala and Willem Fletcher and Kishen N Gowda and D Ellis Hershkowitz and Rajesh Jayaram and Jakub Łącki},
  journal= {arXiv preprint arXiv:2507.20047},
  year   = {2025}
}
R2 v1 2026-07-01T04:20:25.873Z