Deep neural networks consistently defy classical statistical learning theory. Traditional metrics like VC-dimension or Rademacher complexity suggest that as models grow in parameter count, they should inevitably overfit. Yet, modern architectures with billions of parameters continue to generalize remarkably well to unseen data.
Presented at ICML 2026, "Understanding Generalization from Embedding Dimension and Distributional Convergence" offers a fresh, representation-centric perspective on this enduring mystery. By shifting the focus from a network's weights to the geometry of its learned embeddings, the authors derive a novel post-hoc generalization bound that provides practical ways to rank and diagnose trained models.
The Crisis in Classical Generalization
Classical generalization bounds are often "vacuous" when applied to deep learning, producing theoretical error estimates that vastly exceed the actual number of training data points. Furthermore, these a priori theories typically provide worst-case guarantees for an entire class of models, failing to explain why one specific trained network (e.g., a particular ResNet-50) generalizes better than another.
To bridge this gap, this paper abandons parameter-counting in favor of analyzing the space where the model "understands" the data: its internal representations. By evaluating the geometry of these embeddings after training, the authors provide a post-hoc explanation for generalization that scales effectively to modern architectures.
A Representation-Centric Generalization Bound
The researchers decompose a trained model into two distinct components: an encoder (which maps input data to an embedding space) and a tail map (which transforms that embedding into a final prediction). They then derive a generalization bound—specifically relating the gap between population risk and held-out empirical risk—based on two primary factors:
- Intrinsic Dimension (ID): Utilizing the framework of Wasserstein distance convergence, the authors demonstrate that if embeddings lie on a low-dimensional manifold, a small "held-out" sample is sufficient to accurately represent the true population distribution. They employ the Maximum Likelihood Estimator (MLE) to measure this intrinsic dimension.
- Lipschitz Continuity (Sensitivity): This measures the stability of the network's tail map. If a minor perturbation in the embedding space results in a massive shift in the output, the model is highly sensitive and less likely to generalize well.
By combining these two metrics, the resulting post-hoc bound evaluates a model's performance based on its ability to map data onto low-dimensional manifolds that remain stable under downstream processing.
Key Insights and Geometric Trade-offs
The "Speed Limit" of Learning
The paper proves that the intrinsic dimension of an embedding acts as a theoretical "speed limit" for how fast a model learns the true distribution of the data. A lower intrinsic dimension indicates that the model has effectively compressed the data, making it easier to generalize from fewer samples.
The Final Layer Simplification
At the final embedding layer of a network, the "tail map" is essentially the identity function. Consequently, architectural sensitivity (the Lipschitz constant) disappears from the equation. Generalization at this stage is almost entirely dominated by the intrinsic dimension of the final embeddings. This theoretical finding elegantly explains why numerous empirical studies have found final-layer ID to be a highly reliable predictor of model performance.
The Width Trade-off
In a revealing experiment, the authors artificially narrowed the width of a middle layer in a Multi-Layer Perceptron (MLP). While this successfully reduced the intrinsic dimension (theoretically improving generalization), it simultaneously caused the Lipschitz constant of the tail map to spike (harming generalization). This highlights a crucial balance: simply "compressing" a network's representations is insufficient; one must balance geometric simplicity with mapping stability.
Empirical Validation Across Scales and Modalities
The researchers validated their theory across a diverse range of datasets and architectures, proving its applicability beyond toy models:
- Scaling Laws: The Wasserstein distance between empirical and population distributions scaled exactly as predicted by their dimension-dependent theory.
- Strong Correlations: Across ResNet models (ResNet-18 to ResNet-152) on CIFAR-10 and CIFAR-100, the generalization gap correlated highly with both intrinsic dimension and Wasserstein distance.
- Large-Scale Vision and Language Models: The relationship held for massive pretrained models. On ImageNet-1K, ConvNeXt-XXLarge exhibited lower intrinsic dimensions and better generalization than its smaller counterparts. Similarly, on the MNLI dataset, large language models like DeBERTa-XLarge outperformed smaller models like DistilBART while maintaining lower intrinsic dimensionality.
- Predictive Power: The geometric properties measured on smaller, easily analyzable models (like ResNet-18) successfully predicted the generalization trends of much larger models.
Limitations and Future Directions
While this representation-centric bound marks a significant step forward, the authors note a few limitations:
- Data Dependency: The current mathematical framework requires an independent, held-out dataset. It cannot evaluate generalization using the training data itself, as the model's weights are statistically entangled with the training samples, violating necessary i.i.d. assumptions.
- Lipschitz Estimation: Calculating the exact Lipschitz constant for deep, non-linear networks remains computationally prohibitive. The authors relied on the product of spectral norms as a proxy, which can result in a loose estimate.
- Static Analysis: The bound provides a static snapshot of a fixed model. It does not capture optimization dynamics, such as how different optimizers (e.g., Adam vs. SGD) navigate the loss landscape to arrive at different embedding geometries.
Future work will likely focus on developing more sample-efficient estimators for these geometric properties, transforming this theoretical breakthrough into an everyday diagnostic tool for deep learning practitioners.
Summary updated