TL;DR
Uniform sampling is an incredibly efficient way to summarize massive datasets, but it traditionally fails to create "strong coresets" for clustering because it misses distant outliers. This paper introduces stable coresets—a novel framework that bridges the gap by preserving the relative ranking of clustering solutions rather than their absolute costs. The authors prove that a tiny uniform sample yields a stable coreset for the 1-median problem, enabling massive computational speedups with negligible loss in accuracy across various metrics like $\ell_1$, Jaccard, and Kendall-tau.
What Problem Does This Paper Address?
When dealing with big data, algorithms often use the "sketch-and-solve" paradigm: compress a massive dataset $P$ into a tiny summary $Q$ (a coreset), and run clustering algorithms only on $Q$.
Historically, researchers have relied on two types of coresets:
- Strong coresets: Guarantee that the clustering cost of every possible center on $Q$ is almost identical to its cost on the full dataset $P$. However, building them requires reading the entire dataset to account for outliers, ruling out sublinear-time uniform sampling.
- Weak coresets: Only guarantee that the optimal solution found on $Q$ is a good solution for $P$. While they can be built via uniform sampling, they fail when your problem has extra constraints (like fairness) or when you want to project the data into a sub-metric space.
The authors address a fundamental question: Can we design a coreset definition that enjoys the ultra-fast, data-oblivious benefits of uniform sampling while retaining the robust, constraint-friendly properties of strong coresets?
Methods
The authors introduce stable coresets. Instead of forcing the coreset to approximate the absolute cost of every center, a stable coreset only preserves the relative order of costs between centers. If center $A$ is better than center $B$ on the full dataset, it should remain better on the coreset.
To prove that uniform sampling creates stable coresets, the authors use the following approach:
- Relative Cost-Difference Approximation (RCDA): They establish a framework showing that if a subset preserves the cost gaps between potential centers and the true median, it acts as a stable coreset.
- $\epsilon$-Approximations & VC Dimension: For the 1-median problem in $\ell_1$ space, they map the problem to axis-aligned half-spaces. By leveraging Vapnik-Chervonenkis (VC) dimension theory from PAC learning, they prove that a uniform sample of size $O(\epsilon^{-2} \log d)$ is sufficient to guarantee a stable coreset.
- Metric Embeddings: Because stable coresets preserve structural properties across submetrics, the authors use isometric (and near-isometric) mathematical embeddings to effortlessly extend their $\ell_1$ results to other complex spaces, including the Euclidean ($\ell_2$), Kendall-tau (rankings), and Jaccard (sets) metrics.
Datasets
The authors evaluated their approach on four diverse, real-world datasets:
- Yellow Taxi NYC (YT): 2.8 million records, 11 dimensions (spatial/temporal taxi trip data).
- Twitter: 1.3 million records, 3 dimensions (geolocated tweets).
- Single-Cell Gene Expression (SCGE): 7,865 samples across a massive 33,586 dimensions (high-dimensional biological data).
- My Anime List (MAL): 234,000 user permutations ranking 50 anime titles (used to test the Kendall-tau ranking metric).
Key Insights and Ideas
- Rankings Over Magnitudes: The core "aha!" moment is realizing that optimization algorithms don't actually care about the absolute cost value of a clustering solution; they only care about finding the best one. Ignoring absolute values allows uniform sampling to safely ignore extreme outliers that would otherwise break a strong coreset.
- Instant Sublinear Sampling: Traditional importance sampling requires calculating "sensitivity scores" for every single data point before sampling, which takes linear time ($O(n)$). Uniform sampling is completely dataset-oblivious—it takes $O(1)$ time per sample, making it ideal for streaming and distributed environments.
- The Power of Submetrics: Because stable coresets preserve structural geometry, a stable coreset calculated for an $\ell_1$ space automatically functions as a coreset for any metric space that can embed into $\ell_1$. This allows the authors to solve complex, NP-hard rank aggregation problems using simple uniform samples.
Key Results
- Massive Speedups: On the high-dimensional SCGE dataset, traditional importance sampling took 512 seconds to construct a coreset. Uniform sampling took just 0.0001 seconds to sample 500 points.
- Comparable Accuracy: Despite the astronomical difference in construction time, uniform sampling achieved empirical error rates tightly comparable to expensive importance sampling methods across all datasets (see Figure 1).
- Fairness and Heuristics Compatibility: When tested on the MAL dataset under strict fairness constraints (using an Integer Linear Programming approach), the stable coresets accurately maintained solution quality, proving they can handle downstream constraints seamlessly.
Limitations and Future Work
- Limited to $k=1$: The theoretical proofs in this paper are strictly tailored to the single-center (1-median) problem. Extending stable coresets to multi-center clustering ($k > 1$) requires navigating complex cluster interactions and additional algorithmic assumptions.
- The Dimension Dependency Gap: The mathematical proof dictates a coreset size dependent on the dimension ($\log d$). However, the authors' experiments on the 33,586-dimensional SCGE dataset showed that the error remained completely stable as dimensions scaled up. The authors explicitly conjecture that the theoretical bound can be tightened to be entirely dimension-independent.
Summary updated