Abstract
A central theme of the modern machine learning paradigm is that larger neural networks achieve better performance on a variety of metrics. Theoretical analyses of these overparameterized models have recently centered around studying very wide neural networks. In this tutorial, we provide a nonrigorous but illustrative derivation of the following fact: in order to train wide networks effectively, there is only one degree of freedom in choosing hyperparameters such as the learning rate and the size of the initial weights. This degree of freedom controls the richness of training behavior: at minimum, the wide network trains lazily like a kernel machine, and at maximum, it exhibits feature learning in the active $\mu$P regime. In this paper, we explain this richness scale, synthesize recent research results into a coherent whole, offer new perspectives and intuitions, and provide empirical evidence supporting our claims. In doing so, we hope to encourage further study of the richness scale, as it may be key to developing a scientific theory of feature learning in practical deep neural networks.
Introduction: The Problem of Scale
Modern deep learning relies on the observation that increasing model width generally improves performance. However, theoretical frameworks for understanding these wide networks often diverge. The Neural Tangent Kernel (NTK) regime posits that infinitely wide networks behave as linear models with fixed features—a phenomenon known as "lazy training." Conversely, practical networks clearly exhibit "rich" feature learning. This tutorial bridges these perspectives by introducing the richness scale, a single parameter that governs the transition from lazy to active training regimes.
Methods: A 3-Layer Framework for Scaling
To demystify the complex mathematics of regimes like Maximal Update Parameterization (μP), we analyze a 3-layer linear model. This model serves as a tractable proxy for understanding signal propagation and gradient flow in deeper architectures.
We impose three fundamental criteria for well-behaved training as width $n$ increases:
- Nontriviality (NTC): The change in network output must neither explode nor vanish as width increases.
- Useful Update (UUC): Each layer's weight update must contribute meaningfully to reducing the loss.
- Maximality (MAX): Weight updates should significantly alter hidden representations, ensuring no layer remains a "dud."
By solving for the gradient multipliers ($g_\ell$) and initialization scales ($\sigma_\ell$) under these constraints, we derive a spectrum of valid parameterizations that maintain stability at scale.
Key Insights: The Richness Scale
The primary finding is that training behavior exists on a spectrum defined by a richness parameter $r$.
- The Spectrum ($r$): At $r=0$, we recover the NTK regime where updates are minimal (lazy). At $r=0.5$, we reach the $\mu$P regime, achieving maximal feature learning. Values of $r > 0.5$ lead to numerical instability and exploding gradients.
- Weight Alignment: Gradient descent naturally aligns weights with their inputs. Without proper scaling, this alignment causes signal magnification that can destabilize wide networks.
- Initial Output Scaling: Rich feature learning requires the network to start with small outputs. Forcing $O(1)$ initial outputs necessitates the lazy regime to maintain stability.
- Gauge Freedom: Many existing parameterizations in the literature (e.g., Mean-Field) are shown to be mathematically equivalent "gauges" of the same underlying richness scale.
Empirical Results
The theoretical derivations were validated using synthetic Gaussian data for linear models and the CIFAR-10 dataset for a Myrtle-5 CNN.
- Scaling Laws: Empirical measurements of representation updates ($\|\Delta h\| \sim n^r$) perfectly match theoretical predictions across varying widths for both linear and non-linear models.
- Stability Limits: Training remains stable only within the $0 \le r \le 0.5$ range. Outside this window, models suffer from either vanishing updates or immediate divergence, explaining why standard initializations often fail for extremely wide networks.
Discussion and Limitations
While the linear model provides an intuitive derivation, its direct application to non-linear networks with activations like ReLU is supported here primarily through empirical evidence. Furthermore, while this work establishes how to achieve the rich regime, it does not quantify the quality of learned features or their ultimate impact on generalization. Future work should aim to isolate the effects of richness from other hyperparameters to build a comprehensive scientific theory of feature learning in deep neural networks.
Summary updated