Stable Sample Compression Schemes: New Applications and an Optimal SVM Margin Bound

Steve Hanneke, Aryeh Kontorovich

Introduction

In the field of supervised learning, a fundamental challenge is establishing tight generalization bounds—mathematical guarantees on how well a classifier trained on a finite dataset will perform on unseen data. For decades, margin-based classifiers such as Support Vector Machines (SVM) and the Perceptron algorithm have been analyzed using PAC (Probably Approximately Correct) learning theory. However, a persistent gap remained: traditional bounds typically included an $O(\log n)$ factor, whereas theoretical minimax lower bounds suggested this factor was unnecessary.

This paper resolves this long-standing discrepancy. By leveraging the framework of "stable sample compression," the authors provide the first provably optimal PAC margin bound for SVMs and the Perceptron, matching the known lower bounds and refining our understanding of these foundational algorithms.

The Framework of Stable Sample Compression

The core of the paper's contribution lies in the extension of sample compression theory. A learning algorithm utilizes a sample compression scheme if the classifier it produces can be entirely reconstructed from a small subset of the training data, known as the "compression set."

The authors focus on a specific property called stability. A compression scheme is considered stable if removing any training points that were not included in the compression set does not change the resulting classifier. While previous research into stable compression was largely restricted to data-independent and "realizable" (noise-free) settings, this work extends the theory to:

  1. Data-dependent settings: Where the compression size depends on the specific geometry of the data (e.g., the margin).
  2. Agnostic settings: Where the data may be noisy or not perfectly separable, providing "Bernstein-type" bounds that interpolate between noisy and clean regimes.

Main Results: Optimal Margin Bounds

The most significant result is the removal of the $\log n$ factor in generalization bounds for margin-based classifiers. Traditional bounds for SVMs often take the form $O(\frac{r^2}{\gamma^2 n} \log n)$, where $r$ is the radius of the data and $\gamma$ is the margin. The authors prove that the risk $R_P(\hat{h})$ is actually bounded by:

$$O\left( \frac{r^2}{\gamma^2 n} + \frac{1}{n} \log \frac{1}{\delta} \right)$$

This "log-free" bound is achieved by showing that the $O(\log n)$ factor is often an artifact of the "union bound" technique used in standard proofs. Stable compression allows for a more sophisticated counting argument that bypasses this requirement.

Key findings include:

  • SVM Stability: Although the set of support vectors for an SVM is not always unique, the authors demonstrate that one can always identify a stable compression set of size at most $(r/\gamma)^2$.
  • Perceptron Optimality: The paper surprisingly shows that the standard cycling Perceptron algorithm (which iterates through data until no mistakes are made) is also a stable compression scheme, meaning it achieves the same optimal margin bound as the more complex SVM.

Broader Applications

Beyond margin classifiers, the paper applies the stable compression framework to other learning paradigms:

  • Active Learning: The authors provide tighter bounds on the "region of disagreement" within version spaces. This leads to improved analysis of label complexity for disagreement-based active learning algorithms like CAL.
  • Nearest Neighbors: The research refines generalization bounds for "compressed nearest neighbor" predictors (such as OptiNet). By removing the log factor, the authors simplify the requirements for universal consistency in these models.

Discussion and Limitations

While this work provides a theoretical breakthrough, it also identifies several avenues for future research. The "log-free" guarantees are specific to algorithms that can be framed as stable compression schemes. Many modern architectures, particularly deep neural networks trained with stochastic gradient descent, do not naturally exhibit this form of stability in their current optimization frameworks.

Furthermore, the current analysis focuses primarily on binary classification. Extending these sharp, optimal bounds to multi-class problems or structured output settings remains an area for further exploration. Finally, while the paper proves the existence of these bounds, it does not focus on the computational cost of finding the smallest possible stable compression set for arbitrary classes, though for SVM and Perceptron, the standard algorithms suffice.

Summary updated

BibTeX
@inproceedings{hanneke2021stable,
  author = {Steve Hanneke and Aryeh Kontorovich},
  title = {{Stable Sample Compression Schemes: New Applications and an Optimal SVM Margin Bound}},
  booktitle = {ALT},
  year = {2021},
  url = {https://openreview.net/forum?id=ravbt7ggzm5},
}
Figure