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

Robustness Implies Generalization via Data-Dependent Generalization Bounds

Kenji Kawaguchi, Zhun Deng, Kyle Luh, Jiaoyang Huang

TL;DR

This paper resolves a decade-old open problem in machine learning theory by proving that algorithmic robustness implies generalization through a novel lens: data-dependent bounds. By replacing the worst-case dependence on the sample space's "covering number" with a term based on the actual observed training data, the authors provide generalization guarantees that are exponentially tighter for high-dimensional models like deep neural networks.

The Problem: The Curse of Dimensionality in Robustness

In machine learning, a central goal is to ensure that a model performing well on training data will also generalize to unseen data. One highly influential framework for proving this is algorithmic robustness, which posits that if a model’s loss doesn't fluctuate significantly when its input is slightly perturbed, it will generalize well.

However, the classic robustness bounds established by Xu & Mannor in 2010 suffered from a critical flaw: they depended on the square root of the "covering number" ($K$) of the sample space. In high-dimensional settings—which are standard in modern deep learning—$K$ grows exponentially with the number of dimensions. This made the theoretical bounds practically useless, as they would often predict a generalization error vastly larger than the actual observed loss.

While researchers suspected that this $\sqrt{K}$ dependence could be reduced, a known "worst-case" lower bound seemed to suggest it was mathematically unavoidable. This paper challenges that assumption, arguing that the "worst-case" scenario does not reflect the "common case" of real-world data, and seeks a way to bypass this limitation using the properties of the training data itself.

The Solution: Data-Dependent Bounds

The authors' primary innovation is shifting from a uniform (worst-case) analysis to a non-uniform, data-dependent analysis. They achieve this through three key technical steps:

  1. New Multinomial Concentration Bounds: The core technical contribution is a series of new concentration inequalities for multinomial random variables. Standard bounds treat all possible outcomes (or "bins" in the sample space) equally. The authors developed a bound that focuses exclusively on the bins actually occupied by the training data.
  2. Replacing $K$ with $|\mathcal{T}_S|$: They replace the massive covering number $K$ with $|\mathcal{T}_S|$, which represents the number of distinct regions in the sample space that actually contain at least one training point.
  3. Hypothesis-Specific Loss Bounds: Instead of using a global maximum loss value for the entire hypothesis space, their bound uses the maximum loss of the specific model produced by the algorithm on that specific dataset.

Together, these changes allow the bound to effectively "ignore" the vast, empty regions of high-dimensional space that the training data never visits.

Key Insights

  • The "Empty Space" Insight: In high dimensions, real-world data typically sits on a low-dimensional manifold. While the total number of possible bins ($K$) is astronomical, the number of bins actually hit by data ($|\mathcal{T}_S|$) is remarkably small. By making the bound depend on $|\mathcal{T}_S|$, the authors capture the reality that a model only needs to be "robust" where the data actually lives.
  • Bypassing the Lower Bound: Previous work showed that improving on $\sqrt{K}$ was impossible in a distribution-independent way. This paper succeeds by being data-dependent. It demonstrates that the previous lower bounds were based on pathological distributions that do not resemble real-world datasets.

Empirical Validation

The authors validated their theoretical findings using both synthetic benchmarks (samples drawn from Beta distributions and Gaussian mixture models) and real-world image classification datasets (MNIST, CIFAR-10/100, SVHN, etc.).

The results demonstrate a massive gap between the old theory and the new data-dependent theory. In synthetic tests, as the dimension $d$ increases, the old $K$ value explodes exponentially, while the new $|\mathcal{T}_S|$ term remains nearly flat.

Comparison of the covering number K and the data-dependent term |T_S| across various synthetic distributions. K explodes exponentially with dimensionality d, while |T_S| remains flat.

On real-world datasets like CIFAR-100, the difference is similarly staggering, with $|\mathcal{T}_S|$ proving to be several orders of magnitude smaller than $K$. Ultimately, the authors show their refined bounds immediately improve theoretical guarantees for a wide range of applications, including Lasso regression, Principal Component Analysis (PCA), and deep neural networks.

Limitations and Future Work

While a significant breakthrough, the approach has a few limitations:

  • Post-hoc Nature: Because the bound is data-dependent, it cannot be calculated before observing the training data. It serves as a "post-hoc" diagnostic tool rather than a predictive one for experimental design.
  • Partition Choice: The bound still requires choosing a partition (or covering) of the sample space. While the authors propose using unlabeled data or random projections to help define these partitions, the choice remains a hyperparameter that affects the tightness of the bound.

Looking forward, the authors suggest their improved multinomial concentration bounds could be of independent interest in broader areas of statistics and probability theory, extending well beyond machine learning generalization.

Summary updated

BibTeX
@inproceedings{kawaguchi2022robustness,
  author = {Kenji Kawaguchi and Zhun Deng and Kyle Luh and Jiaoyang Huang},
  title = {{Robustness Implies Generalization via Data-Dependent Generalization Bounds}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=irvgpnDU1y59},
}
Figure