The Joint Infinite Depth and Width Limit

22 concepts19 papers2 proposals

To understand how deep neural networks learn, theorists frequently study idealized models where the network's dimensions are taken to infinity. For years, the dominant paradigm has been the infinite-width limit. By fixing the network's depth $d$ and letting its layer width $n \to \infty$, the Central Limit Theorem takes over: the network's outputs at initialization simplify into a deterministic Gaussian Process, and its training dynamics become governed by a static, unchanging operator known as the Neural Tangent Kernel (NTK).

While mathematically elegant, this picture breaks down when applied to modern architectures. Real-world networks are not just wide; they are also incredibly deep. When depth and width are both large, treating depth as a fixed constant ignores a fundamental architectural tug-of-war.

Width acts as a Gaussianizer—summing over infinitely many hidden units averages out fluctuations. Depth acts as a heavy-tailer—multiplying many layers together compounds random variations exponentially. As shown by Lorenzo Noci et al. in Precise characterization of the prior predictive distribution of deep ReLU networks, standard asymptotic analysis that isolates width fails to capture this competitive interplay, leading to a poor understanding of the network's true prior distribution.

To bridge this gap, a new theoretical framework analyzes networks in the joint or simultaneous infinite depth-and-width limit, where both $d$ and $n$ approach infinity concurrently while maintaining a fixed ratio $\frac{d}{n}$.

Why the Order of Limits Matters

Historically, analyzing networks where both dimensions grow was simplified by taking sequential limits—for instance, sending the width of each layer to infinity one after the other before considering large depth. As noted by Arthur Jacot et al. in The asymptotic spectrum of the Hessian of DNN throughout training and Stefano Favaro et al. in Large-width asymptotics and training dynamics of $\alpha$-Stable ReLU neural networks, sequential limits are mathematically convenient but fail to reflect practical architectures where all layers scale together.

The order in which these limits are taken fundamentally changes the predicted behavior of the model. Mihai Nica et al. demonstrate in Differential Equation Scaling Limits of Shaped and Unshaped Neural Networks that these limits do not commute. A sequential limit strips away the finite-width corrections that accumulate across deep layers. Only a simultaneous limit preserves the delicate balance between depth and width, capturing the non-asymptotic behaviors and hyperparameter sensitivities observed in practice.

From Static Kernels to Stochastic Differential Equations

When depth and width scale proportionally, the neat, deterministic assumptions of standard infinite-width theory dissolve. The Neural Tangent Kernel is no longer a fixed, frozen matrix.

Instead, Boris Hanin et al. proved in Finite Depth and Width Corrections to the Neural Tangent Kernel that the NTK becomes stochastic at initialization and fluctuates significantly during training. These fluctuations do not vanish; rather, they grow exponentially with the depth-to-width ratio $\frac{d}{n}$. Similarly, Mariia Seleznova et al. showed in Neural Tangent Kernel Beyond the Infinite-Width Limit: Effects of Depth and Initialization that the stability of the kernel depends entirely on the interplay between this geometric ratio and the initialization scheme.

To model how these fluctuations behave, the joint limit treats the layer-to-layer propagation of signals as a continuous stochastic process. In The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initialization, Mufan (Bill) Li et al. introduced a framework showing that the covariance of a network converges to a Stochastic Differential Equation (SDE).

Instead of a clean, predictable signal traveling through the network, the representation experiences macroscopic randomness. As the signal passes through random weight matrices layer by layer, the microscopic noise from finite layer widths accumulates into a macroscopic diffusion process.

This explains why standard deep architectures often suffer from severe signal degradation at scale. For instance, in standard Residual Networks (ResNets) where depth and width scale proportionally, the output distribution at initialization is not Gaussian but log-Gaussian. As proven by Mufan (Bill) Li et al. in The future is log-Gaussian: ResNets and their infinite-depth-and-width limit at initialization, these models suffer from "hypoactivation" and exponentially exploding variance. This occurs because the product of many large random matrices—analyzed by Boris Hanin in Products of Many Large Random Matrices and Gradients in Deep Neural Networks—dominates the smoothing effect of the wide layers, causing the signal to degenerate.

Standard Infinite-Width Limit:
Width (n → ∞)  ───> Overwhelmingly Averages Noise ───> Deterministic GP / Static NTK

Joint Depth-and-Width Limit:
Width (n → ∞)  ───> Averages Layer Noise ┐
                                         ├─> Tug-of-War ───> Stochastic SDE / Evolving NTK
Depth (d → ∞)  ───> Compounds Variance   ┘

Designing Stable Deep Architectures

Rather than just diagnosing why deep networks fail, the joint infinite depth-and-width framework provides a mathematical blueprint for designing architectures that remain stable at immense scales.

Activation Shaping

By understanding the exact drift and diffusion terms in the Neural Covariance SDE, authors can implement "activation shaping." This technique modifies the network's non-linearities or scaling factors as the model grows, ensuring that the stochastic process converges to a stable, predictable trajectory rather than exploding or vanishing.

Balanced ResNets and Shaped Transformers

To counteract the log-Gaussian variance explosion in deep residual networks, the authors of the log-Gaussian study introduced Balanced ResNets, which structurally tune the residual blocks to stabilize variance.

A similar principle applies to attention mechanisms. In The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit, Chuning Li utilized the joint limit framework to construct a modified Transformer architecture. This design prevents "rank collapse"—a common pathology where token representations become identical in deep attention layers—allowing healthy signal propagation without relying on empirical fixes like LayerNorm.

Depth-Aware Learning Rates

The joint limit also yields practical insights into training dynamics. In Understanding Scaling Laws in Deep Neural Networks via Feature Learning Dynamics, Tianxiang Gao et al. used a system of coupled differential equations to uncover a "hidden" learning collapse in deep multi-layer residual blocks. To resolve this, the authors derived a depth-aware learning rate correction. This mathematical adjustment ensures that as a network's depth and width scale, its feature learning dynamics remain invariant, enabling seamless hyperparameter transfer from small proxy models to massive production models.

Key Foundational Work

The asymptotic spectrum of the Hessian of DNN throughout training (2020) — contributed 2 concept elements to this direction.
Products of Many Large Random Matrices and Gradients in Deep Neural Networks (2019) — contributed 1 concept elements to this direction.
Finite Depth and Width Corrections to the Neural Tangent Kernel (2020) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_proportional_depth_width_scaling_1fc59494,
  title = {proportional depth-width scaling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/proportional-depth-width-scaling/rdr_1fc59494566c4dd2843b2e4bacb8095a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_proportional_depth_width_scaling_1fc59494_v1,
  title = {proportional depth-width scaling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/proportional-depth-width-scaling/rdr_1fc59494566c4dd2843b2e4bacb8095a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake