Depth Degeneracy in Neural Networks: Vanishing Angles in Fully Connected ReLU Networks on Initialization
Cameron Jakub, Mihai Nica
TL;DR
This work analyzes depth degeneracy in fully connected ReLU networks at initialization by tracking how the angle between two inputs evolves with depth. It develops a finite-width theory that captures layerwise fluctuations through mixed Gaussian moments $J_{a,b}(\theta)$ and derives a mean/variance description for $\ln(\sin^2(\theta_{\ell+1}))$; crucially, these results differ from the infinite-width limit by incorporating a width-dependent correction $\rho(n)$ and nonzero variance. The authors introduce a Gaussian-IBP framework to compute $J_{a,b}(\theta)$, reveal a combinatorial connection to the Bessel numbers via $P(a,b), Q(a,b)$, and provide explicit closed forms that enable accurate finite-width predictions. These results are validated through Monte Carlo simulations and applied to neural architecture search-like experiments, showing that smaller predicted angles correlate with poorer training outcomes and offering a practical tool to screen architectures before training. The study highlights the importance of finite-width fluctuations in deep networks and provides a path to extend these methods to other nonlinearities and architectures.
Abstract
Despite remarkable performance on a variety of tasks, many properties of deep neural networks are not yet theoretically understood. One such mystery is the depth degeneracy phenomenon: the deeper you make your network, the closer your network is to a constant function on initialization. In this paper, we examine the evolution of the angle between two inputs to a ReLU neural network as a function of the number of layers. By using combinatorial expansions, we find precise formulas for how fast this angle goes to zero as depth increases. These formulas capture microscopic fluctuations that are not visible in the popular framework of infinite width limits, and leads to qualitatively different predictions. We validate our theoretical results with Monte Carlo experiments and show that our results accurately approximate finite network behaviour. \review{We also empirically investigate how the depth degeneracy phenomenon can negatively impact training of real networks.} The formulas are given in terms of the mixed moments of correlated Gaussians passed through the ReLU function. We also find a surprising combinatorial connection between these mixed moments and the Bessel numbers that allows us to explicitly evaluate these moments.
