Introduction
Training deep neural networks (DNNs) is a delicate balancing act. As signals propagate through dozens or hundreds of layers, they are prone to either vanishing into insignificance or exploding beyond computational limits. This phenomenon, known as the vanishing and exploding gradient problem, is fundamentally tied to the properties of the network's Jacobian matrix—the matrix of partial derivatives of the output with respect to the input. While traditional initialization schemes like Xavier or He initialization provide a baseline for stability, they rely on the assumption of independent and identically distributed (i.i.d.) Gaussian weights.
Modern deep learning, however, frequently breaks these assumptions. Techniques like pruning (sparsity) are used to make models more efficient, and data-dependent initializations often introduce correlations between weights. Until now, the field lacked a rigorous mathematical theory to guarantee stability in these non-standard regimes. This paper fills that gap by providing a general stability theorem using Random Matrix Theory.
The Stability Challenge
The core issue in deep learning stability is the "gain" of each layer. If the gain is not perfectly calibrated, the signal's magnitude changes exponentially with depth. This is illustrated in the behavior of the Jacobian norm across different weight variances.
As shown in the figure above, when the weight variance $\sigma_w^2$ is improperly tuned, the Jacobian norm either grows or decays exponentially with depth. Achieving the "Edge of Chaos"—where the norm remains stable (e.g., $\sigma_w^2 = 2.0$ in the provided example)—is critical for training very deep architectures. Without this stability, gradients cannot effectively flow back through the network during backpropagation, leading to failed training.
Methodology: Random Matrix Theory and Stability
The authors address this by developing a general stability theorem grounded in Random Matrix Theory (RMT). Specifically, they utilize the concept of "strong asymptotic freeness" to analyze the spectral norm (the largest singular value) of the input-output Jacobian. This framework allows for a rigorous definition of stability: the Jacobian's norm must remain "sub-exponential" relative to the network's depth.
Key innovations in their approach include:
- General Stability Theorem: A mathematical foundation that defines the conditions under which the Jacobian remains stable even in non-i.i.d. settings.
- Scaling Recipes for Pruning: The derivation of specific mathematical constants to rescale weights after pruning. This ensures that the "gain" of the layer is preserved despite the loss of connections.
- Correlation Thresholds: The establishment of a "width-dependent threshold" for how much weight correlation a network can tolerate before the Jacobian becomes unstable.
Key Insights and Results
Pruning-Dependent Scaling
A significant finding is that the required scaling factor depends heavily on the pruning strategy. Random pruning requires a different adjustment than magnitude-based pruning because the latter significantly alters the distribution of the remaining weights by keeping only the largest values. The paper identifies a phase transition: if a network becomes too sparse (specifically, if the number of connections per neuron drops below a certain logarithmic threshold relative to the width), the standard laws of stability break down entirely.
Resilience to Weak Correlations
The research demonstrates that DNNs are surprisingly robust to "weak" correlations. As long as the correlation between weights remains small ($O(n^{-1})$), the network's spectral behavior mimics that of an i.i.d. network. This suggests that many practical initialization methods that introduce slight correlations are still theoretically sound.
Empirical Validation
The theoretical framework was tested on the MNIST and Fashion-MNIST datasets using deep Multi-Layer Perceptrons (MLPs). In experiments with 30-layer and 100-layer networks, pruned models without proper rescaling failed to train, with accuracy remaining near random chance. In contrast, models using the authors' derived scaling factors recovered performance levels nearly identical to dense, unpruned models. Additionally, the authors statistically justified a common assumption in the field—that in wide networks, ReLU activations behave like independent Bernoulli variables—by proving it holds in the infinite-width limit.
Conclusion and Future Work
This work provides a rigorous foundation for understanding Jacobian stability in deep networks, moving beyond the simple i.i.d. Gaussian case. However, some limitations remain. The current theory is strictly proven for MLPs; extending these results to modern architectures like Transformers (with Attention layers) and Convolutional Neural Networks (CNNs) remains an open challenge due to their different structural dependencies. Future research will likely explore how these stability conditions evolve during the training process and how they apply to extremely narrow "bottleneck" layers where infinite-width assumptions might falter.
Summary updated