Abstract
Training strategies for modern deep neural networks (NNs) tend to induce a heavy-tailed (HT) empirical spectral density (ESD) in the layer weights. While previous efforts have shown that the HT phenomenon correlates with good generalization in large NNs, a theoretical explanation of its occurrence is still lacking. Especially, understanding the conditions which lead to this phenomenon can shed light on the interplay between generalization and weight spectra. Our work aims to bridge this gap by presenting a simple, rich setting to model the emergence of HT ESD. In particular, we present a theory-informed setup for 'crafting' heavy tails in the ESD of two-layer NNs and present a systematic analysis of the HT ESD emergence without any gradient noise. This is the first work to analyze a noise-free setting, and we also incorporate optimizer (GD/Adam) dependent (large) learning rates into the HT ESD analysis. Our results highlight the role of learning rates on the Bulk+Spike and HT shape of the ESDs in the early phase of training, which can facilitate generalization in the two-layer NN. These observations shed light on the behavior of large-scale NNs, albeit in a much simpler setting.
Introduction
In modern deep learning, the "shape" of a weight matrix's eigenvalues—its Empirical Spectral Density (ESD)—provides a window into the learning process. Well-trained, large-scale models often exhibit heavy-tailed (HT) distributions, where a few eigenvalues are significantly larger than the rest. While empirical studies have linked these heavy tails to superior generalization, the mechanisms driving their emergence, particularly during early training, have remained elusive.
Previous theories often attributed this phenomenon to "gradient noise" inherent in stochastic gradient descent (SGD). This research challenges that assumption, demonstrating that heavy tails can be "crafted" in a deterministic, noise-free environment through the strategic use of learning rates and specific optimizers like Adam.
Methodology: The Teacher-Student Framework
To isolate the drivers of spectral evolution, the authors utilize a Teacher-Student framework. A two-layer "Student" network is trained to approximate a "Teacher" model (a single-index model). Crucially, these experiments are conducted in a gradient-noise-free setting using full-batch Gradient Descent (GD) and Full-batch Adam (FB-Adam).
The analysis focuses on:
- Spectral Monitoring: Tracking the ESD of the hidden layer weight matrix ($W^\top W$).
- Power-law Quantification: Using the Hill estimator and Kolmogorov-Smirnov (KS) statistics to measure the "heaviness" of the distribution tails.
- Theoretical Scaling: Deriving the learning rate scales ($\eta$) necessary for different optimizers to induce a "spike" (an outlier eigenvalue), which serves as the precursor to a heavy tail.
Datasets and Benchmarks
While the primary theoretical analysis uses Synthetic Data (isotropic Gaussian inputs), the authors validate their findings on standard benchmarks. They tested deeper architectures, specifically VGG11 and ResNet18, on the CIFAR10, MNIST, and SVHN datasets to ensure the observed spectral phenomena generalize beyond simple models.
Key Insights: The Evolution of Weight Spectra
The "5+1" Phase Model
The research supports a model where ESDs evolve through distinct stages: Random-like $\rightarrow$ Bleeding-out $\rightarrow$ Bulk+Spike $\rightarrow$ Bulk-Decay $\rightarrow$ Heavy-Tailed $\rightarrow$ Rank-Collapse. The transition from a simple "spike" (representing the signal learned from the teacher) to a full "heavy tail" occurs as the signal interacts with the "bulk" (the remaining random weights) over discrete training steps.
Adam as a "Spike" Catalyst
A pivotal finding is the efficiency of Adam in inducing these spectral changes. While vanilla GD might require a massive learning rate (e.g., $\eta = 2000$) to produce a spike, Adam can achieve the same effect with a much smaller learning rate (e.g., $\eta = 0.5$). This is attributed to Adam’s update mechanism, which acts as a "scaled sign update," naturally amplifying signal directions more aggressively than GD.
Key Results and Generalization
- Learning Rate Thresholds: Theorem 4.1 mathematically establishes that for Adam, a learning rate of $\Theta(1)$ is sufficient to create a spike, whereas GD requires a learning rate that scales with the network's dimensions.
- Generalization Correlation: In the student-teacher setup, the emergence of heavy tails—specifically those with power-law exponents between 2 and 2.5—correlates directly with a significant drop in test loss.
- Early Structural Learning: HT spectra often appear within the first 10 steps of training, long before the network reaches its minimum training loss. This suggests that the fundamental structural learning of the model happens almost immediately.
Conclusion and Future Directions
This work demonstrates that stochastic noise is not a prerequisite for the emergence of heavy-tailed weight spectra. Instead, the interaction between the optimizer, the learning rate, and the underlying signal can "craft" these distributions early in training.
While the theory for the initial "spike" is rigorous, the multi-step transition to a full heavy tail remains an area for further mathematical formalization. Future research may leverage these insights to develop layer-wise learning rate schedulers or regularization techniques that intentionally steer the ESD toward these "well-trained" heavy-tailed shapes to enhance generalization in complex architectures.
Summary updated