Understanding Generalization from Embedding Dimension and Distributional Convergence
Junjie Yu, Zhuoli Ouyang, Haotian Deng, Chen Wei, Wenxiao Ma, Jianyu Zhang, Zihan Deng, Quanying Liu
TL;DR
The paper advances a representation-centric theory of generalization for fixed neural networks, showing that population risk can be bounded by empirical risk plus terms that scale with the intrinsic dimension of intermediate embeddings and the Lipschitz amplification of downstream mappings. A key insight is a dimension-dependent Wasserstein convergence rate, $\mathbb{E}[\mathcal{W}_1(\tilde{P}_k^Z, \hat{\tilde{P}}_{k,n}^Z)] \lesssim C_k \; n^{-1/(d_k+\epsilon)}$, which becomes faster as the embedding distribution concentrates on lower-dimensional manifolds. The bound simplifies at the final layer, explaining why the final-layer embedding dimension robustly correlates with generalization across architectures and modalities. Empirically, the authors validate the theory across synthetic and real networks, including CNNs and large pretrained models, and demonstrate a joint dimension–Lipschitz tradeoff in intermediate layers as a causal driver of generalization. This work provides practical embedding-based diagnostics and a principled framework for analyzing generalization beyond parameter-count or hypothesis-class notions.
Abstract
Deep neural networks often generalize well despite heavy over-parameterization, challenging classical parameter-based analyses. We study generalization from a representation-centric perspective and analyze how the geometry of learned embeddings controls predictive performance for a fixed trained model. We show that population risk can be bounded by two factors: (i) the intrinsic dimension of the embedding distribution, which determines the convergence rate of empirical embedding distribution to the population distribution in Wasserstein distance, and (ii) the sensitivity of the downstream mapping from embeddings to predictions, characterized by Lipschitz constants. Together, these yield an embedding-dependent error bound that does not rely on parameter counts or hypothesis class complexity. At the final embedding layer, architectural sensitivity vanishes and the bound is dominated by embedding dimension, explaining its strong empirical correlation with generalization performance. Experiments across architectures and datasets validate the theory and demonstrate the utility of embedding-based diagnostics.
