In classical statistics, there is a fundamental "law of parsimony": to avoid overfitting, a model should have fewer parameters than the number of data points it is trying to learn. Yet, modern deep learning turns this intuition on its head. We routinely train models with billions of parameters on datasets with only millions of examples, and instead of memorizing noise, these models generalize remarkably well.
The resolution to this paradox lies in a shift of perspective: the complexity of a neural network is not determined by how many parameters it has, but by how "large" those parameters are. By measuring the norms of weight matrices rather than counting individual neurons, researchers have developed a theory of generalization that remains valid even as models grow infinitely wide.
The Failure of Parameter Counting
Traditional complexity measures, such as VC dimension, scale with the number of trainable variables. As Andrew R. Barron and Jason M. Klusowski argue in Complexity, Statistical Risk, and Metric Entropy of Deep Nets Using Total Path Variation, these size-dependent approaches lead to "vacuous" bounds—theoretical predictions so pessimistic they suggest a model will fail, even when it is performing perfectly in practice.
If you have a million parameters and only a thousand data points, a parameter-counting theory says you can fit any random noise. But as Tong Zhang established in Some Theoretical Results Concerning the Convergence of Compositions of Regularized Linear Functions, the actual complexity of a regularized model is governed by weight constraints. If the weights are small, the model is "simple," regardless of its dimensionality.
Measuring Functional Magnitude
To understand why "small weights" lead to generalization, we need to look at how a network transforms its input. A network is a composition of layers, each performing a linear transformation followed by a non-linearity. The "capacity" of the network is essentially its ability to wiggle and stretch the input space to fit the labels.
Researchers use several norm-based metrics to quantify this stretching:
- Spectral Norms: This measures the maximum "gain" of a layer. If the product of spectral norms across all layers is small, the network is Lipschitz continuous—meaning small changes in the input cannot lead to wild swings in the output. Behnam Neyshabur and colleagues in A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networks showed that generalization is tied to this "sharpness."
- Frobenius Norms: While the spectral norm looks at the single most influential direction, the Frobenius norm captures the "total energy" of all weights in a layer.
- Total Path Variation: This looks at the product of weights along every possible path from input to output. Ahmed Abdeljawad describes this as the "representation cost" in Integral representations of shallow neural network with Rectified Power Unit activation function.
When we constrain these norms, we effectively limit the "volume" of functions the network can represent. This allows for width-independent bounds: a network with 10,000 neurons per layer can have the same theoretical complexity as one with 100 neurons, provided their weight norms are the same.
Architecture Specific Generalization
This norm-based lens has been successfully applied to explain the success of specific, complex architectures:
- Transformers: In Sequence Length Independent Norm-Based Generalization Bounds for Transformers, Jacob Trauger proves that a Transformer's ability to generalize does not degrade as the input sequence gets longer, because the complexity is bounded by the norms of the attention and feed-forward weights, not the sequence length.
- RNNs: Recurrent networks are often difficult to analyze because they apply the same weights repeatedly. Zhuozhuo Tu, Dacheng Tao, and Fengxiang He demonstrated in Understanding Generalization in Recurrent Neural Networks that by using the Fisher-Rao norm, one can derive bounds that are independent of the number of hidden units.
- CNNs: Antoine Ledent and Waleed Mustafa showed in Norm-based generalisation bounds for multi-class convolutional neural networks that weight sharing in CNNs naturally compresses the complexity, as the norm of a single filter is counted only once regardless of how many times it is applied.
The Implicit Bias of Optimization
If generalization depends on small norms, why do unconstrained networks generalize? The answer is implicit regularization. The algorithms we use to train networks, like Stochastic Gradient Descent (SGD), don't just find any solution; they biased toward solutions with small norms.
In Self-Regularity of Non-Negative Output Weights for Overparameterized Two-Layer Neural Networks, David Gamarnik and co-authors prove that for certain architectures, simply reaching a low training error automatically forces the weights to stay small. This "self-regularity" means that the architecture and the data distribution work together to keep the model simple.
Recovering the U-Curve
The most striking evidence for this theory is its explanation of "Double Descent"—the phenomenon where test error goes up and then back down as models get larger. Yichen Wang and colleagues argue in The $\varphi$ Curve: The Shape of Generalization through the Lens of Norm-based Capacity Control that double descent is an artifact of using parameter count as a proxy for complexity.
When you plot test risk against norm-based capacity (the "size" of the weights), the confusing double-descent disappears, and the classical U-shaped curve of statistical learning theory is recovered. This suggests that our classical intuitions weren't wrong; we were just measuring the wrong thing. In the regime of overparameterization, the scale of the weights is the true measure of a model's soul.