When building deep neural networks, the standard recipe is to stack residual blocks sequentially:
$$x_{l+1} = x_l + f_l(x_l)$$
While this formulation allows signals to propagate through deeper networks than standard feedforward architectures, it introduces a fundamental mathematical challenge: variance accumulation. If each residual branch $f_l(x_l)$ outputs a signal with variance $\sigma^2$, the variance of the main stream $x$ grows linearly with depth, meaning $\text{Var}(x_L) = \text{Var}(x_0) + L\sigma^2$.
In very deep networks, this variance explosion causes severe numerical instability, gradient explosion, and a phenomenon known as rank collapse, where token representations become mathematically identical and lose their expressive power, as shown by Noci et al. (2022).
Historically, normalization layers like Batch Normalization or Layer Normalization have been used to reset the variance at each layer. As De et al. (2020) observed, normalization layers implicitly downscale the residual branch at initialization, biasing each block to act like an identity function. However, explicit normalization layers introduce computational overhead, depend heavily on batch sizes, and complicate hyperparameter tuning. Depth-dependent residual scaling eliminates the need for these layers by explicitly scaling the contribution of each residual branch as a function of the total network depth $L$.
The $1/\sqrt{L}$ Scaling Regime: Preserving Variance
To stabilize deep networks without relying on normalization layers, one prominent approach scales the output of each residual branch by the inverse square root of the total depth:
$$x_{l+1} = x_l + \frac{1}{\sqrt{L}} f_l(x_l)$$
The intuition behind the $1/\sqrt{L}$ factor lies in basic probability. When adding independent random variables, their variances add up. If we scale a random variable by a constant $c$, its variance is scaled by $c^2$. By choosing $c = 1/\sqrt{L}$, the variance added by each branch becomes $\sigma^2 / L$. Summing this contribution across all $L$ layers yields a total added variance of exactly $\sigma^2$, keeping the final output variance bounded and independent of depth.
Huishuai Zhang et al. (2022) proved that $\tau = 1/\sqrt{L}$ acts as a sharp mathematical boundary for signal stability, enabling the training of networks with over 1,000 layers without batch normalization. Similarly, Arpit et al. (2019) demonstrated that this adjustment ensures activation variance remains stable, closing the performance gap between weight normalization and batch normalization.
Beyond initialization stability, $1/\sqrt{L}$ scaling preserves the geometry of the loss landscape. Noci (2024) demonstrated that scaling residual branches by the inverse square root of the number of layers prevents the loss landscape from becoming increasingly sharp or unstable as depth increases. This structural consistency allows hyperparameters tuned on shallow models to transfer successfully to deeper architectures. This principle forms the core of Depth-$\mu$P, proposed by Yang et al. (2023), which scales residual branches by $1/\sqrt{L}$ to achieve stable feature learning dynamics in the infinite-depth limit.
The $1/L$ Scaling Regime: The Dynamical Systems View
An alternative paradigm scales the residual branch linearly with the inverse of depth:
$$x_{l+1} = x_l + \frac{1}{L} f_l(x_l)$$
This formulation stems from interpreting residual networks as continuous dynamical systems. As explored by Chang et al. (2018) and Jingfeng Zhang et al. (2019), a residual block can be viewed as a discrete Euler forward step of an Ordinary Differential Equation (ODE):
$$\frac{x_{l+1} - x_l}{\Delta t} = f_l(x_l)$$
where the step size $\Delta t$ is set to $1/L$. Under this view, increasing the depth of the network corresponds to refining the discretization resolution of an underlying continuous trajectory rather than changing the total transformation magnitude. Dong et al. (2020) leveraged this property to adaptively grow network depth during training, scaling weights by the ratio of original depth to new depth to maintain signal stability.
However, the choice between $1/\sqrt{L}$ and $1/L$ involves a trade-off between representation capacity and feature learning dynamics. Bordelon (2024) showed that while square-root scaling can cause attention layers to become static or inactive in very deep models, linear inverse scaling ($1/L$) ensures that attention mechanisms continue to learn features as depth increases. Conversely, Dey et al. (2025) argued that setting the residual update scaling factor inversely proportional to the total depth prevents the model from entering a "lazy learning" regime, ensuring that deep layers actively utilize their non-linear expressive power rather than behaving linearly.
Depth-Aware Learning Rates and Initializations
Scaling the residual branch alone is often insufficient to guarantee optimal feature learning across varying depths; the optimization process itself must adapt. Gao et al. (2025) identified a hidden learning collapse in deep networks with multi-layer residual blocks, proving that to achieve consistent hyperparameter transfer, the learning rate of the initial layer in each block must be scaled by $\sqrt{L}$ to prevent internal weight updates from vanishing.
To fully eliminate normalization layers, researchers have developed precise initialization frameworks that analytically compute these depth-dependent factors. For instance, Hongyi Zhang et al. (2019) introduced Fixup Initialization, which rescales weights within residual branches based on the total number of layers to ensure the cumulative update magnitude remains independent of depth.
Similarly, Huang et al. (2020) proposed T-Fixup, deriving exact scaling factors from the total layer count to bound the variance of network updates. This approach stabilizes deep Transformers by decoupling the update stability from the total depth of the model, completely removing the need for learning rate warmup or explicit layer normalization.