NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On residual network depth

Benoit Dherin, Michael Munn

TL;DR

This paper mathematically formalizes the long-held intuition that residual networks (ResNets) behave like implicit ensembles of shallower models. By proving the Residual Expansion Theorem, the authors demonstrate that increasing network depth exponentially multiplies computational paths, providing a first-principles explanation for network instability and a functional justification for scaling techniques that enable stable, normalization-free training.

What Problem Does This Paper Address?

Residual networks (ResNets) and Transformers revolutionized deep learning by allowing models to scale to unprecedented depths. A popular conceptual framework, the "unraveled view" proposed by Veit et al. (2016), suggests that ResNets succeed because they function as an implicit ensemble of many shallower networks rather than a single monolithic entity. However, this perspective has remained largely metaphorical, supported by empirical lesion studies rather than rigorous mathematics.

Furthermore, deep networks are notoriously unstable and difficult to train without normalization layers (like BatchNorm or LayerNorm). While normalization-free alternatives exist (such as Fixup or SkipInit), their scaling factors are typically derived from optimizer dynamics or heuristics rather than the network's inherent functional structure. This paper bridges these gaps by providing a precise mathematical foundation for the ensemble view and explaining exactly why deep residual architectures require scaling or normalization to remain stable.

Methods

The authors introduce a representative residual architecture where each residual block is parameterized by a scalar $\lambda$:

$$\text{ResNetBlock}(x) = x + \lambda F(x)$$

They then prove the Residual Expansion Theorem using induction and a Taylor series expansion. This theorem decomposes the entire network's mathematical function into an infinite sum of increasingly larger ensembles of models (Order 0: Base Model, Order 1: Ensemble $M_1$, Order 2: Ensemble $M_2$, etc.).

Using this framework, they analyze how varying $\lambda$ impacts the network's trainable depth, capacity, and geometric complexity (defined as the average squared Frobenius norm of the input-output Jacobian).

Datasets

The authors evaluate their theoretical findings empirically using the CIFAR-10 image classification dataset, training variants of their modified ResNet architecture up to 1,000 layers deep.

Key Insights and Ideas

  • The Mathematical Reality of Ensembles: The paper proves that increasing network depth $n$ is mathematically equivalent to expanding the size of an implicit, hierarchical ensemble.
  • Combinatorial Explosion: At order $k$, the number of terms in the ensemble grows polynomially ($O(n^k)$), but summed across all orders, the total number of computational paths grows exponentially ($2^n$). Without constraints ($\lambda = 1$), this causes an explosion in output magnitude, explaining why deep unnormalized networks fail to train and why normalization layers are historically essential.
  • Principled Scaling: Setting $\lambda = 1/n$ converts the exploding sums into stable averages. However, the authors note that $\lambda = 1/\sqrt{n}$ performs better in practice because $1/n$ suppresses higher-order terms too aggressively.
  • Capacity and Complexity Control: The parameter $\lambda$ acts as a direct knob for model capacity. Surprisingly, higher values of $\lambda$ can paradoxically lead to simpler models geometrically after an initial phase of training, a phenomenon reminiscent of deep double descent.

Key Results

  • Stable Training at Extreme Depths: Without BatchNorm, a standard ResNet ($\lambda = 1.0$) completely fails to train at 100 or 1,000 layers. By applying the derived scaling factor ($\lambda = 1/n$ or $\lambda = 1/\sqrt{n}$), the authors successfully trained unnormalized networks up to 1,000 layers deep.
  • Performance Recovery: For a 1,000-layer network on CIFAR-10, scaling with $\lambda = 1/\sqrt{n}$ without any BatchNorm achieved a test accuracy of $86.82 \pm 0.3\%$, coming remarkably close to the baseline with BatchNorm ($88.33 \pm 0.1\%$).

The training dynamics and the relationship between capacity and geometric complexity across different values of $\lambda$ are visualized below:

Figure 1: CIFAR-10 trained on residual network with n = 16 residual blocks. We plot the learning curves for the experiments in Figure 2 for a sweep λ ∈{0, n−2, n−1.5, n−1.2, n, n−0.8, n−0.5}. Training with λ > 1/√n (e.g., we also tried λ ∈{1/n0.3, 1/n0.4, 1}) all failed.
Figure 2: Maximum test accuracy and geometric complexity at time of maximum test accuracy for various values of λ. Left: As λ increases, maximum test accuracy increases. Right: However, increasing λ leads to decreased model complexity after a first phase of increase.

Limitations and Future Work

  • Structural Assumptions: The exact functional expansion relies on the assumption that the encoding network is an affine map to cleanly interpret the base model.
  • Complexity Reversal: The exact mechanism behind the reversal of geometric complexity during training (the double-descent-like behavior shown in the figures) remains an open question requiring deeper future investigation.
  • Extension to Transformers: The authors suggest that extending this "function-first" scaling paradigm to other critical deep learning architectures, particularly Transformers, is a crucial next step.

Summary updated

BibTeX
@misc{dherin2025residual,
  author = {Benoit Dherin and Michael Munn},
  title = {{On residual network depth}},
  year = {2025},
  eprint = {2510.03470},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03470},
}
Figure