We present massively parallel (MPC) algorithms and hardness of approximation results for computing Single-Linkage Clustering of n input d-dimensional vectors under Hamming, ℓ1,ℓ2 and ℓ∞ distances. All our algorithms run in O(logn) rounds of MPC for any fixed d and achieve (1+ϵ)-approximation for all distances (except Hamming for which we show an exact algorithm). We also show constant-factor inapproximability results for o(logn)-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.
@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}
}