In the early days of deep learning, adding more layers was a double-edged sword. While depth theoretically increases expressivity, it practically leads to "pathological" behavior: gradients either vanish into nothingness or explode into numerical chaos. Even with the advent of residual connections, which allow signals to bypass transformations, extremely deep networks still face a fundamental stability problem.
Recent research has converged on a powerful solution: depth-dependent scaling. By precisely calibrating the contribution of each layer based on the total depth of the network, we can maintain stable signal variance, prevent representation collapse, and even train ultra-deep models without traditional normalization layers.
The Pathological Depth Limit
As a network grows deeper, the relationship between its input and output becomes increasingly volatile. Kaixuan Huang and colleagues demonstrate in Why Do Deep Residual Networks Generalize Better than Deep Feedforward Networks? that standard feedforward networks become mathematically "unlearnable" at extreme depths. The neural tangent kernel (NTK)—which describes how the network's outputs change in response to weight updates—converges to a constant, uninformative value.
The core issue is the multiplicative nature of depth. In a vanilla network, each layer multiplies the signal by a weight matrix and passes it through a non-linearity. Small deviations in the input are amplified exponentially, leading to a "spiky" loss landscape. Residual networks (ResNets) mitigate this by changing the growth rate from exponential to power-law, as noted in Characterizing Well-Behaved vs. Pathological Deep Neural Networks. However, even in ResNets, the variance of the hidden states tends to grow linearly with the number of residual blocks, eventually leading to signal explosion.
The $1/\sqrt{L}$ Scaling Rule
To keep the signal variance bounded, researchers have found that the contribution of the residual branch must be scaled down as the network gets deeper. The most common factor is $1/\sqrt{L}$, where $L$ is the total number of layers.
The intuition is rooted in basic statistics: if you sum $L$ independent random variables with unit variance, the variance of the sum is $L$. To keep the total variance at $1$, you must scale each variable by $1/\sqrt{L}$. Soufiane Hayou and Greg Yang show in Width and Depth Limits Commute in Residual Networks that this specific scaling factor ensures the network remains stable even as both width and depth approach infinity.
This scaling does more than just prevent numerical overflow; it preserves the "identity" path. Soham De and Samuel L. Smith demonstrate in Batch Normalization Biases Deep Residual Networks Towards Shallow Paths that by downscaling residual branches, the network is biased toward an identity function at initialization. This allows gradients to flow through the "shortcut" connections unimpeded, effectively making a 1000-layer network behave like a collection of shallower, more trainable paths.
Preventing Rank Collapse in Transformers
In Transformers, the stability problem manifests as "rank collapse." Lorenzo Noci and co-authors reveal in Signal Propagation in Transformers that as depth increases, the representations of different tokens become increasingly similar, eventually becoming mathematically indistinguishable. This causes the gradients for queries and keys to vanish.
By applying $1/\sqrt{L}$ scaling to the residual branches, the model preserves the orthogonality of token embeddings. This prevents the tokens from "clumping together" in the hidden space, ensuring that the attention mechanism remains discriminative throughout the entire depth of the model.
The Dynamical Systems Perspective
We can also view deep networks as discrete approximations of continuous flows. Bo Chang and colleagues argue in Multi-level Residual Networks from Dynamical Systems View that a residual block $x_{n+1} = x_n + f(x_n)$ is essentially a single step in solving an Ordinary Differential Equation (ODE).
In this view, the scaling factor acts as a "step size" ($h$). If you increase the number of layers (the discretization resolution) without decreasing the step size, the total transformation "drifts" away from a stable solution. By setting $h \propto 1/L$, the cumulative transformation remains consistent regardless of how many layers you add. This perspective is echoed by Jingfeng Zhang in Towards Robust ResNet, where a small "step factor" is shown to improve not just stability, but also generalization to noisy data.
Moving Beyond Standard Normalization
While Batch Normalization (BN) and Layer Normalization (LN) are the industry standards for stability, they come with costs: computational overhead, training-inference mismatch, and geometric distortions. Akshat Gupta notes in Re-Introducing LayerNorm that LayerNorm's mean subtraction becomes redundant in deep models because hidden states naturally become orthogonal to the "uniform vector."
Depth-dependent scaling offers a "normalizer-free" alternative. By using techniques like SkipInit (initializing branch scales to zero) or Tailored Activation Transformation (Guodong Zhang), researchers have successfully trained ultra-deep vanilla networks and Transformers that match the performance of normalized models. These approaches replace the "brute force" resetting of activations with a more elegant, mathematically grounded calibration of the network's internal signal flow.