No Dimensional Sampling Coresets for Classification

Meysam Alishahi, Jeff M. Phillips

TL;DR

This paper introduces the first "no-dimensional" coresets for classification problems like Logistic Regression and Support Vector Machines (SVMs). By shifting the mathematical framework from VC-dimension to Rademacher complexity, the authors prove that massive datasets can be compressed into tiny subsets whose size depends on the desired accuracy and regularization, but crucially, not on the number of features (dimensions) in the data.

The Challenge of High-Dimensional Data

In the era of "Big Data," training models on billions of points is computationally expensive. Coresets offer a practical solution: they are small, weighted subsets of the original data that act as a proxy. Optimizing a model on the coreset yields a solution nearly as good as if the full dataset were used.

Traditionally, the size of a coreset needed to guarantee a certain level of accuracy (an $\epsilon$-approximation) has depended heavily on the dimension ($d$) of the data. In modern machine learning, where $d$ can represent thousands or millions of features, a coreset that scales with $d$ quickly becomes too large to be useful. The central challenge addressed by this research is: Can we build coresets for classification whose size is entirely independent of the dimension?

Methods: Rademacher Complexity and Regularization

The authors utilize the sensitivity sampling framework, which involves sampling data points with probabilities proportional to their "importance" (sensitivity) to the overall loss function. Their key methodological innovations include:

  • Rademacher Complexity over VC-Dimension: Most traditional coreset proofs rely on VC-dimension, which is inherently tied to the dimension $d$. The authors develop a new, general sensitivity sampling bound based on Rademacher complexity—a more flexible measure of function class complexity that can remain small even in infinite-dimensional spaces.
  • Regularization as a Bridge: The analysis focuses on regularized loss functions (e.g., adding an $\ell_2$ penalty $\|w\|^2/k$). This regularization provides the necessary mathematical structure to bound the "influence" of any single data point without needing to account for the total dimension.
  • Distributional Generalization: Unlike many previous works that only consider a fixed, finite set of points, this analysis applies to underlying probability distributions. This allows the results to double as sample complexity bounds, indicating how many independent and identically distributed (i.i.d.) samples are needed from an unknown distribution to learn a good classifier.

Key Insights and Detailed Bounds

The paper demonstrates that the "hardness" of compressing a classification dataset is primarily governed by the regularization parameter ($k$) rather than the number of features ($d$).

One of the most surprising insights is that for "well-behaved" distributions (where data is somewhat bounded in expectation), simple uniform i.i.d. sampling can actually function as a coreset. This bypasses the need for expensive sensitivity score calculations. Furthermore, because the bounds are dimension-independent, the results naturally extend to Reproducing Kernel Hilbert Spaces (RKHS). This means these coreset guarantees apply even when using kernel methods where the "effective" dimension is infinite.

Detailed coreset size bounds for various functions and data assumptions.

As shown in the detailed bounds above, the coreset sizes for functions like logistic regression, SVM, and ReLU can be bounded purely by terms involving the regularization parameter $k$, the error tolerance $\varepsilon$, and the failure probability $\delta$, completely dropping the dimension $d$ under certain sampling strategies.

Key Results and Literature Comparison

The paper provides a suite of new coreset size bounds for various loss functions, significantly improving upon prior work.

Comparison of coreset sizes from previous literature versus the new dimension-independent bounds.

As highlighted in the comparison table:

  • Logistic Regression: The authors achieved a size bound of $O(k^3 / (\varepsilon^2 \sqrt{\log k}))$, a massive improvement over previous bounds that scaled with $d$ or $d^2$ and $\log n$.
  • SVM (Hinge Loss): The new bound is $O(k^3 / \varepsilon^2)$, successfully removing both $d$ and $\log n$ dependencies.
  • ReLU: The bound is similarly reduced to $O(k^3 / \varepsilon^2)$, removing the $d$ dependence found in prior work.

The authors also provide a simpler and more direct proof for relative error bounds in sensitivity sampling using Fubini’s Theorem, which may be of independent interest to learning theorists.

Limitations and Future Work

  • Dependency on $k$: While the bounds are independent of $d$, they scale cubically ($k^3$) with the regularization parameter. If a user requires very little regularization (a very large $k$), the coreset size could still become impractical.
  • "Well-Behaved" Assumption: The most efficient bounds require the data distribution to be "well-behaved," meaning the data isn't infinitely spread out and the loss function doesn't become "too flat" everywhere.
  • Experimental Validation: As a purely theoretical work, the next logical step is a large-scale empirical study to see how these "no-dimensional" sampling strategies perform in practice on high-dimensional genomic or text data compared to traditional methods.

Summary updated

BibTeX
@inproceedings{alishahi2024no,
  author = {Meysam Alishahi and Jeff M. Phillips},
  title = {{No Dimensional Sampling Coresets for Classification}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=jS3CMHtYJD},
}
Figure