Introduction
This paper challenges the popular belief that deep Residual Networks (ResNets) naturally converge to Neural Ordinary Differential Equations (ODEs) as they get deeper. By analyzing trained weights across thousands of layers, researchers demonstrate that ResNets actually follow distinct scaling regimes depending on their architecture and activation functions. Rather than always forming smooth ODEs, they often behave more like stochastic differential equations (SDEs) or sparse systems. This finding suggests that the standard Neural ODE model may not accurately describe how these networks actually learn in practice.
The Problem with the Neural ODE Assumption
In recent years, the machine learning community has embraced the concept of "Neural ODEs," which views a ResNet as a continuous-time dynamical system. The logic is intuitive: if you stack enough layers, the discrete, step-by-step transformations of a ResNet begin to look like the discretization of a smooth differential equation. This theoretical bridge has motivated entirely new training methods based on optimal control theory.
However, this bridge relies on a massive underlying assumption: that as you add more layers, the network's weights converge to a smooth, continuous function of the depth. The authors of this paper ask a critical question: Do the weights of a ResNet trained via Stochastic Gradient Descent (SGD) actually behave this way? If the weights are "noisy" or fail to scale properly with depth, the foundational Neural ODE model falls apart.
Methodology and Scaling Hypotheses
The authors investigate the scaling behavior of weights ($A_k$) and step sizes ($\delta$) as the number of layers ($L$) increases from 8 to over 10,000. They propose and test two primary scaling hypotheses:
- Hypothesis 1 (Smooth Limit): Weights scale as $L^{-\beta}$ and converge to a continuous function of the layer index. This is the strict regime required for standard ODE limits.
- Hypothesis 2 (Diffusive/Stochastic Limit): Weights behave like the increments of a continuous process, akin to a random walk or Brownian motion.
Using logarithmic regression, they determined the scaling exponents for the residual branch and the weights. They also performed "denoising" experiments to see if the "noise" in the weights is essential for the network's performance. The study validated these hypotheses across three distinct setups: a synthetic 10-dimensional dynamical system, a low-dimensional embedding of MNIST, and CIFAR-10 for standard Convolutional ResNets.
Key Insights: Smooth vs. Stochastic Regimes
The most striking finding of the paper is how heavily the scaling regime depends on the choice of activation function.
The Smooth Limit and the Vanishing Activation (tanh)
Surprisingly, for networks using smooth activation functions like tanh, the non-linear activation actually disappears from the ODE limit. The authors mathematically proved that under Hypothesis 1, the limit results in a linear ODE ($dH_t/dt = A_t H_t + b_t$). This contradicts the standard Neural ODE model where the activation remains inside the derivative.
The Stochastic Limit (ReLU)
Conversely, for ReLU networks, the weights do not converge to a smooth function. Instead, they behave like increments of a stochastic process. In this regime, the network is much better described by a Stochastic Differential Equation (SDE).
Crucially, this noise is a feature, not a bug. In ReLU networks, the "noise" in the weights is critical to the model's success. When the authors artificially "denoised" the weights by replacing them with their smooth trend, the training loss jumped by an order of magnitude.
Convolutional Networks are Sparse
For convolutional architectures (like ResNet-152 styles), neither the ODE nor the SDE limit holds perfectly. Instead, the weights remain sparse. Only a finite number of layers carry significant weight, regardless of the total depth of the network.
Conclusion and Future Work
Despite these divergent behaviors, most networks tested reached over 99% training accuracy even at extreme depths ($L > 10,000$), proving that these scaling regimes are representative of highly capable, high-performing models.
While the paper primarily focuses on fully-connected layers and standard convolutional kernels in the asymptotic limit (as depth approaches infinity), it opens new doors for understanding network behavior. Future work will need to investigate how these different scaling regimes—linear ODEs, SDEs, and sparse systems—affect generalization, practical training for shallower networks (e.g., 50 or 101 layers), and robustness to adversarial attacks.
Summary updated