Experiments with Rich Regime Training for Deep Learning

Xinyan Li, Arindam BanerjeearXiv 2021

Introduction

Deep learning theory has recently leaned heavily on the "lazy regime," or the Neural Tangent Kernel (NTK) perspective. In this framework, wide neural networks are viewed as linear models where weights barely deviate from their initial random values. While mathematically tractable, this view fails to capture the "rich regime" observed in practice—where models learn complex, non-linear features. This paper investigates the empirical behavior of parameters in the rich regime, identifying a sparse subset of "active" parameters that drive generalization.

The Sparsity of Active Parameters

The authors define active parameters as those that undergo the most significant change from their initial values during training. Conversely, lazy parameters remain close to their initialization.

Empirical analysis reveals a striking sparsity in these active parameters. As shown in Figure 3, the magnitudes of gradients (and consequently parameter updates) are highly concentrated. A vast majority of parameters have near-zero updates, while a tiny fraction accounts for the bulk of the model's learning.

Distribution of gradient magnitudes for VGG-5 and ResNet-18, showing extreme sparsity.

The "1% Rule" and Generalization

To quantify the importance of these active parameters, the researchers conducted re-initialization experiments. They "reset" varying percentages of either the most active or most lazy parameters to their original random values and measured the impact on test accuracy.

The results, illustrated in Figure 6, confirm the "1% Rule." Re-initializing even a tiny fraction (e.g., 0.1%) of the most active parameters ($\gamma$) leads to a catastrophic drop in performance. In contrast, resetting a large portion of lazy parameters ($\epsilon$) has a negligible effect on accuracy. This suggests that the model's predictive power is concentrated in a very small, specific subset of weights.

Test accuracy after re-initializing active ($\gamma$) vs. lazy ($\epsilon$) parameters. Resetting active parameters causes sharp performance drops, while lazy parameters can be reset with minimal impact.

Layer-Wise Dynamics: The "Edge Effect"

A key finding is that active parameters are not distributed uniformly across the network. Instead, they are concentrated at the "edges"—the layers closest to the input and the output. The middle layers, particularly in wider networks, tend to remain "lazy."

This "edge effect" implies that the initial feature extraction and the final classification layers are the most critical for learning in the rich regime. As networks grow wider, this concentration in the bottom layers becomes even more pronounced, suggesting that richness is primarily driven by how the model transforms raw input.

Efficient Training via Layer-Wise Sparsity

Building on these insights, the authors proposed Layer-Wise Sparse (LWS) SGD. This method focuses computational effort on the most critical layers:

  • Static LWS-SGD: Updates only a fixed set of top and bottom layers while freezing the middle.
  • Probabilistic LWS-SGD: Always updates the top layers but performs full back-propagation through the entire network only with a certain probability $\rho$.

On benchmarks like CIFAR-10 and MNIST, Probabilistic LWS-SGD achieved a 2–5x speedup in back-propagation time without sacrificing generalization accuracy. For simpler tasks, the middle layers can be frozen almost entirely, while harder tasks benefit from infrequent updates.

Conclusion

By shifting focus from the lazy regime to the empirical reality of the rich regime, this work identifies a significant opportunity for training optimization. The discovery that a small fraction of parameters at the network's edges drives most of the generalization allows for much more efficient sparse update strategies. Future research may extend these findings to more complex architectures like Transformers and larger-scale datasets.

Summary updated

BibTeX
@misc{li2021experiments,
  author = {Xinyan Li and Arindam Banerjee},
  title = {{Experiments with Rich Regime Training for Deep Learning}},
  year = {2021},
  eprint = {2102.13522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.13522},
}
Figure