A Tight VC-Dimension Analysis of Clustering Coresets with Applications

Vincent Cohen-Addad, Andrew Draganov, Matteo Russo, David Saulpic, Chris Schwiegelshohn

This paper, recently published by Vincent Cohen-Addad and colleagues, provides a major theoretical breakthrough in the field of coresets for clustering. By refining the analysis of Vapnik-Chervonenkis (VC) dimension, the authors have managed to shrink the size of data summaries needed for complex clustering problems, achieving bounds that are nearly optimal and significantly better than previous state-of-the-art results.

TL;DR

The authors present a new, sharp VC-dimension-based analysis for clustering coresets, reducing the dependency on the number of clusters ($k$) from quadratic or cubic to nearly linear. This leads to significantly smaller coresets for complex metrics like shortest paths in planar graphs and Fréchet distances between polygonal curves.

What Problem Does This Paper Address?

In the era of big data, running clustering algorithms (like $k$-median or $k$-means) on massive datasets is computationally expensive. A common solution is to construct a coreset: a small, weighted subset of the original data that acts as a proxy. A good coreset ensures that for any possible set of $k$ cluster centers, the cost of clustering the coreset is very close (within a $1 \pm \varepsilon$ factor) to the cost of clustering the full dataset.

The "gold standard" for coreset size is usually something that scales linearly with $k$ and quadratically with $1/\varepsilon$. While this has been achieved for simple Euclidean spaces, more complex metric spaces—such as those involving graphs or moving trajectories (polygonal curves)—have lagged behind. Previous techniques based on VC dimension (a measure of a model's complexity) often resulted in coreset sizes that were $O(k^2)$ or even $O(k^3)$, making them less practical for large-scale applications.

Methods

The authors introduce a technique called Layered Group Sampling. This builds upon existing "group sampling" frameworks but adds a crucial new ingredient: the layering property.

Standard group sampling partitions data into groups where points have similar costs. However, these groups can still "interact" in ways that bloat the VC-dimension analysis. The authors' layering property ensures that the ratio of average costs between different subgroups is either very close to 1 or vastly different (very small or very large).

This structural constraint allows them to use a sophisticated "chaining argument" from probability theory. By incrementally enumerating solutions from the cheapest subgroups to the most expensive, they prove that the total number of "relevant" clusterings is much smaller than previously thought. This tighter counting directly translates to a smaller coreset.

Comparison of VC dimension derived coreset sizes for k-median. This paper achieves a linear dependency on k, improving over previous quadratic and cubic bounds.

Datasets

As a theoretical contribution, this paper does not evaluate its findings on empirical datasets. Instead, it provides mathematical proofs that apply to any metric space with a bounded VC dimension. The "benchmarks" here are the theoretical upper bounds for specific metric spaces, such as planar graphs and polygonal curves under the Fréchet distance.

Key Insights and Ideas

  • Breaking the Quadratic Barrier: The most significant "aha moment" is showing that the dependency on $k$ in VC-based coresets can be near-linear. Previously, it was widely assumed that a loss in parameters was inevitable when moving away from uniform sampling.
  • The Power of Layering: The layering property is a clever way to decouple the interactions between different parts of the dataset. It forces a structure where centers serving one group of points have a predictable, minimal impact on the cost of other groups.
  • Tightness: The authors show that their bound is "tight," meaning that for certain metric spaces (like finite $n$-point metrics), no coreset algorithm can do significantly better than what they've proposed.

Key Results

The paper delivers improved coreset bounds for several high-impact areas:

  • Planar Graphs: For $k$-median clustering on planar graphs, they achieve a coreset size of $\tilde{O}(k\varepsilon^{-2})$. This is a massive improvement over the previous best of $\tilde{O}(k\varepsilon^{-6})$ and $\tilde{O}(k^2\varepsilon^{-4})$.
  • Polygonal Curves (Fréchet Distance): For clustering trajectories, they improve the bound to $\tilde{O}(kd\ell\varepsilon^{-2} \log m)$. This removes a factor of $k^2$ compared to recent work, making trajectory clustering much more scalable.
  • General $(k, z)$-Clustering: They provide a generalized theorem (Theorem 1.2) for objectives where distances are raised to the power of $z$ (like $k$-means, where $z=2$), though these bounds are slightly less tight than the $k$-median case.

Limitations and Future Work

While the results for $k$-median ($z=1$) are sharp, the authors acknowledge that for $k$-means ($z=2$), their VC-dimension-derived bound yields a coreset size of $\tilde{O}(\varepsilon^{-3})$, whereas the known optimal for Euclidean space is $\tilde{O}(\varepsilon^{-2})$.

Furthermore, they note that while VC dimension is a powerful tool, it doesn't characterize the optimal coreset size for every metric. For example, in $d$-dimensional Euclidean space, the optimal coreset size is independent of $d$, but a VC-based analysis will always include a $d$ dependency. Bridging the gap between VC-dimension theory and dimension-independent bounds remains an open challenge.

Summary updated

BibTeX
@inproceedings{cohenaddad2025tight,
  author = {Vincent Cohen-Addad and Andrew Draganov and Matteo Russo and David Saulpic and Chris Schwiegelshohn},
  title = {{A Tight VC-Dimension Analysis of Clustering Coresets with Applications}},
  booktitle = {SODA},
  year = {2025},
  doi = {10.1137/1.9781611978322.162},
}
Figure