TL;DR
Deep learning theory loves assuming neural networks are infinitely wide, which keeps the math clean and motivates standard weight initializations like Glorot. However, in recurrent sequence models, repeatedly multiplying by the same finite-sized weight matrix causes tiny finite-width quirks to snowball rapidly over time. This paper finds the exact breaking point: once sequence length reaches the square root of the network's width ($t \sim \sqrt{n}$), infinite-width approximations collapse and signals explode—explaining why textbook initializations fail in modern long-context architectures.
What Problem Does This Paper Address?
When training deep networks, signals must travel through many layers without vanishing to zero or exploding to infinity. To ensure stability, standard initialization schemes (like Glorot or He) rely on the infinite-width limit—assuming the number of neurons per layer ($n$) approaches infinity so that signal statistics behave predictably.
Real networks, of course, are finite. In standard feedforward networks, infinite-width math holds up well until network depth $L$ grows proportional to width ($L \sim n$). Because each layer uses a fresh, independent weight matrix, random finite-width fluctuations mostly average out.
Recurrent networks are a different beast. Because they reuse the exact same weight matrix at every time step $t$, dominant spectral directions get reinforced over and over. While modern architectures like State-Space Models (SSMs) and Linear Recurrent Units (LRUs) are built specifically for massive sequence lengths (huge $t$), we haven't known precisely when finite-width effects overtake infinite-width theory in recurrent settings. How long does "infinite width" actually last?
Methods
The author studies signal propagation in two foundational models initialized with complex Gaussian weights (variance $1/n$, standard in modern oscillatory SSMs/LRUs): a standard linear RNN ($\mathbf{h}^{(t)} = \mathbf{W}^t \mathbf{x}^{(0)}$) and a Linear Recurrent Unit ($\mathbf{h}^{(t)} = \mathbf{W}\mathbf{h}^{(t-1)} + \mathbf{x}^{(t)}$) that ingests a sequence of inputs.
Instead of relying on asymptotic approximations, the paper derives exact, closed-form finite-width formulas for signal energy—the expected squared norm of the hidden states (and backward gradients).
How? Evaluating the expected trace of $(\mathbf{W}^k)^* \mathbf{W}^k$ when $\mathbf{W}$ is reused $k$ times creates a tangled web of dependencies. Using Wick’s theorem for complex Gaussian moments, the author translates these matrix multiplications into a neat combinatorial puzzle: counting the cycles in commutators of random permutations (closely linked to Hultman numbers). Solving this counting problem yields exact algebraic formulas using rising and falling factorials, valid for any width $n$ and depth $t$.
Datasets
Not discussed in the paper. This is a theoretical study validated via Monte Carlo numerical simulations using synthetic, randomly sampled inputs (e.g., vectors sampled uniformly on a sphere of radius $\sqrt{n}$).
Key Insights and Ideas
Depth–width scaling laws in linear recurrences showing subcritical, critical, and supercritical regimes.
- Three Distinct Scaling Regimes: Signal propagation is governed by the ratio of sequence length $t$ to $\sqrt{n}$:
- Subcritical ($t \ll \sqrt{n}$): Infinite-width theory works. RNN signal energy stays flat at $1$.
- Critical ($t \sim c\sqrt{n}$): Finite-width effects awaken, converging to a smooth, exact curve that amplifies signals exponentially in $c^2$.
- Supercritical ($t \gg \sqrt{n}$): Finite-width effects dominate completely, causing rapid signal explosion.
- Infinite-Width Theory is Architecture-Blind: Below $\sqrt{n}$ steps, recurrent networks and untied feedforward networks have identical signal energies. Only at $t \sim \sqrt{n}$ does the math finally "notice" weight sharing—far earlier than the $L \sim n$ threshold in feedforward nets.
- Why Glorot Fails Long-Context Models: Glorot initialization is designed to keep signal energy constant at $1$, which holds for $t \ll \sqrt{n}$. On long sequences ($t \gtrsim \sqrt{n}$), Glorot is provably unstable—a result that also acts as a mathematical lower bound for real-valued Gaussian weights.
Key Results
Theory meets exact closed-form reality at the critical scale $k \sim c\sqrt{n}$: instead of staying at $1$, the linear RNN signal energy $Q_{n,k}$ converges to $\frac{2}{c^2}\sinh(c^2/2)$, while the cumulative LRU energy $S_{n,t}$ scales as $\sqrt{n}$ times the integral of that profile. Beyond $\sqrt{n}$, signals diverge exponentially.
Monte Carlo simulations ($10^5$ samples across widths $n = 100$ to $2000$) match these theoretical curves on the nose. Furthermore, empirical tests on real-valued Gaussian weights confirm they explode even faster than complex weights (exceeding $10^6$ by $c = 5$).
Most strikingly, testing nonlinear RNNs (ReLU and LeakyReLU with variance-preserving He-style initializations) reveals even more violent amplification—shooting up toward $10^{15}$ at $c = 5$—whereas untied feedforward counterparts stay calmly pinned right around $1.00$.
Limitations and Future Work
- Initialization & Weight Types: Exact closed-form formulas are derived for complex Gaussian weights; real Gaussian weights currently only have a lower bound. Future work could derive exact real-valued asymptotics and analyze specialized structured initializations (like HiPPO) used in modern SSMs.
- Nonlinearities: While experiments show ReLU and LeakyReLU suffer even stronger $\sqrt{n}$-scale amplification, proving this theoretically for nonlinear recurrences remains an open problem.
- Training Dynamics: This analysis strictly covers step zero (random initialization). Extending it to gradient descent could reveal how sequence length breaks the Neural Tangent Kernel (NTK) regime and drives feature learning.
Summary updated