Introduction
In the era of massive datasets, running clustering algorithms such as $k$-median directly on raw data is often computationally prohibitive. To address this, researchers rely on "coresets"—small, mathematically rigorous summaries of the original dataset that proxy the full data for algorithmic processing.
Historically, coreset literature has been divided into two primary categories:
- Strong coresets: These preserve the clustering cost for every possible center point in the space. They are highly versatile and remain robust even if constraints are added to the problem later. However, constructing them requires reading the entire dataset, resulting in slow, linear (or worse) time complexity.
- Weak coresets: These only guarantee that an optimal center found for the coreset will serve as a good center for the original data. While they can be constructed almost instantly using sublinear uniform sampling, they lack versatility. Their guarantees do not easily transfer to submetrics or constrained optimization problems.
This paper tackles a fundamental question: Can we achieve the powerful, versatile guarantees of strong coresets using the sublinear-time efficiency of uniform sampling?
The Concept of Stable Coresets
To bridge the gap between weak and strong coresets, the authors introduce an intermediate notion called stable coresets.
Instead of preserving the exact absolute cost of every possible center—the strict requirement of a strong coreset—a stable coreset preserves the relative difference in costs between any candidate center and a reference point (typically the optimal median). This slight relaxation is the key mechanism: it is forgiving enough to allow for uniform sampling, yet strict enough to maintain the structural landscape of the data's objective function.
Using $\epsilon$-approximations and VC-dimension bounds from PAC learning, the authors prove that a uniform sample of size $O(\epsilon^{-2} \log d)$ forms a stable coreset for the 1-median problem in $\ell_1^d$ space with high constant probability.
Furthermore, the authors leverage isometric embeddings. Because stable coresets preserve relative costs across the entire space, their mathematical guarantees automatically transfer to any metric space that can be embedded into $\ell_1$. This allows for the instant derivation of uniform-sampling coresets for complex discrete metrics, such as Kendall-tau (for rankings) and Jaccard (for sets), bypassing the need for custom, complex coreset proofs for each discrete space.
Empirical Validation and Results
The authors evaluated their approach across several real-world datasets, including Yellow Taxi NYC (2.8 million trips, 11 dimensions), Twitter (1.3 million tweets, 3 dimensions), Single-Cell Gene Expression (SCGE, 7,865 cells across 33,586 dimensions), and My Anime List (MAL, 234,000 user rankings used for Kendall-tau rank aggregation).
Massive Speedups: In empirical tests, uniform sampling demonstrated extraordinary efficiency, taking roughly 0.0001 seconds to sample 500 points. In contrast, state-of-the-art importance sampling methods required between 82 and 512 seconds depending on the dataset. Despite this massive speed difference, uniform sampling achieved comparable relative error.
Robustness to Constraints: Because stable coresets preserve the landscape of the objective function rather than just the global minimum, they are highly effective for constrained optimization. When applying fairness constraints to the anime ranking problem (e.g., ensuring popular and niche anime are balanced in the final ranking), the coreset solutions closely matched the solutions derived from the full dataset. Weak coresets typically fail under such conditions.
The "Dispersed Data" Bonus: The authors also proved theoretically that if a dataset is "C-dispersed"—meaning its overall diameter is bounded relative to the average distance between points—uniform sampling actually yields a strong coreset, not just a stable one.
Limitations and Future Directions
While stable coresets present a significant leap forward, the paper notes a few limitations:
- Dimension Dependency: The theoretical size bound of the coreset depends logarithmically on the dimension $d$ ($O(\epsilon^{-2} \log d)$). However, the authors conjecture that this dependency might be an artifact of the proof. They provide empirical evidence via the 33,586-dimensional SCGE dataset suggesting the true bound could be dimension-independent.
- Focus on $k=1$: The theoretical analysis is strictly focused on the 1-median problem. Extending this uniform sampling framework to $k > 1$ ($k$-median) requires additional structural and algorithmic assumptions, which the authors leave for future work to maintain theoretical clarity in the foundational stable coreset proofs.
Ultimately, stable coresets unlock the ability to use uniform sampling for complex, globally-aware data summarization, offering a highly efficient "sweet spot" for modern clustering problems.
Summary updated