Scaling Properties of Deep Residual Networks

Alain-Sam Cohen, Rama Cont, Alain Rossier, Renyuan Xu
5/25/2021
cs.LGcs.NEmath.NA

Official code: instadeepai/scaling-resnets (7 stars, Python, MIT, last commit 2021-05-27).

Abstract

Residual networks (ResNets) have displayed impressive results in pattern recognition and, recently, have garnered considerable theoretical interest due to a perceived link with neural ordinary differential equations (neural ODEs). This link relies on the convergence of network weights to a smooth function as the number of layers increases.

Show full abstract

We investigate the properties of weights trained by stochastic gradient descent and their scaling with network depth through detailed numerical experiments. We observe the existence of scaling regimes markedly different from those assumed in neural ODE literature. Depending on certain features of the network architecture, such as the smoothness of the activation function, one may obtain an alternative ODE limit, a stochastic differential equation or neither of these. These findings cast doubts on the validity of the neural ODE model as an adequate asymptotic description of deep ResNets and point to an alternative class of differential equations as a better description of the deep network limit.

View on arXivView PDF

Code Implementations(1)

MIT

⚡️ A framework that investigates the scaling limit of ResNets and compares it to Neural ODEs. Tested on synthetic and standardized datasets. 📈

70PythonMay 27, 20215 years agoMIT
convolutional-networksdeep-learningicmlmachine-learningneural-networks+4 more

Similar Papers

Cite this paper

@article{cohen2021scaling,
  title  = {Scaling Properties of Deep Residual Networks},
  author = {Alain-Sam Cohen and Rama Cont and Alain Rossier and Renyuan Xu},
  year   = {2021},
  eprint = {2105.12245},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.12245}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.12245.svg)](https://codeofpaper.com/paper/2105.12245)

Discussion