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

Improving Generalization Bounds for VC Classes Using the Hypergeometric Tail Inversion

Jean-Samuel Leboeuf, Frédéric Leblanc, Mario MarchandarXiv 2021

Abstract

We significantly improve the generalization bounds for VC classes by using two main ideas. First, we consider the hypergeometric tail inversion to obtain a very tight non-uniform distribution-independent risk upper bound for VC classes. Second, we optimize the ghost sample trick to obtain a further non-negligible gain. These improvements are then used to derive a relative deviation bound, a multiclass margin bound, as well as a lower bound. Numerical comparisons show that the new bound is nearly never vacuous, and is tighter than other VC bounds for all reasonable data set sizes.

Introduction

In statistical learning theory, generalization bounds provide the mathematical guarantees that a model's performance on a training set will generalize to unseen data. For decades, the Vapnik-Chervonenkis (VC) dimension has been the standard metric for hypothesis class complexity. However, a persistent criticism of VC-based bounds is that they are often "vacuous" in practice—yielding error estimates (e.g., >100%) that are technically correct but practically useless for real-world dataset sizes.

While advanced techniques like "chaining" improve asymptotic behavior as the sample size $m$ approaches infinity, they often only become tighter than simpler bounds at astronomical scales (e.g., $10^{335}$ times the VC dimension). This paper addresses this gap by introducing a distribution-independent bound that is tight enough to be informative for practitioners working with standard datasets.

Methodology

The authors refine the standard proof architecture for VC bounds—specifically the symmetrization and ghost sample tricks—through two primary mathematical innovations:

1. Hypergeometric Tail Inversion (HTI)

Standard VC proofs typically utilize binomial distributions or Hoeffding’s inequality to approximate the probability of error during the symmetrization step. This step involves comparing a real training sample to a theoretical "ghost" sample. The authors observe that this process is exactly described by a hypergeometric distribution (sampling without replacement). By employing the exact pseudo-inverse of this distribution's tail rather than a continuous approximation, the authors eliminate the looseness inherent in traditional Gaussian or binomial bounds.

2. Ghost Sample Optimization

A common convention in VC proofs is to set the size of the ghost sample ($m'$) equal to the training sample size ($m$). This paper treats $m'$ as a tunable hyperparameter. The authors demonstrate that by selecting an optimal $m'$—often 4 to 100 times larger than $m$—the resulting bound can be tightened by an additional 8% to 10%. This flexibility allows the bound to be minimized "ahead of time," independent of specific training errors.

Numerical Evaluation

To validate the HTI bound, the authors conducted extensive numerical simulations across a broad parameter space:

  • Sample sizes ($m$): 50 to 1,000,000.
  • VC dimensions ($d$): 5 to 100.
  • Empirical risks ($R_S$): 0 to 0.5.

This approach allows for a direct comparison between the HTI bound and established benchmarks such as Vapnik’s pessimistic bound, Vapnik’s relative deviation bound, and Catoni’s bound.

Key Results

The Hypergeometric Tail Inversion approach yields several significant improvements over existing literature:

  • Early Non-Vacuosity: The HTI bound becomes informative much earlier than its counterparts. For a VC dimension of 50, the HTI bound becomes non-vacuous (less than 1.0) at a sample size of $m \approx 54$. In comparison, Catoni’s bound requires $m \approx 750$, and Lugosi’s chaining bound requires $m > 100,000$.
  • Efficiency in the Realizable Case: When training error is zero ($R_S = 0$), the HTI bound is nearly twice as tight as Catoni’s bound for moderate sample sizes. It also achieves the optimal $O(d/m)$ rate, which many complex chaining bounds fail to reach.
  • Consistent Superiority: Across all tested ranges of $m$ and $d$, the HTI bound remained tighter than Vapnik and Catoni alternatives, effectively bridging the gap between the "realizable" (zero error) and "agnostic" (non-zero error) cases.

Discussion and Future Work

While the HTI bound represents a significant step forward, it still contains a $\sqrt{\log(m/d)}$ factor in the agnostic case that is mathematically suboptimal compared to chaining techniques. However, for all "reasonable" dataset sizes encountered in modern machine learning, the HTI bound remains the tighter choice due to its superior constant factors.

Calculating the pseudo-inverse of the hypergeometric tail requires numerical solvers, but the authors provide a Python implementation to facilitate its use. Future research may focus on integrating hypergeometric inversion with chaining techniques to combine tight constants with optimal asymptotic rates, potentially creating the definitive generalization bound for VC classes.

Summary updated

BibTeX
@misc{leboeuf2021improving,
  author = {Jean-Samuel Leboeuf and Frédéric Leblanc and Mario Marchand},
  title = {{Improving Generalization Bounds for VC Classes Using the Hypergeometric Tail Inversion}},
  year = {2021},
  eprint = {2111.00062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.00062},
}
Figure