Standard deep neural networks often suffer from depth-induced pathologies where input information is lost as it propagates through layers. This research establishes a formal mathematical link between infinitely deep residual networks (ResNets) and diffusion processes described by Stochastic Differential Equations (SDEs). By scaling network parameters to "shrink" as the number of layers increases, the authors show that ResNets can avoid common pathologies—like vanishing input dependency—and instead converge to well-behaved, expressive stochastic processes.
The Problem of Depth
As neural networks get deeper, they become harder to initialize and train. Previous research has shown that in standard feedforward networks, as depth increases, the network's output tends to lose its dependency on the input. Essentially, the "signal" from the input vanishes, and the network's functions collapse into a narrow, unexpressive family. Even at the "edge of chaos," outputs for different inputs eventually become perfectly correlated.
Methods: ResNets as SDEs
The authors focus on Residual Networks (ResNets), where each layer computes a small change to the previous state: $x_{l+1} = x_l + \text{residual}$. The key innovation is the scaling of the initialization. Instead of using a fixed variance for weights across all depths, the authors propose that the variance of the weights and biases should shrink as the number of layers ($L$) increases.
By applying the theory of diffusion approximations, they prove that as $L \to \infty$, the discrete steps of the ResNet converge to a continuous Stochastic Differential Equation (SDE): $$dx_t = \mu(x_t)dt + \sigma(x_t)dB_t$$ where $dt$ represents an infinitesimal step in depth, $\mu$ is the "drift" (average behavior), and $\sigma$ is the "diffusion" (randomness/noise). This scaling ensures the network behaves like a physical diffusion process rather than exploding or losing signal.
Key Insights
Information Preservation
Unlike standard deep networks, these "diffusion ResNets" do not suffer from the perfect correlation problem. Two different inputs result in two different, non-perfectly correlated output distributions, even at infinite depth. This is visualized by comparing the correlation structures of standard deep networks against the SDE-limited versions.
Numerical Validation
Simulations confirmed that as depth increases, the discrete ResNet distribution converges to the theoretical SDE limit. A ResNet with 500 layers almost perfectly matches the distribution predicted by the SDE framework.
Stable Training
The SDE perspective provides a natural way to reparameterize gradients. This leads to training that is remarkably stable across different depths ($L$) and widths ($D$). On MNIST, the authors demonstrated that using "reparametrized gradients" allowed them to train networks up to $L=500$ with high accuracy (87.1% - 90.6%) using a common learning rate, whereas standard gradients often led to slow convergence or divergence.
Limitations and Future Work
The current theory relies on smooth activation functions (like tanh or Swish); while ReLU is discussed, its non-smoothness at zero presents challenges for the standard SDE framework. Future work will focus on extending this to more complex multi-layer residual blocks and investigating the behavior of the backward pass (gradient flow) in the infinite-depth limit.
Summary updated