TL;DR
Many popular "post-mortem" generalization measures—diagnostics computed from trained neural network weights to explain why deep learning works—are surprisingly fragile. Routine, benign tweaks like changing the learning rate or swapping SGD for Adam can completely reverse a measure's qualitative trend, even when the network's actual test error barely budges. This position paper argues that before we use any generalization measure as an explanation, we should put it through a standardized fragility audit.
What Problem Does This Paper Address?
In deep learning, researchers often use mathematical generalization bounds and complexity proxies (like weight norms, flatness, or PAC-Bayes bounds) not just as formal guarantees, but as explanatory diagnostics—tools to tell a story about why a trained network generalizes.
The catch? Most of these measures are computed post-mortem from the trained weights. While large-scale benchmarks have shown that no single measure explains everything, they typically average correlations across many settings, which can hide catastrophic local failures. The authors highlight a critical gap: if two training runs produce essentially the same test error, yet a proposed generalization measure jumps by orders of magnitude or flips its learning-curve slope, that measure is tracking optimizer-induced parameter geometry rather than true generalization. Conversely, some measures are stable across optimizers but completely blind to how hard the dataset actually is.
Methods
To operationalize their position, the authors propose a fragility audit built around three controlled stressors, plus a quantitative instability score:
- Hyperparameter & Learning-Curve Stressors: Varying training sample size $n$ while nudging a single benign hyperparameter (e.g., swapping SGD with momentum for Adam, or changing the learning rate from $0.01$ to $0.001$ with no early stopping).
- Temporal Stressors: Tracking the measure across training epochs, specifically comparing behavior before and after $T_{\text{int}}$ (the first epoch where training accuracy hits 100%).
- Data-Complexity Stressors: Testing whether a measure responds appropriately to label-corruption sweeps and dataset swaps of varying difficulty.
To quantify matched-error instability, the authors introduce Conditional Measure Spread (CMS) and excess CMS (eCMS). CMS measures the typical multiplicative change ($\exp(\text{CMS}_\delta)$) in a generalization measure among pairs of runs whose test errors differ by at most $\delta$. eCMS subtracts random-seed variation from cross-hyperparameter variation to isolate pipeline-driven instability.
As a calibration baseline, they also evaluate a function-space marginal-likelihood PAC-Bayes bound (ML-PACBayes), which operates in function space via a Gaussian-process (GP) prior and is therefore inherently insensitive to optimizer paths and parameter scale.
Datasets
- Image Classification: MNIST, FashionMNIST (including a binarized version for label-corruption sweeps), and CIFAR-10, evaluated primarily on ResNet-50 (and ResNet-18 / LeNet-5 for compression-bound experiments).
- Compact Transformers (Appendix K): A Vision Transformer (ViT-Ti) trained from scratch on MNIST, FashionMNIST, and CIFAR-10, and a 4-layer text Transformer trained from scratch on AG-NEWS and IMDB.
Key Insights and Ideas
- Optimizer and learning-rate tweaks reverse learning curves: Even strong norm-based proxies like the path norm tell incompatible stories under minor pipeline changes. On ResNet-50 with FashionMNIST, SGD with momentum produces a clean log-linear decrease in path norm as $n$ grows; swapping to Adam ($lr=0.01$) turns it into a U-shaped curve; dropping Adam's learning rate to $0.001$ causes a multi-order-of-magnitude collapse—all while test error remains on the same scale.
- Post-interpolation drift confounds snapshots: After a network hits 100% training accuracy ($T_{\text{int}}$), test error plateaus, but norm-based measures can keep drifting upward or downward depending on the optimizer, making post-mortem snapshots dependent on when you stop training.
- Stability isn't enough—some measures are blind to data difficulty: Parameter-space PAC-Bayes proxies like
PACBAYES_ORIGare much more stable across optimizers than path norms, but they fail a different test: they produce nearly identical learning-curve slopes across MNIST, FashionMNIST, and CIFAR-10, missing the clear separation in actual test error. By contrast, the function-space ML-PACBayes baseline tracks both dataset ordering and sample-size scaling. - Tightness can be misleading: Auditing state-of-the-art PAC-Bayes compression bounds reveals that their numerical tightness is often driven by a large quantized training error (bias), while the KL/code-length complexity term remains nearly flat with respect to sample size $n$.
- Architecture matters: Compact vision and text Transformers exhibit the same qualitative failures (trend reversals under optimizer changes and blindness to dataset difficulty), but individual measure rankings shift—for instance,
PACBAYES_INITis fragile in CNNs yet among the most stable in Transformers.
Key Results
- CMS / eCMS Tiers (at $\delta \in \{0.01, 0.02, 0.05\}$): Across 24 measures on CNNs, parameter count scores $0$;
PACBAYES_MAG_*,FRO_OVER_SPEC, and inverse margin stay below $0.32$ (a typical factor $< 1.4$);PACBAYES_ORIGandPACBAYES_FLATNESSare intermediate ($0.42\text{--}0.70$, factor of $1.5\text{--}2$);PACBAYES_INIT, path norms, and Frobenius/spectral distances from initialization reach $0.65\text{--}1.81$ (factor of $1.9\text{--}6.1$); and layerwise products (PROD_OF_*,SPEC_*_MAIN) exceed $45$. - Transformers: At $\delta = 0.02$, median CMS is $0.52$ for
PACBAYES_ORIG(factor of $1.7$), $4.39$ for the layerwise spectral-norm product (factor of $\sim 81$), and $0.10$ forPACBAYES_INIT(compared to $\approx 1.05$ in CNNs).
Limitations and Future Work
The authors note that their main audits are conducted on controlled, relatively small-scale supervised image-classification and compact Transformer benchmarks. Pretrained, self-supervised, and large language models remain to be audited—and doing so will require first specifying the exact target of explanation. Additionally, CMS/eCMS are proposed operationalizations rather than canonical definitions, and the GP-based ML-PACBayes baseline is a calibration tool that cannot capture finite-width feature learning or optimizer-specific effects. Moving forward, the authors urge the community to report fragility audits alongside any tightness claims, and to develop data-aware, reparameterization-invariant measures.
Summary updated