Generalizability of Neural Networks Minimizing Empirical Risk Based on Expressive Power

Lijia Yu, Yibo Miao, Yifan Zhu, Xiao-Shan Gao, Lijun ZhangICLR 2025

Introduction

In classical machine learning theory, model complexity is governed by a strict trade-off: if a model is too simple, it underfits; if it is too complex, it overfits the training noise and fails to generalize to unseen data. This trade-off is traditionally quantified by metrics such as VC-dimension or Rademacher complexity. However, modern deep learning consistently defies this paradigm. Massive, over-parameterized neural networks often generalize significantly better than their smaller counterparts.

Existing attempts to explain this "generalization mystery" typically rely on highly restrictive mathematical assumptions—such as the Neural Tangent Kernel (NTK) regime or the strict convexity of the empirical loss—which fail to capture the reality of practical neural network training. To bridge this gap, this paper introduces a novel framework that shifts the focus from traditional model complexity to the expressive ability required to represent an underlying data distribution. By doing so, the authors establish new generalization bounds for networks minimizing empirical risk, proving mathematically that over-parameterization actively aids generalization.

Methodology: Expressive Power and Empirical Risk

The authors analyze the standard practice of Empirical Risk Minimization (ERM), where a network is trained to achieve the lowest possible error on a training dataset. To understand how ERM leads to generalization, they introduce a new sample complexity bound rooted in a distribution's "expressive ability."

Specifically, the complexity of a data distribution is defined by the minimum network width ($W_0$) required to represent it with a given level of confidence. While the paper provides preliminary extensions to deep networks, its rigorous mathematical proofs primarily focus on two-layer ReLU networks—a standard proving ground for deep learning theory.

A key methodological breakthrough in this work is the demonstration of independent scaling. Unlike classic bounds where model size and dataset size are inextricably tangled, the authors' new bound reveals that increasing the number of training samples ($N$) and the network width ($W$) independently leads to improved population accuracy. Furthermore, the framework is extended to "q-approximation" networks, acknowledging that practical optimization rarely achieves the absolute global minimum of a loss function.

Key Insights into Deep Learning Phenomena

By framing generalization around expressive power, the paper provides theoretical justification for several observed phenomena in deep learning:

  • Over-parameterization is a Feature, Not a Bug: The authors demonstrate that if a network is sufficiently large ($W \geq \Omega(W_0)$), achieving a small training error almost guarantees high test accuracy. This mathematical formulation directly justifies why larger models perform better in practice.
  • The "Cost" of Expression: Generalization is fundamentally tied to how easily a network can express the underlying data. Complex distributions require more data to accurately "pin down" the correct parameters.
  • The Impact of Architecture and Activation: The choice of model architecture can drastically alter the amount of data required to generalize. For instance, on synthetic periodic data, a network utilizing Sine activations requires significantly fewer samples to generalize than one relying on standard ReLU activations.
  • The Difficulty of Robustness: The framework explains why models trained to be robust against adversarial perturbations are harder to optimize. Robust features are inherently more complex to express, necessitating larger networks or substantially more training data to avoid a "robustness generalization gap."
  • Loss Function Pitfalls: The theoretical analysis reveals that certain loss functions (such as Mean Squared Error in specific classification contexts, or strictly concave functions) can actively prevent a network from generalizing well, even if the empirical training error is driven to zero.

Theoretical and Empirical Results

The core theoretical contribution of the paper is a novel generalization bound (Theorem 4.4), which demonstrates that population accuracy is bounded by $1 - O(\frac{W_0}{cW} + \dots)$. Crucially, the network width $W$ appears in the denominator. This implies that as the network width increases, the error bound shrinks, formally linking over-parameterization to tighter generalization guarantees.

Additionally, the authors establish a sample complexity lower bound. They prove that for any data distribution requiring a width $W_0$ to express, a minimum of $\Omega(W_0)$ data points is generally required to ensure generalization.

These theoretical findings are validated empirically using the MNIST dataset. The experiments confirm that accuracy consistently improves as network width scales from 100 to 1,000 parameters. Furthermore, the results show that larger networks achieve peak performance using a smaller fraction of the total training data compared to smaller, under-parameterized networks.

Limitations and Future Directions

While this framework offers a robust alternative to NTK-based bounds, the authors acknowledge several areas for future exploration. First, extending these bounds to deep, multi-layer networks currently yields relatively loose results; the mathematical complexity of deep architectures makes deriving tight, polynomial bounds challenging. Second, while the theory relies on the expressive cost ($W_0$) of a distribution, calculating this exact value for complex, high-dimensional real-world datasets like ImageNet remains an open problem. Finally, the current analysis focuses entirely on the result of training (minimizing empirical risk) rather than the process—specifically, the implicit regularization provided by the specific optimization path taken by Stochastic Gradient Descent (SGD), which many researchers believe is also critical to understanding generalization.

Summary updated

BibTeX
@inproceedings{yu2025generalizability,
  author = {Lijia Yu and Yibo Miao and Yifan Zhu and Xiao-Shan Gao and Lijun Zhang},
  title = {{Generalizability of Neural Networks Minimizing Empirical Risk Based on Expressive Power}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=8wAL9ywQNB},
}
Figure