mlsanityData to 14 Oct 2026

Do Residual Neural Networks discretize Neural Ordinary Differential Equations?

arXiv 2205.14612 ↗First posted 29 May 2022cs.LG stat.MLcited by 27

Not on the map. Why?

Abstract (arXiv)

Neural Ordinary Differential Equations (Neural ODEs) are the continuous analog of Residual Neural Networks (ResNets). We investigate whether the discrete dynamics defined by a ResNet are close to the continuous one of a Neural ODE. We first quantify the distance between the ResNet's hidden state trajectory and the solution of its corresponding Neural ODE. Our bound is tight and, on the negative side, does not go to 0 with depth N if the residual functions are not smooth with depth. On the positive side, we show that this smoothness is preserved by gradient descent for a ResNet with linear residual functions and small enough initial loss. It ensures an implicit regularization towards a limit Neural ODE at rate 1 over N, uniformly with depth and optimization time. As a byproduct of our analysis, we consider the use of a memory-free discrete adjoint method to train a ResNet by recovering the activations on the fly through a backward pass of the network, and show that this method theoretically succeeds at large depth if the residual functions are Lipschitz with the input. We then show that Heun's method, a second order ODE integration scheme, allows for better gradient estimation with the adjoint method when the residual functions are smooth with depth. We experimentally validate that our adjoint method succeeds at large depth, and that Heun method needs fewer layers to succeed. We finally use the adjoint method successfully for fine-tuning very deep ResNets without memory consumption in the residual layers.

Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 42 of its 54 references that are in the map. First posted on arXiv 29 May 2022.

Builds on

42 of 54 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  5. 2018Neural Ordinary Differential Equationscited by 3,779
  6. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  7. 2016Identity Mappings in Deep Residual Networkscited by 1,965
  8. 2015Automatic differentiation in machine learning: a surveycited by 855
  9. 2019Hamiltonian Neural Networkscited by 712
  10. 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 594
  11. 2018Gradient Descent Finds Global Minima of Deep Neural Networkscited by 574
  12. 2019Implicit Regularization in Deep Matrix Factorizationcited by 405
30 more
  1. 2020Lagrangian Neural Networkscited by 398
  2. 2019Augmented Neural ODEscited by 397
  3. 2021ResNet strikes back: An improved training procedure in timmcited by 368
  4. 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 284
  5. 2022On Neural Differential Equationscited by 268
  6. 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 217
  7. 2017Large Kernel Matters -- Improve Semantic Segmentation by Global Convolutional Networkcited by 208
  8. 2017Beyond Finite Layer Neural Networks: Bridging Deep Architectures and Numerical Differential Equationscited by 203
  9. 2018Deep Neural Networks Motivated by Partial Differential Equationscited by 187
  10. 2021Revisiting ResNets: Improved Training and Scaling Strategiescited by 158
  11. 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 138
  12. 2018i-RevNet: Deep Invertible Networkscited by 137
  13. 2020On the linearity of large non-linear models: when and why the tangent kernel is constantcited by 129
  14. 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
  15. 2017Mean Field Residual Networks: On the Edge of Chaoscited by 83
  16. 2019Deep Learning via Dynamical Systems: An Approximation Perspectivecited by 78
  17. 2020Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODEcited by 76
  18. 2018A Mean-Field Optimal Control Formulation of Deep Learningcited by 67
  19. 2020A Mean-field Analysis of Deep ResNet and Beyond: Towards Provable Optimization Via Overparameterization From Depthcited by 56
  20. 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
  21. 2018Gradient descent with identity initialization efficiently learns positive definite linear transformations by deep residual networkscited by 44
  22. 2021MALI: A memory efficient and reverse accurate integrator for Neural ODEscited by 42
  23. 2021Momentum Residual Neural Networkscited by 37
  24. 2020Universal Approximation Property of Neural Ordinary Differential Equationscited by 32
  25. 2020On the Global Convergence of Training Deep Linear ResNetscited by 29
  26. 2019Deep neural networks, generic universal interpolation, and controlled ODEscited by 28
  27. 2021Scaling Properties of Deep Residual Networkscited by 16
  28. 2018Stochastic Training of Residual Networks: a Differential Equation Viewpointcited by 12
  29. 2021Global convergence of ResNets: From finite to infinite width using linear parameterizationcited by 9
  30. 2022Convergence and Implicit Regularization Properties of Gradient Descent for Deep Residual Networkscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 3; 2023: 8; 2024: 4; 2025: 8; 2026: 4.

27 papers.

Sort:

  1. 2023Generalization bounds for neural ordinary differential equations and deep residual networkscited by 21
  2. 2023Implicit regularization of deep residual networks towards neural ODEscited by 20
  3. 2025Block-Recurrent Dynamics in Vision Transformerscited by 20
  4. 2022Scaling ResNets in the Large-depth Regimecited by 18
  5. 2024Deep linear networks for regression are implicitly regularized towards flat minimacited by 17
  6. 2024Topological Neural Networks go Persistent, Equivariant, and Continuouscited by 17
  7. 2026Inverse Depth Scaling From Most Layers Being Similarcited by 9
  8. 2024Differential Equations for Continuous-Time Deep Learningcited by 7
  9. 2023Vocabulary for Universal Approximation: A Linguistic Perspective of Mapping Compositionscited by 6
  10. 2022Vanilla Feedforward Neural Networks as a Discretization of Dynamical Systemscited by 4
  11. 2022Asymptotic Analysis of Deep Residual Networkscited by 3
  12. 2023Variational formulations of ODE-Net as a mean-field optimal control problem and existence resultscited by 3
15 more
  1. 2024Generalization of Scaled Deep ResNets in the Mean-Field Regimecited by 3
  2. 2025Bridging Neural ODE and ResNet: A Formal Error Bound for Safety Verificationcited by 3
  3. 2023A Novel Convolutional Neural Network Architecture with a Continuous Symmetrycited by 2
  4. 2023Approximating Langevin Monte Carlo with ResNet-like Neural Network architecturescited by 2
  5. 2025Statistical physics analysis of graph neural networks: Approaching optimality in the contextual stochastic block modelcited by 2
  6. 2026SCORE: Replacing Layer Stacking with Contractive Recurrent Depthcited by 2
  7. 2025Latent Zoning Network: A Unified Principle for Generative Modeling, Representation Learning, and Classificationcited by 1
  8. 2025On the Convergence and Size Transferability of Continuous-depth Graph Neural Networkscited by 1
  9. 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEscited by 0
  10. 2023Meta-Prior: Meta learning for Adaptive Inverse Problem Solverscited by 0
  11. 2025Interpretability and Generalization Bounds for Learning Spatial Physicscited by 0
  12. 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMscited by 0
  13. 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equationcited by 0
  14. 2026Universal Approximation Constraints of Narrow ResNets: The Tunnel Effectcited by 0
  15. 2026CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editingcited by 0