Fully-Scalable MPC Algorithms for Clustering in High Dimension

Artur Czumaj, Guichen Gao, Shaofeng H.-c. Jiang, Robert Krauthgamer, Pavel Veselý

TL;DR

This paper introduces the first fast, fully-scalable Massively Parallel Computation (MPC) algorithms that achieve constant-factor approximations for high-dimensional geometric clustering, including uniform Facility Location, $k$-Median, and $k$-Means. By designing a novel high-dimensional geometric aggregation primitive based on consistent hashing and a parallelized version of the Mettu-Plaxton algorithm, the approach runs in $O(1)$ rounds even when each machine’s local memory is far smaller than the number of clusters $k$.

What Problem Does This Paper Address?

Modern big data clustering often runs on distributed frameworks like MapReduce, Hadoop, or Spark, formalized theoretically by the Massively Parallel Computation (MPC) model. In the strictly constrained fully-scalable regime, each machine has local memory $s = n^\sigma$ for an arbitrarily small constant $\sigma > 0$ (where $n$ is the dataset size).

Existing distributed clustering techniques face major roadblocks in this regime:

  1. The $s \ge \Omega(k)$ barrier: Standard techniques such as coresets or streaming sketches require accumulating at least $\Omega(k)$ points on a single machine to produce $k$ centers, which fails when $k \gg n^\sigma$.
  2. The curse of dimensionality: Low-dimensional geometric partitioning (quadtrees, fine grids) degrades exponentially with dimension $d$. Meanwhile, metric tree embeddings incur an unavoidable $\Omega(\log n)$ distortion, preventing $O(1)$-approximations.

Consequently, prior fully-scalable $O(1)$-round algorithms in high dimensions could only deliver $\text{polylog}(n)$-approximations or required strong assumptions like perturbation resilience.

Methods

The authors build their framework around three technical contributions:

  • High-Dimensional Geometric Aggregation via Consistent Hashing: Exact range queries in high dimensions are memory-prohibitive. The authors implement consistent hashing (sparse partitions) in MPC, where the space is partitioned into clusters of diameter $\le \beta r$ such that any radius-$r$ ball intersects at most $n^{1/\beta}$ parts. This yields an MPC primitive to evaluate composable functions (such as counting points or finding minimum labels) over approximate neighborhoods in $O(\log_s n) = O(1)$ rounds.
  • Parallelizing Mettu-Plaxton Facility Location: The classic Mettu-Plaxton (MP) algorithm sequentially scans points in order of their local cluster radii $r_p$ and greedily opens centers. To make this fully parallel, the authors replace greedy sequential decisions with two complementary randomized rules:
  • Open a facility at point $p$ with probability proportional to $r_p$.
  • Assign each point a random label $h(q) \in [0, 1]$ and open $p$ if it has the minimal label in its approximate ball $B(p, r_p)$.
  • Bicriteria Reduction for $k$-Median and $k$-Means: By viewing $k$-clustering as a Lagrangian relaxation (Facility Location with facility opening cost $f = \text{OPT}/k$), the algorithm finds an initial set of $O(k)$ facilities. These form a "weak coreset," which is subsequently pruned down to $(1 + \mu)k$ centers using parallel weight-based filtering.

Datasets

Not discussed in the paper (this is a purely theoretical paper without empirical experiments or benchmarks).

Key Insights and Ideas

  • Overcoming the Greedy Bottleneck with Dual Randomization: Rule 1 alone fails on tight, isolated clusters because no facility might open. Rule 2 alone risks cascading reassignment chains where connection costs blow up. Operating both rules simultaneously guarantees that either a facility opens within a neighborhood with constant probability, or the cluster radius drops geometrically by at least half at each step.
  • Neighborhood Statistics Without Collecting Points: By projecting data into consistent hash buckets, computing summary statistics on each bucket, and routing bucket summaries to points, machines never have to store entire metric balls locally.
  • Arbitrarily Tight Bicriteria Tradeoffs: Rather than settling for $O(k)$ clusters or using expensive linear programming (LP) relaxations, the paper presents a black-box reduction from $k$-clustering to Facility Location that achieves $(1+\mu)k$ centers with an $O(1/\mu^2)$ approximation ratio.

Key Results

  • Uniform Facility Location: For any fixed $\varepsilon, \sigma \in (0, 1)$, computes an $O_\varepsilon(1)$-approximation in $O_\sigma(1)$ MPC rounds using local memory $s \ge n^\sigma \cdot \text{poly}(d)$ and $O(n^{1+\varepsilon})\cdot \text{poly}(d)$ total space (Theorem 1.1).
  • $k$-Median and $k$-Means: Computes a $(O_\varepsilon(\mu^{-2}), 1+\mu)$-bicriteria approximation in $O_\sigma(1)$ rounds using $O(n^{1+\varepsilon}) \cdot d^{O(1)}$ total space (Theorem 1.3).
  • Approximate Nearest Neighbor Search: As a byproduct of their aggregation primitive, the authors obtain an MPC primitive finding an $O(\Gamma)$-approximate nearest neighbor in $O(\log_s n)$ rounds.

Limitations and Future Work

  • Bicriteria vs. True Approximation: The algorithms output $(1+\mu)k$ centers rather than exactly $k$. While known lower bounds show that any true finite approximation for $k$-Median/Means requires $\Omega(\log_s n)$ rounds, closing the gap under specific metric assumptions remains an open question.
  • Space Overhead: The total space is slightly superlinear ($O(n^{1+\varepsilon})$), inherited from the consistent hashing bounds. Reducing total space to strictly near-linear $\tilde{O}(n)$ while maintaining $O(1)$ rounds is left for future exploration.
  • Uniform Facility Costs: The Facility Location result assumes uniform facility opening costs $f$; non-uniform costs in fully-scalable MPC remain unaddressed.

Summary updated

BibTeX
@inproceedings{czumaj2024fully,
  author = {Artur Czumaj and Guichen Gao and Shaofeng H.-C. Jiang and Robert Krauthgamer and Pavel Veselý},
  title = {{Fully-Scalable MPC Algorithms for Clustering in High Dimension}},
  booktitle = {ICALP},
  year = {2024},
  url = {https://openreview.net/forum?id=8LdasW4pmi},
}
Figure