Fully Scalable MPC Algorithms for Clustering in High Dimension
Artur Czumaj, Guichen Gao, Shaofeng H. -C. Jiang, Robert Krauthgamer, Pavel Veselý
TL;DR
This work addresses high-dimensional clustering within the fully-scalable MPC model, where local memory per machine scales as a small polynomial in the input size. It introduces a robust geometric-aggregation primitive based on consistent hashing, enabling O(1)-round solutions for Power-$z$ Facility Location and, via a facility-location-based reduction, for $(k,z)$-Clustering with controllable bicriteria guarantees. The main technical contributions include a parallel Mettu-Plaxton-style approach for facility opening, precise approximation analyses (including $O(1)$-approximation for facility location and $(O_ ext{ε}(μ^{-2}),1+μ)$-bicriteria for clustering), and weak-coreset techniques enabling near-$k$ solutions with limited communication. The results significantly advance the state of fully-scalable MPC clustering by achieving constant rounds in high dimensions and providing practical constructions for distributed clustering on massive datasets. The methods have potential impact for large-scale data analysis in MapReduce-like systems, enabling provably efficient high-dimensional clustering with strong approximation guarantees.
Abstract
We design new parallel algorithms for clustering in high-dimensional Euclidean spaces. These algorithms run in the Massively Parallel Computation (MPC) model, and are fully scalable, meaning that the local memory in each machine may be $n^σ$ for arbitrarily small fixed $σ>0$. Importantly, the local memory may be substantially smaller than the number of clusters $k$, yet all our algorithms are fast, i.e., run in $O(1)$ rounds. We first devise a fast MPC algorithm for $O(1)$-approximation of uniform facility location. This is the first fully-scalable MPC algorithm that achieves $O(1)$-approximation for any clustering problem in general geometric setting; previous algorithms only provide $\mathrm{poly}(\log n)$-approximation or apply to restricted inputs, like low dimension or small number of clusters $k$; e.g. [Bhaskara and Wijewardena, ICML'18; Cohen-Addad et al., NeurIPS'21; Cohen-Addad et al., ICML'22]. We then build on this facility location result and devise a fast MPC algorithm that achieves $O(1)$-bicriteria approximation for $k$-Median and for $k$-Means, namely, it computes $(1+\varepsilon)k$ clusters of cost within $O(1/\varepsilon^2)$-factor of the optimum for $k$ clusters. A primary technical tool that we introduce, and may be of independent interest, is a new MPC primitive for geometric aggregation, namely, computing for every data point a statistic of its approximate neighborhood, for statistics like range counting and nearest-neighbor search. Our implementation of this primitive works in high dimension, and is based on consistent hashing (aka sparse partition), a technique that was recently used for streaming algorithms [Czumaj et al., FOCS'22].
