Extreme k-Center Clustering

MohammadHossein Bateni, Hossein Esfandiari, Manuela Fischer, Vahab S. Mirrokni

Introduction

Clustering is a fundamental task in unsupervised machine learning, with the $k$-center problem being a classic objective: given a set of $n$ points, select $k$ centers to minimize the maximum distance from any point to its nearest center. While sequential greedy algorithms like Gonzalez’s provide a 2-approximation, they scale poorly ($O(nk)$ time). In the era of "extreme" clustering—where $k$ can reach $10^6$ for datasets of $10^9$ points—traditional distributed approaches hit a memory wall. Most existing Massively Parallel Computation (MPC) models require $\Omega(k)$ memory per machine to store a "core-set," which becomes infeasible at scale.

Breaking the $O(k)$ Memory Barrier

The primary challenge in distributed $k$-center clustering is partitioning. Standard random partitioning often fails unless each machine has enough memory to represent the global structure, typically requiring $\Omega(k)$ space. This paper introduces a proximity-based partitioning strategy that achieves sublinear space per machine ($O(n^\epsilon)$) and operates in sublinear rounds.

The core innovation is the SAMPLE-AND-SOLVE procedure, which uses:

  1. Bagging via Hubs: Instead of random assignment, the algorithm samples a small set of "hubs" and assigns each data point to its nearest hub. This ensures that points likely to share a cluster remain on the same machine.
  2. Iterative Compression: The algorithm "squishes" data over $O(\log \log n)$ rounds. In each round, it replaces points within a "bag" with representative centroids found via sequential greedy search.

The Distributed Algorithm

The authors propose DISTRIBUTED-k-CENTER, a two-phase approach:

  • Phase 1: Uses a coarse estimate of the optimal radius to compress clusters to a manageable polylogarithmic size.
  • Phase 2: Refines these clusters using a more precise radius estimate to produce the final $k$ centers. To maintain efficiency, Locality-Sensitive Hashing (LSH) is employed for fast nearest-neighbor lookups during the bagging stage.

Experimental Results

The algorithm was tested on massive datasets, including a private production dataset (prod) with 108 million points.

Solution Quality vs. Efficiency

A key trade-off in distributed algorithms is the approximation factor. While the theoretical bound is $O(\log \log \log n)$, empirical results show the solution quality is much closer to the sequential 2-approximation.

Figure 1: Comparison of the maximum radius of the solution across different algorithms as the number of clusters (k) increases.

As shown in Figure 1, the Distributed k-Center algorithm tracks the trend of the sequential baseline closely, typically staying within a factor of 1.2 to 2.0 of the sequential radius.

Scalability and Speedup

The true strength of the proposed method lies in its execution time, especially as $k$ grows.

Figure 2: Running time comparison on a log-log scale. The distributed algorithm exhibits significantly better scaling than classic and lazy greedy baselines.

On the 108M point prod dataset, the distributed algorithm finished in minutes. In contrast, the sequential greedy baseline was estimated to require over 100 hours. As seen in Figure 2, the distributed approach provides a 25x to 100x speedup over traditional greedy methods for large $k$.

Conclusion and Future Work

By bypassing the $\Omega(k)$ memory requirement through proximity-based partitioning, this work enables $k$-center clustering at previously impossible scales. While optimized for Euclidean spaces via LSH, future research could extend these techniques to more general metric spaces. The slight increase in approximation radius is a small price for the massive gains in scalability and total work efficiency ($O(n^{1+\epsilon})$).

Summary updated

BibTeX
@inproceedings{bateni2021extreme,
  author = {MohammadHossein Bateni and Hossein Esfandiari and Manuela Fischer and Vahab S. Mirrokni},
  title = {{Extreme k-Center Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16513},
}
Figure