Introduction
As neural networks grow in depth to capture more complex patterns, they encounter a phenomenon known as depth degeneracy. At initialization, a sufficiently deep network can effectively become a random constant function, mapping distinct inputs to nearly identical outputs. This loss of expressivity poses a significant challenge for training. This paper investigates the mathematical roots of this degeneracy, providing a precise theory for finite-width ReLU networks that explains why real-world architectures often fail much faster than classical "infinite-width" theories predict.
The Problem: Vanishing Angles
The standard metric for depth degeneracy is the angle ($\theta$) between two different input vectors as they propagate through the network's layers. If the angle remains large, the network preserves the ability to distinguish between inputs. However, if the angle "vanishes" (approaches zero), the inputs become co-linear in the hidden representations, and the network loses information.
While existing theories assuming infinite layer width predict a slow, polynomial decay of this angle ($1/\ell$), empirical observations show a much more aggressive decay. This paper addresses this gap by accounting for the "microscopic" fluctuations of individual neurons in finite-width networks, which accumulate into "macroscopic" failures.
Methodology: Beyond Infinite Width
The authors model the evolution of the angle $\theta$ across layers as a Markov chain. To characterize this process, they moved beyond the simplifying assumptions of infinite width and employed several advanced mathematical techniques:
- Combinatorial Expansions: By using Taylor series and combinatorial expansions, they captured $1/n$ effects (where $n$ is layer width) that are ignored in the infinite limit.
- Mixed Moments and Bessel Numbers: The derivation of formulas for "mixed moments" of correlated Gaussian variables passed through ReLU functions led to a surprising connection with Bessel numbers of the second kind. This discovery enabled exact, closed-form solutions for the mean and variance of the angle's evolution.
As shown in the figure above, the authors derived precise functions for the expected change ($\mu$) and variance ($\sigma^2$) of the log-sine of the angle. These functions are the core components of their finite-width approximation.
Key Insights: The Finite-Width Reality
The central finding of the research is that in finite networks, the angle decay is exponential ($\theta \sim e^{-\sum 1/n_i}$) rather than polynomial. This explains why deep, narrow networks are notoriously difficult to train.
The figure above highlights the "Infinite Width Trap." The green triangles represent the predictions of standard infinite-width theory, which significantly underestimates the rate of degeneracy. In contrast, the authors' approximation (blue squares) aligns perfectly with Monte Carlo simulations (black crosses). Furthermore, the probability density functions (PDFs) on the right demonstrate that their theory accurately predicts the distribution of angles even at great depths (Layer 30), where the variance has significantly widened.
Results and Predictive Power
The authors distilled their findings into a remarkably simple approximation for the angle at layer $\ell+1$: $$\ln \sin^2(\theta_{\ell+1}) \approx \ln \sin^2(\theta_\ell) - \frac{2}{3\pi}\theta_\ell - \rho(n_\ell)$$ where $\rho(n) \approx 2/n$ is a constant reflecting the finite width.
To validate this, they tested 45 different architectures on datasets like MNIST, Fashion-MNIST, and CIFAR-10. They found that their theory serves as a powerful, zero-cost screening tool for Neural Architecture Search (NAS). Specifically, architectures predicted to have a "small angle" at initialization (e.g., $\ln \sin^2(\theta_L) < -10$) consistently exhibited poor post-training performance.
Limitations and Future Work
While the theory is robust for fully connected ReLU networks, several avenues for future research remain:
- Architectural Scope: The current formulas are specific to MLPs. Adapting them for Convolutional Neural Networks (CNNs) or Transformers would require new derivations.
- Activation Functions: The reliance on ReLU's properties means that other functions like GeLU or Swish would need their own "mixed moment" analysis.
- Training Dynamics: The study focuses on the state at initialization. Understanding how these angles evolve during the backpropagation process remains a complex challenge.
Summary updated