NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Boosting, Voting Classifiers and Randomized Sample Compression Schemes

Arthur da Cunha, Kasper Green Larsen, Martin Ritzert

TL;DR

Classic boosting algorithms like AdaBoost build "voting classifiers" (weighted majority votes of weak hypotheses), but their theoretical generalization error has long suffered from at least two extraneous logarithmic factors in the sample size $n$. This paper introduces Sampled Boosting, the first boosting algorithm producing a voting classifier whose generalization bound has only a single logarithmic dependence on $n$. The authors achieve this by introducing and analyzing a new theoretical tool: stable randomized sample compression schemes.

What Problem Does This Paper Address?

Boosting turns a $\gamma$-weak learner (an algorithm slightly better than random guessing on any distribution over a training set) into a strong learner. In practice, algorithms like AdaBoost combine weak hypotheses into a simple voting classifier: $$f(x) = \text{sign}\left(\sum_{t=1}^T \alpha_t h_t(x)\right)$$ Despite decades of practical success, the theoretical sample complexity of voting classifiers has remained sub-optimal. The best-known upper bound on the generalization error for AdaBoost-style voting classifiers has two logarithmic factors in $n$: $$O\left(\frac{d \ln(n/d)\ln n}{\gamma^2 n} + \frac{\ln(1/\delta)}{n}\right)$$ where $d$ is the VC-dimension of the weak hypothesis class. While Larsen and Ritzert (2022) previously achieved the information-theoretically optimal bound without log factors ($O(\frac{d}{\gamma^2 n} + \frac{\ln(1/\delta)}{n})$), their algorithm produced an unnatural "majority-of-majorities" rather than a true voting classifier.

Worse, recent lower bounds proved that any boosting algorithm that evaluates weak learners over the entire training set must incur an extra logarithmic penalty. The fundamental open question remained: Can a simple voting classifier break the two-logarithm barrier?

Methods

The paper introduces two major contributions:

  1. Sampled Boosting (Algorithm 1):
    Standard AdaBoost maintains a reweighted distribution over all $n$ training points and queries the weak learner on the entire dataset. In contrast, Sampled Boosting draws a small random subsample $S_k \sim D_k^m$ of size $m = O(\gamma^{-2}(d + \ln(1/\gamma)))$ at each round $k$ and trains the weak learner only on $S_k$ with uniform weights. It runs for a fixed number of rounds $K = O(\gamma^{-2}\ln(n/\delta))$ with a pre-set step size $\alpha$.

  2. Randomized Sample Compression Framework:
    Standard sample compression (Littlestone & Warmuth) says that if a learning algorithm's hypothesis can be reconstructed from a small subset of size $s$, it generalizes at a rate of $O(\frac{s \ln(n/s)}{n})$. Bousquet et al. (2020) showed that if the scheme is deterministic and stable (removing non-compression points doesn't change the compression), the $\ln(n/s)$ penalty vanishes.
    The authors generalize this to randomized compression schemes, proving that if a randomized subsampling scheme satisfies a distribution-level stability condition, it also achieves a linear generalization rate: $$R_D \le O\left(\frac{s + \ln(1/\beta)}{n}\right)$$ Because Sampled Boosting's hypotheses are completely determined by the sampled subsets $S_1, \dots, S_K$, the concatenated samples form a stable randomized compression of size $s = O(Km)$.

Datasets

Not discussed in the paper (this is a purely theoretical paper in algorithmic learning theory; no empirical datasets or benchmarks were used).

Key Insights and Ideas

  • Circumventing the full-support lower bound: Prior lower bounds showed that boosting algorithms querying the weak learner on distributions covering all $n$ examples inherently incur extra log factors. Subsampling avoids this pitfall entirely.
  • Randomized Stability via Multiplicative Weights: The key obstacle in sample compression is stability. The authors show that if one conditions on the samples $S_1, \dots, S_k$ belonging to a sub-dataset $S' \subseteq S$, the multiplicative weight updates on $S'$ match the distribution generated by running the algorithm directly on $S'$. Random sub-sampling preserves distribution proportionality conditioned on landing inside $S'$.
  • $\varepsilon$-approximations ensure zero training error: By setting $m = \tilde{O}(d/\gamma^2)$, VC theory ensures each subsample $S_k$ is an $\varepsilon$-approximation to the full distribution $D_k$ with high probability. This guarantees that empirical margin progress mimics standard AdaBoost, driving the training error to zero.

Key Results

The authors prove that the voting classifier $g = \text{sign}(f)$ produced by Sampled Boosting satisfies: $$R_D(g) \le C \cdot \min\left\{ \frac{(d + \ln(1/\gamma))\ln(n/\delta)}{\gamma^4 n},\; \frac{d\ln(n/d)\ln n}{\gamma^2 n} + \frac{\ln(1/\delta)}{n} \right\}$$ * First voting classifier with a single $\ln n$ dependence: In the sample size $n$, the dependency drops from $\ln(n/d)\ln(n)$ down to a single $\ln n$ factor. * General compression tool: Theorem 2 provides a modular framework to analyze any randomized machine learning algorithm based on subsampling via compression.

Limitations and Future Work

  • Dependency on $\gamma$: While improving the sample size dependency to $O(\frac{\ln n}{n})$, the bound scales with $\gamma^{-4}$ rather than the optimal $\gamma^{-2}$.
  • The remaining log factor: It remains open whether a voting classifier can completely eliminate the last $\ln n$ factor and match the optimal $O(\frac{d}{\gamma^2 n})$ bound achieved by majority-of-majorities.
  • AdaBoost analysis: The authors pose whether classical AdaBoost's bound can be tightened to drop one log factor, or if uniform convergence bounds for large-margin classifiers can be improved.

Summary updated

BibTeX
@inproceedings{cunha2025boosting,
  author = {Arthur da Cunha and Kasper Green Larsen and Martin Ritzert},
  title = {{Boosting, Voting Classifiers and Randomized Sample Compression Schemes}},
  booktitle = {ALT},
  year = {2025},
  url = {https://openreview.net/forum?id=xSEtk5AupG},
}
Figure