As datasets grow to millions or billions of observations, standard algorithms for clustering, regression, and dimensionality reduction become computationally prohibitive. A powerful paradigm to address this is the coreset: a small, weighted subset of the original data that acts as a mathematical proxy. If constructed correctly, running an algorithm on the coreset yields nearly the same result as running it on the full dataset, but in a fraction of the time.
The most effective way to build these summaries is through sensitivity sampling, a technique that identifies and preserves the most "influential" points in a dataset.
The Intuition of Sensitivity
In any large dataset, not all points are created equal. In a $k$-means clustering task, a point in the middle of a dense cloud is redundant; if it were removed, the cluster center would barely move. However, a point in a sparse region or a distant outlier is critical. If you miss it, you might fail to identify an entire cluster.
Sensitivity quantifies this importance. Formally, the sensitivity of a data point is the maximum possible contribution that point can make to the total objective function, relative to the average contribution of all points, across all possible model parameters. As Mario Lučić, Andreas Krause, and Olivier Bachem demonstrate in Strong Coresets for Hard and Soft Bregman Clustering with Applications to Exponential Family Mixtures, points in sparse regions receive high sensitivity scores. By sampling points with probability proportional to these scores, we ensure that the "rare but important" data is preserved.
Why Weighting Matters
Sampling alone is not enough. If we sample high-sensitivity points more frequently, our coreset will be biased toward outliers. To fix this, we assign each sampled point a weight inversely proportional to its sampling probability.
This creates an unbiased estimator of the full dataset's loss function. A point that is very likely to be picked (because it is unique) gets a small weight, while a point that is rarely picked (because it is in a dense region) gets a large weight to represent all its "missing" neighbors. Alaa Maalouf, Dan Feldman, and Ibrahim Jubran explain in Introduction to Coresets: Approximated Mean that this weighting scheme allows the coreset to provide a guaranteed approximation for any possible query point, not just the optimal one.
Breaking the Size Bottleneck
For years, the theoretical size of a coreset was tied to the "total sensitivity" of the dataset, often resulting in a quadratic dependency ($O(t^2)$). A major breakthrough by Vladimir Braverman, Dan Feldman, and Harry Lang in New Frameworks for Offline and Streaming Coreset Constructions improved this to a near-linear dependency ($O(t \log t)$).
By bridging coreset theory with VC-dimension-based learning theory, they showed that we can compress data much more aggressively than previously thought. This efficiency is further refined by finding "tight" sensitivity bounds. In Tight Sensitivity Bounds For Smaller Coresets, Alaa Maalouf and colleagues introduced iterative algorithms to minimize the sum of importance scores, enabling the creation of the smallest possible summaries for tasks like SVD and PCA.
From Clustering to Foundation Models
While early coreset research focused on geometric problems like $k$-means, the framework has expanded into complex machine learning domains:
- Deep Learning: Murad Tukan, Samson Zhou, and Alaa Maalouf developed coresets for Radial Basis Function Neural Networks in Provable Data Subset Selection For Efficient Neural Network Training. Since these networks are universal approximators, these coresets can effectively approximate the gradients of any deep neural network.
- Large Language Models (LLMs): In Data-Efficient Learning via Clustering-Based Sensitivity Sampling: Foundation Models and Beyond, Kyriakos Axiotis, Vincent Cohen-Addad, and others applied sensitivity sampling to fine-tune LLMs. By selecting data based on distance from cluster centers and observed loss, they achieved state-of-the-art performance with significantly less data.
- Streaming and Dynamic Data: Algorithms by Zhao Song and Peilin Zhong in Nearly Optimal Dynamic k-Means Clustering for High-Dimensional Data allow for maintaining coresets in real-time as data is inserted or deleted, using space that is nearly independent of the total number of points seen.
Robustness and Privacy
Sensitivity sampling also offers a natural defense against noise and privacy risks. Chansophea Wathanak In and David Woodruff explored "robust coresets" in Robust Sparsification via Sensitivity, which can ignore the $m$ most extreme outliers while still providing accurate summaries.
Furthermore, the relationship between sensitivity and privacy is profound. Dominik Fay and Sebastian Mair 0001 show in Privacy Amplification via Importance Sampling that sampling high-risk points more frequently with lower weights prevents the "sensitivity spikes" that compromise Differential Privacy, creating a bridge between data utility and user protection.