Abstract
Deep learning models generalize remarkably well despite their capacity to overfit. While numerous generalization measures have been proposed, their evaluation often relies on average performance across datasets. This paper introduces a framework based on distributional robustness, demonstrating that existing measures fail catastrophically under specific hyperparameter interventions. By analyzing 24 candidate measures across over 1.6 million experiment pairs, we show that no current measure is globally robust, often performing no better than a coin flip in worst-case scenarios.
Introduction
Deep learning presents a fundamental mystery: why do massive neural networks, which have enough capacity to memorize random noise, generalize so well to new data? To solve this, researchers have proposed dozens of "complexity measures"—mathematical formulas based on norms, flatness, or PAC-Bayes bounds—that aim to predict a model's generalization gap.
Recently, large-scale empirical studies attempted to rank these measures by calculating their average correlation with generalization across thousands of models. However, this paper argues that averaging is the wrong tool for scientific validation. A robust theory should not just be right "on average"; it should hold reliably across different hyperparameter interventions. If a measure predicts generalization well when changing model width but fails completely when changing the learning rate, it has not captured the underlying causal mechanism of generalization.
Methodology: Environments as Interventions
The authors shift the focus from average performance to robustness across environments. They define an "environment" as a set of experiments where only one hyperparameter (e.g., depth, width, or learning rate) is varied while others are held constant. This mimics a causal intervention.
To evaluate performance, they use "sign-error"—the probability that a measure incorrectly predicts which of two models generalizes better. Crucially, they look at the maximum (worst-case) sign-error across all environments. To ensure statistical validity, a Monte Carlo noise filtering scheme is introduced to penalize measures only when they fail on statistically significant generalization differences.
Results: The Failure of Global Robustness
The study leverages a massive empirical dataset involving CIFAR-10 and SVHN, thousands of convolutional architectures, and over 1.6 million pairs of experiments. The most striking finding is that no existing measure is globally robust.
As shown in the figure above, for every one of the 24 measures tested, there was at least one environment where the measure predicted the wrong direction of change in generalization 100% of the time (Max Sign-Error = 1.0). While some measures are "locally" robust—for instance, PAC-Bayes measures handle changes in depth well—they often fail when learning rates or training set sizes are varied. Interestingly, training set size proved to be the "easiest" intervention for measures to track, while width variations often produced noisy signals that obscured measure performance.
Discussion and Limitations
The study was limited to architectures without skip-connections (like ResNets) due to the mathematical difficulty of applying many theoretical bounds to residual paths. Furthermore, the authors did not intervene directly on optimizer dynamics like batch size schedules.
Ultimately, this work does not provide a single "winning" measure but rather a rigorous evaluation framework. By moving beyond average correlations to worst-case robustness, researchers can zero-in on the specific conditions where current theories fail, paving the way for more reliable and universal theories of deep learning generalization.
Summary updated