English

Massively Parallel Algorithms and Hardness for Single-Linkage Clustering Under $\ell_p$-Distances

Data Structures and Algorithms 2018-03-28 v2 Databases Distributed, Parallel, and Cluster Computing

Abstract

We present massively parallel (MPC) algorithms and hardness of approximation results for computing Single-Linkage Clustering of nn input dd-dimensional vectors under Hamming, 1,2\ell_1, \ell_2 and \ell_\infty distances. All our algorithms run in O(logn)O(\log n) rounds of MPC for any fixed dd and achieve (1+ϵ)(1+\epsilon)-approximation for all distances (except Hamming for which we show an exact algorithm). We also show constant-factor inapproximability results for o(logn)o(\log n)-round algorithms under standard MPC hardness assumptions (for sufficiently large dimension depending on the distance used). Efficiency of implementation of our algorithms in Apache Spark is demonstrated through experiments on a variety of datasets exhibiting speedups of several orders of magnitude.

Keywords

Cite

@article{arxiv.1710.01431,
  title  = {Massively Parallel Algorithms and Hardness for Single-Linkage Clustering Under $\ell_p$-Distances},
  author = {Grigory Yaroslavtsev and Adithya Vadapalli},
  journal= {arXiv preprint arXiv:1710.01431},
  year   = {2018}
}
R2 v1 2026-06-22T22:03:06.391Z