Do Residual Neural Networks discretize Neural Ordinary Differential Equations?
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
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2016Identity Mappings in Deep Residual Networkscited by 1,965
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2019Hamiltonian Neural Networkscited by 712
- 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 594
- 2018Gradient Descent Finds Global Minima of Deep Neural Networkscited by 574
- 2019Implicit Regularization in Deep Matrix Factorizationcited by 405
30 more
- 2020Lagrangian Neural Networkscited by 398
- 2019Augmented Neural ODEscited by 397
- 2021ResNet strikes back: An improved training procedure in timmcited by 368
- 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 284
- 2022On Neural Differential Equationscited by 268
- 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 217
- 2017Large Kernel Matters -- Improve Semantic Segmentation by Global Convolutional Networkcited by 208
- 2017Beyond Finite Layer Neural Networks: Bridging Deep Architectures and Numerical Differential Equationscited by 203
- 2018Deep Neural Networks Motivated by Partial Differential Equationscited by 187
- 2021Revisiting ResNets: Improved Training and Scaling Strategiescited by 158
- 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 138
- 2018i-RevNet: Deep Invertible Networkscited by 137
- 2020On the linearity of large non-linear models: when and why the tangent kernel is constantcited by 129
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
- 2017Mean Field Residual Networks: On the Edge of Chaoscited by 83
- 2019Deep Learning via Dynamical Systems: An Approximation Perspectivecited by 78
- 2020Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODEcited by 76
- 2018A Mean-Field Optimal Control Formulation of Deep Learningcited by 67
- 2020A Mean-field Analysis of Deep ResNet and Beyond: Towards Provable Optimization Via Overparameterization From Depthcited by 56
- 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
- 2018Gradient descent with identity initialization efficiently learns positive definite linear transformations by deep residual networkscited by 44
- 2021MALI: A memory efficient and reverse accurate integrator for Neural ODEscited by 42
- 2021Momentum Residual Neural Networkscited by 37
- 2020Universal Approximation Property of Neural Ordinary Differential Equationscited by 32
- 2020On the Global Convergence of Training Deep Linear ResNetscited by 29
- 2019Deep neural networks, generic universal interpolation, and controlled ODEscited by 28
- 2021Scaling Properties of Deep Residual Networkscited by 16
- 2018Stochastic Training of Residual Networks: a Differential Equation Viewpointcited by 12
- 2021Global convergence of ResNets: From finite to infinite width using linear parameterizationcited by 9
- 2022Convergence and Implicit Regularization Properties of Gradient Descent for Deep Residual Networkscited by 3
Built on by
Citing papers per year: 2022: 3; 2023: 8; 2024: 4; 2025: 8; 2026: 4.
27 papers.
Sort:
- 2023Generalization bounds for neural ordinary differential equations and deep residual networkscited by 21
- 2023Implicit regularization of deep residual networks towards neural ODEscited by 20
- 2025Block-Recurrent Dynamics in Vision Transformerscited by 20
- 2022Scaling ResNets in the Large-depth Regimecited by 18
- 2024Deep linear networks for regression are implicitly regularized towards flat minimacited by 17
- 2024Topological Neural Networks go Persistent, Equivariant, and Continuouscited by 17
- 2026Inverse Depth Scaling From Most Layers Being Similarcited by 9
- 2024Differential Equations for Continuous-Time Deep Learningcited by 7
- 2023Vocabulary for Universal Approximation: A Linguistic Perspective of Mapping Compositionscited by 6
- 2022Vanilla Feedforward Neural Networks as a Discretization of Dynamical Systemscited by 4
- 2022Asymptotic Analysis of Deep Residual Networkscited by 3
- 2023Variational formulations of ODE-Net as a mean-field optimal control problem and existence resultscited by 3
15 more
- 2024Generalization of Scaled Deep ResNets in the Mean-Field Regimecited by 3
- 2025Bridging Neural ODE and ResNet: A Formal Error Bound for Safety Verificationcited by 3
- 2023A Novel Convolutional Neural Network Architecture with a Continuous Symmetrycited by 2
- 2023Approximating Langevin Monte Carlo with ResNet-like Neural Network architecturescited by 2
- 2025Statistical physics analysis of graph neural networks: Approaching optimality in the contextual stochastic block modelcited by 2
- 2026SCORE: Replacing Layer Stacking with Contractive Recurrent Depthcited by 2
- 2025Latent Zoning Network: A Unified Principle for Generative Modeling, Representation Learning, and Classificationcited by 1
- 2025On the Convergence and Size Transferability of Continuous-depth Graph Neural Networkscited by 1
- 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEscited by 0
- 2023Meta-Prior: Meta learning for Adaptive Inverse Problem Solverscited by 0
- 2025Interpretability and Generalization Bounds for Learning Spatial Physicscited by 0
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMscited by 0
- 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equationcited by 0
- 2026Universal Approximation Constraints of Narrow ResNets: The Tunnel Effectcited by 0
- 2026CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editingcited by 0
- 2026CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editing13 May 2026
- 2026Universal Approximation Constraints of Narrow ResNets: The Tunnel Effect30 Mar 2026
- 2026SCORE: Replacing Layer Stacking with Contractive Recurrent Depth11 Mar 2026
- 2026Inverse Depth Scaling From Most Layers Being Similar5 Feb 2026
- 2025Block-Recurrent Dynamics in Vision Transformers23 Dec 2025
- 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equation20 Nov 2025
- 2025On the Convergence and Size Transferability of Continuous-depth Graph Neural Networks4 Oct 2025
- 2025Latent Zoning Network: A Unified Principle for Generative Modeling, Representation Learning, and Classification19 Sep 2025
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMs29 Jun 2025
- 2025Interpretability and Generalization Bounds for Learning Spatial Physics18 Jun 2025
- 2025Bridging Neural ODE and ResNet: A Formal Error Bound for Safety Verification3 Jun 2025
- 2025Statistical physics analysis of graph neural networks: Approaching optimality in the contextual stochastic block model3 Mar 2025
15 more
- 2024Topological Neural Networks go Persistent, Equivariant, and Continuous5 Jun 2024
- 2024Deep linear networks for regression are implicitly regularized towards flat minima22 May 2024
- 2024Generalization of Scaled Deep ResNets in the Mean-Field Regime14 Mar 2024
- 2024Differential Equations for Continuous-Time Deep Learning8 Jan 2024
- 2023Meta-Prior: Meta learning for Adaptive Inverse Problem Solvers30 Nov 2023
- 2023Approximating Langevin Monte Carlo with ResNet-like Neural Network architectures6 Nov 2023
- 2023Implicit regularization of deep residual networks towards neural ODEs3 Sep 2023
- 2023A Novel Convolutional Neural Network Architecture with a Continuous Symmetry3 Aug 2023
- 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEs7 Jul 2023
- 2023Vocabulary for Universal Approximation: A Linguistic Perspective of Mapping Compositions20 May 2023
- 2023Generalization bounds for neural ordinary differential equations and deep residual networks11 May 2023
- 2023Variational formulations of ODE-Net as a mean-field optimal control problem and existence results9 Mar 2023
- 2022Asymptotic Analysis of Deep Residual Networks15 Dec 2022
- 2022Vanilla Feedforward Neural Networks as a Discretization of Dynamical Systems22 Sep 2022
- 2022Scaling ResNets in the Large-depth Regime14 Jun 2022
- 2023Generalization bounds for neural ordinary differential equations and deep residual networkscited by 21
- 2023Implicit regularization of deep residual networks towards neural ODEscited by 20
- 2025Block-Recurrent Dynamics in Vision Transformerscited by 20
- 2022Scaling ResNets in the Large-depth Regimecited by 18
- 2024Deep linear networks for regression are implicitly regularized towards flat minimacited by 17
- 2024Topological Neural Networks go Persistent, Equivariant, and Continuouscited by 17
- 2026Inverse Depth Scaling From Most Layers Being Similarcited by 9
- 2024Differential Equations for Continuous-Time Deep Learningcited by 7
- 2023Vocabulary for Universal Approximation: A Linguistic Perspective of Mapping Compositionscited by 6
- 2022Vanilla Feedforward Neural Networks as a Discretization of Dynamical Systemscited by 4
- 2022Asymptotic Analysis of Deep Residual Networkscited by 3
- 2023Variational formulations of ODE-Net as a mean-field optimal control problem and existence resultscited by 3
12 most cited of 27 All 27 (JSON)
- 2026CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editing13 May 2026
- 2026Universal Approximation Constraints of Narrow ResNets: The Tunnel Effect30 Mar 2026
- 2026SCORE: Replacing Layer Stacking with Contractive Recurrent Depth11 Mar 2026
- 2026Inverse Depth Scaling From Most Layers Being Similar5 Feb 2026
- 2025Block-Recurrent Dynamics in Vision Transformers23 Dec 2025
- 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equation20 Nov 2025
- 2025On the Convergence and Size Transferability of Continuous-depth Graph Neural Networks4 Oct 2025
- 2025Latent Zoning Network: A Unified Principle for Generative Modeling, Representation Learning, and Classification19 Sep 2025
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMs29 Jun 2025
- 2025Interpretability and Generalization Bounds for Learning Spatial Physics18 Jun 2025
- 2025Bridging Neural ODE and ResNet: A Formal Error Bound for Safety Verification3 Jun 2025
- 2025Statistical physics analysis of graph neural networks: Approaching optimality in the contextual stochastic block model3 Mar 2025
12 newest of 27 All 27 (JSON)