Abstract
Coresets are a powerful tool for scaling algorithms to massive datasets by identifying a small, representative subset of the original data. While their application in optimization and clustering is well-studied, their statistical implications for nonparametric density estimation have remained largely unexplored. This paper establishes the fundamental minimax limits for coreset-based density estimation. We show that traditional uniform coresets are statistically inefficient and propose a weighted coreset approach based on Carathéodory’s Theorem. This method achieves optimal estimation rates with subset sizes significantly smaller than previously possible, effectively balancing the trade-off between compression and statistical accuracy.
1. Introduction
In the era of "Big Data," the computational burden of processing billions of data points often necessitates data compression. Coresets—small, weighted subsets of the original data—have emerged as a primary solution, allowing practitioners to run complex algorithms on a fraction of the data while maintaining theoretical guarantees. However, most coreset research has focused on geometric or optimization objectives, such as $k$-means clustering. The statistical "cost" of using a coreset for inference—specifically, how much accuracy is lost for a given level of compression—has lacked a rigorous foundation.
This paper, presented at AISTATS 2021, addresses this gap by providing a statistical perspective on coreset density estimation. The authors investigate how small a coreset can be before it fails to represent the underlying probability distribution of the original dataset, focusing on Kernel Density Estimation (KDE) over Hölder-smooth density classes.
2. Problem Formulation: The Statistical Cost of Compression
The core challenge in coreset density estimation is to select $m$ points from a dataset of $n$ points ($m \ll n$) such that an estimator $\hat{f}_m$ derived from the coreset approximates the true density $f$ as well as an estimator $\hat{f}_n$ derived from the full dataset.
The authors define a "coreset-based estimator" as any function that operates solely on $m$ points chosen from the original $n$. They seek to determine the minimax risk, which represents the best possible performance any such estimator can achieve. This risk is influenced by two distinct factors:
- Estimation Error: The inherent statistical error from using $n$ samples to estimate $f$.
- Compression Error: The additional error introduced by reducing $n$ samples to $m$ points.
3. Methodology: Weighted Carathéodory Coresets
A central finding of this work is that weights are the "secret sauce." Simple random sampling or uniform averaging (uniform weights) is statistically inefficient, requiring a much larger coreset to achieve the same accuracy as a weighted approach.
3.1 The Carathéodory Method
To reach the theoretical limits of compression, the authors propose a method rooted in convex geometry. By mapping data points into a high-dimensional Fourier feature space, the problem of finding a coreset is transformed into finding a sparse combination of points that approximates the mean of the entire dataset in that space.
Using Carathéodory’s Theorem, the authors demonstrate that one can identify a subset of points and assign them specific weights such that the weighted average in the feature space closely matches the full-sample average. This weighted coreset effectively preserves the information necessary for high-fidelity density estimation.
3.2 Function Classes
As a theoretical study, the performance is evaluated on mathematically defined function classes rather than empirical benchmarks:
- Hölder-smooth densities: These model "smooth" distributions where the derivatives are constrained, a standard assumption in nonparametric statistics.
- Sobolev functions: These define the properties of the kernels required to achieve optimal estimation rates.
4. Key Results and Insights
The authors identify a "compression threshold" $m^*$. If the coreset size $m$ is below this threshold, the compression error dominates, and performance is guaranteed to be worse than the full-dataset estimator. Above this threshold, the coreset can match the performance of the full $n$-point dataset.
4.1 Minimax Rates
The authors prove that the minimax risk for coreset-based estimators is: $$\Theta\left(n^{-\frac{\beta}{2\beta+d}} + (m \log n)^{-\frac{\beta}{d}}\right)$$ where $d$ is the dimension and $\beta$ is the smoothness parameter. This formula explicitly quantifies the trade-off: the first term represents the standard statistical rate (the "estimation error"), while the second term represents the penalty for compression.
4.2 Optimal Coreset Size
For a $d$-dimensional density with smoothness $\beta$, the optimal coreset size is approximately: $$m \approx n^{\frac{d}{2\beta+d}}$$ The proposed weighted Carathéodory method achieves this rate using a coreset of size $\tilde{O}(n^{\frac{d}{2\beta+d}})$. This is a significant improvement over existing techniques like the Gram-Schmidt walk or Frank-Wolfe algorithms, which require larger subsets to achieve comparable accuracy.
5. Discussion and Limitations
While the paper establishes a powerful theoretical framework, several practical considerations remain:
- Offline Nature: The Carathéodory method is an "offline" tool, requiring access to the entire dataset before the coreset can be constructed. This limits its utility in real-time streaming scenarios.
- Kernel Selection: The theoretical optimality relies on higher-order kernels. These kernels can take negative values in some regions, which may be counterintuitive for practitioners accustomed to strictly positive kernels like the Gaussian.
- The Curse of Dimensionality: Although the rates are optimal, the constants involved grow exponentially with the dimension $d$. This suggests that while coresets provide a path forward, very high-dimensional density estimation remains a massive challenge.
6. Conclusion
This work provides the first comprehensive statistical analysis of coresets for density estimation. By establishing minimax rates and proposing an optimal weighted construction method, the authors bridge the gap between computational geometry and nonparametric statistics, offering a rigorous foundation for data compression in statistical learning.
Summary updated