ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEs
Not on the map. Why?
Abstract (arXiv)
Residual neural networks can be viewed as the forward Euler discretization of an Ordinary Differential Equation (ODE) with a unit time step. This has recently motivated researchers to explore other discretization approaches and train ODE based networks. However, an important challenge of neural ODEs is their prohibitive memory cost during gradient backpropogation. Recently a method proposed in [8], claimed that this memory overhead can be reduced from O(LN_t), where N_t is the number of time steps, down to O(L) by solving forward ODE backwards in time, where L is the depth of the network. However, we will show that this approach may lead to several problems: (i) it may be numerically unstable for ReLU/non-ReLU activations and general convolution operators, and (ii) the proposed optimize-then-discretize approach may lead to divergent training due to inconsistent gradients for small time step sizes. We discuss the underlying problems, and to address them we propose ANODE, an Adjoint based Neural ODE framework which avoids the numerical instability related problems noted above, and provides unconditionally accurate gradients. ANODE has a memory footprint of O(L) + O(N_t), with the same computational cost as reversing ODE solve. We furthermore, discuss a memory efficient algorithm which can further reduce this footprint with a trade-off of additional computational cost. We show results on Cifar-10/100 datasets using ResNet and SqueezeNext neural networks.
Key facts. Cited by 83 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Feb 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 27; 2022: 12; 2023: 9; 2024: 9; 2025: 14; 2026: 12.
83 papers.
Sort:
By area:
- 2021Neural Flows: Efficient Alternative to Neural ODEscited by 99
- 2021JFB: Jacobian-Free Backpropagation for Implicit Networkscited by 84
- 2021Stiff Neural Ordinary Differential Equationscited by 77
- 2021Closed-form Continuous-time Neural Modelscited by 65
- 2021Machine learning structure preserving brackets for forecasting irreversible processescited by 51
- 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraintscited by 46
- 2021Neural Point Process for Learning Spatiotemporal Event Dynamicscited by 42
- 2021Momentum Residual Neural Networkscited by 36
- 2021Opening the Blackbox: Accelerating Neural Differential Equations by Regularizing Internal Solver Heuristicscited by 26
- 2021Causal Navigation by Continuous-time Neural Networkscited by 23
- 2023Distribution learning via neural differential equations: a nonparametric statistical perspectivecited by 22
- 2025Comprehensive Review of Neural Differential Equations for Time Series Analysiscited by 20
38 more
- 2021Stateful ODE-Nets using Basis Function Expansionscited by 14
- 2021Gaussian processes meet NeuralODEs: A Bayesian framework for learning the dynamics of partially observed systems from scarce and noisy datacited by 13
- 2022Reachability Analysis of a General Class of Neural Ordinary Differential Equationscited by 13
- 2022Continuous-Time Meta-Learning with Forward Mode Differentiationcited by 12
- 2021Symplectic Adjoint Method for Exact Gradient of Neural ODE with Minimal Memorycited by 11
- 2021Second-Order Neural ODE Optimizercited by 11
- 2021Equivariant Finite Normalizing Flowscited by 11
- 2024Training Stiff Neural Ordinary Differential Equations with Implicit Single-Step Methodscited by 11
- 2022torchode: A Parallel ODE Solver for PyTorchcited by 10
- 2024Efficient, Accurate and Stable Gradients for Neural ODEscited by 9
- 2022TO-FLOW: Efficient Continuous Normalizing Flows with Temporal Optimization adjoint with Moving Speedcited by 8
- 2023Generalized Neural Closure Models with Interpretabilitycited by 8
- 2021Improving Robustness and Uncertainty Modelling in Neural Ordinary Differential Equationscited by 7
- 2024Differential Equations for Continuous-Time Deep Learningcited by 7
- 2024Sequential-in-time training of nonlinear parametrizations for solving time-dependent partial differential equationscited by 7
- 2021Learning orbital dynamics of binary black hole systems from gravitational wave measurementscited by 6
- 2022Proximal Implicit ODE Solvers for Accelerating Learning Neural ODEscited by 6
- 2023Persistent learning signals and working memory without continuous attractorscited by 6
- 2021Neural Ordinary Differential Equations for Data-Driven Reduced Order Modeling of Environmental Hydrodynamicscited by 5
- 2021Meta-Learning with Adjoint Methodscited by 5
- 2022Bounded nonlinear forecasts of partially observed geophysical systems with physics-constrained deep learningcited by 5
- 2022A scalable deep learning approach for solving high-dimensional dynamic optimal transportcited by 5
- 2023Stability-Informed Initialization of Neural Ordinary Differential Equationscited by 5
- 2024Training Stiff Neural Ordinary Differential Equations with Explicit Exponential Integration Methodscited by 5
- 2025SciML Agents: Write the Solver, Not the Solutioncited by 5
- 2025Reversible Deep Equilibrium Modelscited by 5
- 2025Boltzmann generators for amorphous particle systemscited by 5
- 2021Learning Runge-Kutta Integration Schemes for ODE Simulation and Identificationcited by 4
- 2021Spline parameterization of neural network controls for deep learningcited by 3
- 2021Quantized Convolutional Neural Networks Through the Lens of Partial Differential Equationscited by 3
- 2022A memory-efficient neural ODE framework based on high-level adjoint differentiationcited by 3
- 2022Offline Supervised Learning V.S. Online Direct Policy Optimization: A Comparative Study and A Unified Training Paradigm for Neural Network-Based Optimal Feedback Controlcited by 3
- 2023Learning PDE Solution Operator for Continuous Modeling of Time-Seriescited by 3
- 2023Faster Training of Neural ODEs Using Gauss-Legendre Quadraturecited by 3
- 2025The Vanishing Gradient Problem for Stiff Neural Differential Equationscited by 3
- 2025Training Diffusion Policies via Prior-Mapping Co-Evolutioncited by 3
- 2026A Physical Theory of Backpropagation: Exact Gradients from the Least-Action Principlecited by 3
- 2021Learning ODEs via Diffeomorphisms for Fast and Robust Integrationcited by 2
50 most cited of 83 All 83 (JSON)
- 2026TinyUDE: Solver-Free Universal Differential Equations on Microcontrollers via Lie-Taylor Jet Matching22 Sep 2026
- 2026Continuous-Time Machine Learning: A Unified Mathematical Perspective15 Sep 2026
- 2026An Energy-Based Conservative-Dissipative Latent Neural Evolution Operator for Magnetization Dynamics3 Sep 2026
- 2026GRADSOLVE: fast exact gradients for ODE ensembles on GPUs2 Sep 2026
- 2026GradRepair-ODE: Certified Gradient Repair for Neural ODE Training14 Aug 2026
- 2026Neural Discovery of Memory and Nonlocal Kernels in Integro-Differential Equations with Constrained Kolmogorov--Arnold Networks13 Jul 2026
- 2026Learning Orthonormal Bases for Function Spaces19 May 2026
- 2026Trajectory-Optimized Time Reparameterization for Learning-Compatible Reduced-Order Modeling of Stiff Dynamical Systems17 Mar 2026
- 2026Kinetic-based regularization: Learning spatial derivatives and PDE applications6 Mar 2026
- 2026Tracking Finite-Time Lyapunov Exponents to Robustify Neural ODEs10 Feb 2026
- 2026A Physical Theory of Backpropagation: Exact Gradients from the Least-Action Principle2 Feb 2026
- 2026From Prompt to Protocol: Fast Charging Batteries with Large Language Models14 Jan 2026
38 more
- 2025Boltzmann generators for amorphous particle systems18 Dec 2025
- 2025Training Diffusion Policies via Prior-Mapping Co-Evolution2 Dec 2025
- 2025Zero-Shot Function Encoder-Based Differentiable Predictive Control7 Nov 2025
- 2025Mixed Precision Training of Neural ODEs27 Oct 2025
- 2025Active Subspaces in Infinite Dimension13 Oct 2025
- 2025Reversible Deep Equilibrium Models16 Sep 2025
- 2025SciML Agents: Write the Solver, Not the Solution12 Sep 2025
- 2025FNODE: Flow-Matching for data-driven simulation of constrained multibody systems29 Aug 2025
- 2025The Vanishing Gradient Problem for Stiff Neural Differential Equations2 Aug 2025
- 2025Weight-Parameterization in Continuous Time Deep Neural Networks for Surrogate Modeling29 Jul 2025
- 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints4 Jun 2025
- 2025PointODE: Lightweight Point Cloud Learning with Neural Ordinary Differential Equations on Edge31 May 2025
- 2025Integration Flow Models28 Apr 2025
- 2025Comprehensive Review of Neural Differential Equations for Time Series Analysis14 Feb 2025
- 2024Semi-Implicit Neural Ordinary Differential Equations15 Dec 2024
- 2024Training Stiff Neural Ordinary Differential Equations with Explicit Exponential Integration Methods2 Dec 2024
- 2024Efficient, Accurate and Stable Gradients for Neural ODEs15 Oct 2024
- 2024DFM: Interpolant-free Dual Flow Matching11 Oct 2024
- 2024Training Stiff Neural Ordinary Differential Equations with Implicit Single-Step Methods8 Oct 2024
- 2024A Unified Framework for Neural Computation and Learning Over Time18 Sep 2024
- 2024Sequential-in-time training of nonlinear parametrizations for solving time-dependent partial differential equations1 Apr 2024
- 2024Systematic construction of continuous-time neural networks for linear dynamical systems24 Mar 2024
- 2024Differential Equations for Continuous-Time Deep Learning8 Jan 2024
- 2023Stability-Informed Initialization of Neural Ordinary Differential Equations27 Nov 2023
- 2023Distribution learning via neural differential equations: a nonparametric statistical perspective3 Sep 2023
- 2023Persistent learning signals and working memory without continuous attractors24 Aug 2023
- 2023Faster Training of Neural ODEs Using Gauss-Legendre Quadrature21 Aug 2023
- 2023Trainability, Expressivity and Interpretability in Gated Neural ODEs12 Jul 2023
- 2023Correcting Auto-Differentiation in Neural-ODE Training3 Jun 2023
- 2023Learning PDE Solution Operator for Continuous Modeling of Time-Series2 Feb 2023
- 2023On backpropagating Hessians through ODEs19 Jan 2023
- 2023Generalized Neural Closure Models with Interpretability15 Jan 2023
- 2022Offline Supervised Learning V.S. Online Direct Policy Optimization: A Comparative Study and A Unified Training Paradigm for Neural Network-Based Optimal Feedback Control29 Nov 2022
- 2022torchode: A Parallel ODE Solver for PyTorch22 Oct 2022
- 2022Deep Learning Aided Laplace Based Bayesian Inference for Epidemiological Systems17 Oct 2022
- 2022Parameter-varying neural ordinary differential equations with partition-of-unity networks1 Oct 2022
- 2022Federated Learning of Neural ODE Models with Different Iteration Counts19 Aug 2022
- 2022Reachability Analysis of a General Class of Neural Ordinary Differential Equations13 Jul 2022
50 newest of 83 All 83 (JSON)
- 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraintscited by 46
- 2025Training Diffusion Policies via Prior-Mapping Co-Evolutioncited by 3
- 2025Integration Flow Modelscited by 1
- 2024DFM: Interpolant-free Dual Flow Matchingcited by 0
- 2025FNODE: Flow-Matching for data-driven simulation of constrained multibody systemscited by 0
- 2025Training Diffusion Policies via Prior-Mapping Co-Evolution2 Dec 2025
- 2025FNODE: Flow-Matching for data-driven simulation of constrained multibody systems29 Aug 2025
- 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraints4 Jun 2025
- 2025Integration Flow Models28 Apr 2025
- 2024DFM: Interpolant-free Dual Flow Matching11 Oct 2024
- 2025SciML Agents: Write the Solver, Not the Solutioncited by 5
- 2025SciML Agents: Write the Solver, Not the Solution12 Sep 2025
- 2021Causal Navigation by Continuous-time Neural Networkscited by 23
- 2021Causal Navigation by Continuous-time Neural Networks15 Jun 2021
- 2021Neural Flows: Efficient Alternative to Neural ODEscited by 99
- 2021JFB: Jacobian-Free Backpropagation for Implicit Networkscited by 84
- 2021Stiff Neural Ordinary Differential Equationscited by 77
- 2021Closed-form Continuous-time Neural Modelscited by 65
- 2021Machine learning structure preserving brackets for forecasting irreversible processescited by 51
- 2021Neural Point Process for Learning Spatiotemporal Event Dynamicscited by 42
- 2021Momentum Residual Neural Networkscited by 36
- 2021Opening the Blackbox: Accelerating Neural Differential Equations by Regularizing Internal Solver Heuristicscited by 26
- 2023Distribution learning via neural differential equations: a nonparametric statistical perspectivecited by 22
- 2025Comprehensive Review of Neural Differential Equations for Time Series Analysiscited by 20
- 2021Stateful ODE-Nets using Basis Function Expansionscited by 14
- 2021Gaussian processes meet NeuralODEs: A Bayesian framework for learning the dynamics of partially observed systems from scarce and noisy datacited by 13
12 most cited of 76 All 76 (JSON)
- 2026TinyUDE: Solver-Free Universal Differential Equations on Microcontrollers via Lie-Taylor Jet Matching22 Sep 2026
- 2026Continuous-Time Machine Learning: A Unified Mathematical Perspective15 Sep 2026
- 2026An Energy-Based Conservative-Dissipative Latent Neural Evolution Operator for Magnetization Dynamics3 Sep 2026
- 2026GRADSOLVE: fast exact gradients for ODE ensembles on GPUs2 Sep 2026
- 2026GradRepair-ODE: Certified Gradient Repair for Neural ODE Training14 Aug 2026
- 2026Neural Discovery of Memory and Nonlocal Kernels in Integro-Differential Equations with Constrained Kolmogorov--Arnold Networks13 Jul 2026
- 2026Learning Orthonormal Bases for Function Spaces19 May 2026
- 2026Trajectory-Optimized Time Reparameterization for Learning-Compatible Reduced-Order Modeling of Stiff Dynamical Systems17 Mar 2026
- 2026Kinetic-based regularization: Learning spatial derivatives and PDE applications6 Mar 2026
- 2026Tracking Finite-Time Lyapunov Exponents to Robustify Neural ODEs10 Feb 2026
- 2026A Physical Theory of Backpropagation: Exact Gradients from the Least-Action Principle2 Feb 2026
- 2026From Prompt to Protocol: Fast Charging Batteries with Large Language Models14 Jan 2026
12 newest of 76 All 76 (JSON)