Sensitivity Sampling for k-Means: Worst Case and Stability Optimal Coreset Bounds

Nikhil Bansal, Vincent Cohen-Addad, Milind Prabhu, David Saulpic, Chris Schwiegelshohn

In the landscape of big data, $k$-means clustering remains a fundamental tool for pattern recognition and data analysis. However, as datasets scale to billions of points, traditional algorithms become computationally prohibitive. Coresets—small, weighted summaries of the data that act as a proxy for the full set—have emerged as the standard solution. A recent collaboration between researchers from the University of Michigan, Google Research, IST Austria, and Aarhus University has bridged a long-standing gap in coreset theory, proving that the most practical sampling method is also theoretically optimal.

The Theory-Practice Gap

For years, practitioners have favored Sensitivity Sampling (SS) because it is fast, parallelizable, and simple to implement. It works by calculating a "sensitivity score" for each point—essentially measuring its potential contribution to the total clustering cost—and sampling points proportional to these scores.

Yet, theoretical researchers often pointed to Group Sampling (GS) as the superior method because it offered tighter error bounds in academic literature. GS, however, is significantly more complex, requiring intricate preprocessing tailored specifically to center-based clustering. This paper resolves this tension by demonstrating that the simple, data-oblivious SS method is actually as powerful as the complex GS method, achieving the best possible compression size for both worst-case and "well-clusterable" data.

Mathematical Innovation: Chaining and Gaussian Processes

The authors move beyond previous "coarse" analyses by employing a sophisticated technique known as chaining-based analysis. To prove a coreset is accurate, one must bound the error across all possible clusterings. This paper uses chaining to decompose that error into a telescoping sum across increasingly fine distance scales.

Key components of their proof include:

  • Symmetrization: Reducing the error-bounding problem to the supremum of a Gaussian process.
  • Interaction Numbers: A new parameter introduced to quantify how centers interact with clusters. This allows the authors to show that while certain clusterings might require more samples to represent accurately, those same clusterings have high costs that naturally lower the relative variance of the sampler.

Beyond Worst-Case Analysis

A significant contribution of this work is its "beyond-worst-case" analysis. While worst-case data requires a coreset size of $\tilde{O}(k/\varepsilon^2 \cdot \min(\sqrt{k}, \varepsilon^{-2}))$, real-world data is often "well-clusterable" or stable. Under the $\beta$-stability criterion (where the cost of a $k$-clustering is significantly better than a $(k-1)$-clustering), the authors prove that SS achieves a leaner bound of $\tilde{O}(k/\varepsilon^2)$.

Remarkably, SS achieves this without needing to know the data is stable beforehand. It is "appropriately sensitive while remaining oblivious," naturally exploiting the underlying structure of the data to produce a more accurate summary without explicit instructions to do so.

Key Theoretical Results

The paper establishes several new "gold standard" bounds for coreset sizes:

  • Optimal Worst-Case $k$-Means: Matches the best-known upper bound and the known lower bound.
  • Optimal Stable $k$-Means: Achieves $\tilde{O}(k/\varepsilon^2)$ for stable instances. The authors also prove a new lower bound showing that any coreset consisting of original input points must be at least $\Omega(k/\varepsilon^2)$.
  • $k$-Median Improvements: Extends the results to the $k$-median problem, achieving a worst-case bound of $\tilde{O}(k/\varepsilon^2 \min(\sqrt[3]{k}, \varepsilon^{-1}))$.
  • Doubling Metrics: Shows SS computes a coreset of size $\tilde{O}(kD/\varepsilon^2)$ for metrics with doubling dimension $D$, improving on previous cubic dependencies on $k$.

Limitations and Future Directions

While this work provides definitive bounds for coresets made of original input points, the authors note that "synthetic" coresets (which use non-input points and offsets) could potentially reduce the size even further—perhaps down to exactly $k$ for highly stable instances. Additionally, while the paper covers cost-stability, it notes that other notions like perturbation resilience do not necessarily help reduce coreset size below the worst-case bound. Exploring these alternative models remains a fertile ground for future research.

Ultimately, this research confirms that the industry-standard approach to data compression for clustering is not just a heuristic, but a mathematically optimal strategy that bridges the gap between theoretical elegance and practical performance.

Summary updated

BibTeX
@inproceedings{bansal2024sensitivity,
  author = {Nikhil Bansal and Vincent Cohen-Addad and Milind Prabhu and David Saulpic and Chris Schwiegelshohn},
  title = {{Sensitivity Sampling for k-Means: Worst Case and Stability Optimal Coreset Bounds}},
  booktitle = {FOCS},
  year = {2024},
  doi = {10.1109/focs61266.2024.00106},
}
Figure