Abstract
We revisit the initialization of deep residual networks (ResNets) by introducing a novel analytical tool in free probability to the community of deep learning. This tool deals with non-Hermitian random matrices, rather than their conventional Hermitian counterparts in the literature. As a consequence, this new tool enables us to evaluate the singular value spectrum of the input-output Jacobian of a fully-connected deep ResNet for both linear and nonlinear cases. With the powerful tool of free probability, we conduct an asymptotic analysis of the spectrum on the single-layer case, and then extend this analysis to the multi-layer case of an arbitrary number of layers. In particular, we propose to rescale the classical random initialization by the number of residual units, so that the spectrum has the order of $O(1)$, when compared with the large width and depth of the network. We empirically demonstrate that the proposed initialization scheme learns at a speed of orders of magnitudes faster than the classical ones, and thus attests a strong practical relevance of this investigation.
The Challenge of Depth in ResNets
Training deep neural networks is a delicate balancing act. If initial weights are too large, gradients explode; if they are too small, signals vanish before reaching early layers. Standard initialization schemes, such as He or Xavier initialization, were designed to keep the Jacobian—the matrix representing the sensitivity of the output to the input—well-conditioned. However, these schemes primarily scale weights based on the width ($N$) of the network, often overlooking the impact of depth ($L$).
In Residual Networks (ResNets), this oversight is critical. Without accounting for depth, the Jacobian of a deep ResNet becomes increasingly ill-conditioned. As the network grows deeper, the spectrum of its singular values develops a "heavy tail": while most singular values collapse toward zero, a few grow explosively large. This phenomenon makes training extremely difficult without auxiliary techniques like Batch Normalization (BN).
A Free Probability Solution
To address this, the authors utilize Free Probability Theory, a branch of mathematics that handles the products of large random matrices. Unlike traditional random matrix theory, which often focuses on symmetric (Hermitian) matrices, the Jacobian of a neural network is non-Hermitian. By employing S-transforms and R-transforms, the researchers conducted an asymptotic analysis of the limiting spectral distribution as both width and depth approach infinity.
Their key finding is the $1/L$ Rule: to ensure the squared singular values of the Jacobian remain at a stable order of $O(1)$, the weight variance $\sigma_w^2$ must be rescaled to be proportional to the inverse of the number of layers ($1/L$). This leads to "spectrum concentration," where the singular values are kept within a healthy, manageable range rather than being scattered across orders of magnitude.
Universality and Spectrum Concentration
A significant insight of this work is the universality of the $1/L$ scaling requirement. The theory predicts that this scaling is necessary regardless of the specific weight distribution (Gaussian vs. Orthogonal) or the choice of activation function (ReLU, Tanh, or Sigmoid).
As shown in the figure above, the free probability framework provides a precise match between theoretical predictions and empirical observations. While previous research sought "Dynamical Isometry" (forcing all singular values to exactly 1), this paper argues that Spectrum Concentration—keeping singular values at the same order of magnitude—is a more practical and sufficient condition for stable, high-speed training.
Key Results and Practical Impact
The practical implications of this rescaling are profound:
- Massive Speedup: In fully-connected ResNets without Batch Normalization, the proposed $1/L$ initialization enabled training speeds orders of magnitude faster than classical He initialization.
- Architectural Nuance: For convolutional ResNets with $m$ layers per residual block, the optimal scaling was found to be $O(L^{-1/m})$. For a standard ResNet-110 ($m=2$), this translates to scaling by $1/\sqrt{L}$, preventing internal gradient issues within blocks.
- Stability: The authors demonstrated that with $1/L$ scaling, the condition number of the Jacobian remains stable even as the network depth increases, effectively removing the dependency on Batch Normalization for deep training.
By grounding initialization in the rigorous mathematics of free probability, this work provides a robust theoretical foundation for designing deeper, more efficient neural architectures.
Summary updated