TL;DR
This paper provides a rigorous theoretical foundation for neural scaling laws by analyzing shallow networks in the "feature learning" regime. By mapping these networks to sparse estimation problems (like LASSO), the authors derive a complete "phase diagram" of scaling exponents and demonstrate that a network's generalization ability is fundamentally tied to the spectral properties (eigenvalues) of its learned weights.
The Challenge: Scaling Laws in Feature Learning
Empirically, as neural networks are given more data, parameters, and compute, their performance improves following predictable "scaling laws." However, theoretical understanding of why these specific exponents appear has largely been limited to "lazy" models (like kernel methods), where the internal features of the network remain static during training.
In reality, the power of deep learning stems from feature learning—the network's ability to adapt its internal representations to the data. This paper tackles the difficult task of deriving scaling laws for models that actively learn features. Specifically, it investigates how excess risk (error on unseen data) scales with the number of samples ($n$) and regularization strength ($\lambda$) in shallow networks.
Methodology
To bridge the gap between deep learning and classical signal processing, the authors focus on two specific architectures that permit exact mathematical mapping:
- Diagonal Linear Networks: Shown to be equivalent to the LASSO problem (sparse vector estimation).
- Quadratic Neural Networks: Mapped to Matrix Compressed Sensing (low-rank matrix estimation).
The researchers utilize Approximate Message Passing (AMP) and its associated State Evolution (SE) equations to predict the behavior of the global minimizer of the training loss in high-dimensional settings. Crucially, they employ a "teacher-student" setup where the target task has a power-law spectrum (a few features are highly important, while many others are progressively less so), mirroring the structure of real-world datasets. Theoretical predictions are validated against numerical simulations using standard optimizers (LBFGS in PyTorch) on high-dimensional i.i.d. Gaussian inputs.
Key Insights and the Phase Diagram
- Universality Across Architectures: Despite structural differences, diagonal and quadratic networks exhibit a striking universality, sharing the same scaling exponents and phase transitions.
- The Scaling Phase Diagram: Scaling laws are not governed by a single rule. The authors identify a complex map of distinct regimes (phases). Depending on the ratio of data to dimensions and the strength of weight decay, the scaling exponent of the error changes dramatically.
- Spectra as a Proxy for Generalization: The authors establish a first-principles link between the weight spectrum (the distribution of eigenvalues) and model performance. They demonstrate that "underfitting" corresponds to unlearned spikes in the spectrum, while "overfitting" manifests as a "bulk" of noisy eigenvalues.
- Heavy-Tailed Validation: The paper provides a theoretical justification for recent empirical observations that heavy-tailed weight spectra correlate with better generalization in large-scale models like LLMs.
- Benign vs. Harmful Overfitting: The study characterizes the "interpolation peak" (akin to double descent) and shows how optimal regularization or pruning can effectively bypass this bottleneck to achieve Bayes-optimal performance.
Key Results
- Precise Scaling Exponents: The authors derive specific rates for excess risk, such as $n^{-1+1/(2\gamma)}$ in certain data-scarce regimes, where $\gamma$ represents the decay rate of the target features.
- Optimal Pruning: They prove that a simple pruning strategy—setting small eigenvalues to zero—can achieve optimal error rates without the need to manually tune the regularization strength $\lambda$.
- State Evolution Robustness: The State Evolution equations, traditionally proven only for specific "proportional" regimes, are shown to remain remarkably accurate across all scales of $n, d,$ and $\lambda$.
Limitations and Future Work
- Shallow Architectures: The current analysis is limited to two-layer networks. Extending these feature learning mappings to deep, multi-layer architectures remains a significant mathematical hurdle.
- Gaussian Assumptions: The proofs rely on Gaussian input data. While the authors suspect these results are universal, real-world data contains complex dependencies that might alter scaling behavior.
- Global Minimizers vs. Training Dynamics: The work focuses on the properties of the minimizer (the end state of training). Future research is needed to understand how the specific trajectory of Gradient Descent influences these scaling laws, particularly regarding implicit biases toward heavy-tailed distributions.
Summary updated