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

Tight Margin-Based Generalization Bounds for Voting Classifiers over Finite Hypothesis Sets

Kasper Green Larsen, Natascha Schalburg

Introduction: The Paradox of Voting Classifiers

In classical machine learning, the conventional wisdom warns against "overfitting"—the phenomenon where a model memorizes training data but fails to generalize to unseen examples. However, ensemble methods like AdaBoost famously defy this intuition. Even after a voting classifier achieves zero training error, its performance on test data often continues to improve as training progresses.

To explain this paradox, researchers rely on Margin Theory. The "margin" of a data point measures the classifier's confidence, defined as the difference between the total weight of base classifiers that predicted correctly and those that predicted incorrectly. In 1998, Schapire et al. established that if a voting classifier maintains large margins on its training data, it will generalize well.

The 25-Year Mathematical Gap

While Margin Theory provided a conceptual explanation, a nagging mathematical gap persisted for over 25 years. In learning theory, researchers seek to match "upper bounds" (the maximum possible error) with "lower bounds" (the minimum expected error). For voting classifiers over finite hypothesis sets, the best known upper bounds were loose by a factor of roughly $\sqrt{\ln(n)}$ compared to the lower bounds. This paper finally closes that gap, providing the first asymptotically tight margin-based generalization bound.

Methodology: Refining Random Discretization

This research is purely theoretical, relying on mathematical proofs rather than empirical datasets. The authors build upon a classic proof framework known as random discretization.

To prove a bound for a complex voting classifier $f$ (which utilizes continuous weights), the standard approach is to "discretize" it into a simpler classifier $g$ (which uses a small, fixed number of unweighted base classifiers). Because the set of all possible discretized classifiers is small, it is easier to prove they generalize well using a standard union bound. The core challenge lies in proving that the continuous classifier $f$ behaves similarly to its discretized counterpart $g$.

Previous proofs simplified the math by discarding certain "negative terms" in the error decomposition, which inadvertently introduced the loose $\sqrt{\ln(n)}$ factor. The authors of this paper achieve their breakthrough by carefully managing the cost of discretization through three key techniques:

  1. Rademacher Complexity: A measure of how well a class of functions can fit random noise, used here to analyze the previously discarded negative terms.
  2. The Contraction Inequality: Applied to bound the performance difference between the continuous $f$ and the random discretization $g$.
  3. Careful Function Construction: The authors define specific Lipschitz-continuous functions ($\phi$ and $\rho$) to "sandwich" the error terms, allowing the contraction inequality to be applied far more effectively than in previous attempts.

By retaining and analyzing the negative terms, the authors demonstrate that the discretization error actually cancels out a portion of the generalization error.

Key Results: A Universally Tight Bound

The paper's crowning achievement is Theorem 1.1, which establishes a new generalization upper bound that is "asymptotically tight." As the number of samples $n$ grows, this bound provides the most accurate possible prediction of generalization error across all parameters, including margin size, number of hypotheses, and failure probability.

Specifically, the new bound:

  • Matches the Lower Bound: It perfectly aligns with the existing lower bound established by Grønlund et al. (2020) across the entire parameter range.
  • Closes the Gap: It successfully removes the $\sqrt{\ln(n)}$ gap that plagued previous best-in-class bounds (such as Gao & Zhou, 2013).
  • Refines the Error Formula: The bound proves that the generalization error $L_D(f)$ is bounded by the training margin loss $L_S^\theta(f)$ plus terms that scale with $\sqrt{\frac{\ln(e/L_S^\theta(f)) \ln|H|}{\theta^2 n}}$. The inclusion of the $\ln(e/L_S^\theta(f))$ term is the mathematical key to this historic improvement.

Limitations and Future Directions

While this paper settles a major open problem, it comes with specific theoretical boundaries:

  • Finite vs. Infinite Sets: The proof specifically targets finite base hypothesis sets $H$ (e.g., decision stumps on a fixed grid). For infinite sets with a finite VC-dimension $d$ (like neural networks or deep trees), a similar theoretical gap still exists. Extending these refined discretization techniques to the VC-dimension setting remains a highly promising direction for future work.
  • Extreme Sample Sizes: The lower bound matched in this paper does not cover extreme edge cases where the number of samples $n$ is exponentially larger than the hypothesis set ($n > 2^{|H|^c}$). Though rarely relevant in applied machine learning, it remains an open theoretical curiosity.

Ultimately, this paper not only resolves a decades-old question in Margin Theory but also introduces a refined discretization framework that will likely prove valuable across other areas of statistical learning theory.

Summary updated

BibTeX
@inproceedings{larsen2026tight,
  author = {Kasper Green Larsen and Natascha Schalburg},
  title = {{Tight Margin-Based Generalization Bounds for Voting Classifiers over Finite Hypothesis Sets}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=iVj5Rdwb6I},
}
Figure