Symplectic Adjoint Method for Exact Gradient of Neural ODE with Minimal Memory
Not on the map. Why?
Abstract (arXiv)
A neural network model of a differential equation, namely neural ODE, has enabled the learning of continuous-time dynamical systems and probabilistic distributions with high accuracy. The neural ODE uses the same network repeatedly during a numerical integration. The memory consumption of the backpropagation algorithm is proportional to the number of uses times the network size. This is true even if a checkpointing scheme divides the computation graph into sub-graphs. Otherwise, the adjoint method obtains a gradient by a numerical integration backward in time. Although this method consumes memory only for a single network use, it requires high computational cost to suppress numerical errors. This study proposes the symplectic adjoint method, which is an adjoint method solved by a symplectic integrator. The symplectic adjoint method obtains the exact gradient (up to rounding error) with memory proportional to the number of uses plus the network size. The experimental results demonstrate that the symplectic adjoint method consumes much less memory than the naive backpropagation algorithm and checkpointing schemes, performs faster than the adjoint method, and is more robust to rounding errors.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 28 of its 46 references that are in the map. First posted on arXiv 19 Feb 2021.
Builds on
28 of 46 references.
References · 28
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2016Density estimation using Real NVPcited by 2,042
- 2014NICE: Non-linear Independent Components Estimationcited by 1,058
- 2019Hamiltonian Neural Networkscited by 712
- 2017Masked Autoregressive Flow for Density Estimationcited by 684
- 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 594
- 2020Neural Controlled Differential Equations for Irregular Time Seriescited by 506
- 2019PointFlow: 3D Point Cloud Generation with Continuous Normalizing Flowscited by 488
16 more
- 2020Universal Differential Equations for Scientific Machine Learningcited by 353
- 2020Scalable Gradients for Stochastic Differential Equationscited by 271
- 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 217
- 2017Beyond Finite Layer Neural Networks: Bridging Deep Architectures and Numerical Differential Equationscited by 203
- 2019Symplectic Recurrent Neural Networkscited by 150
- 2019ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEscited by 84
- 2016Memory-Efficient Backpropagation Through Timecited by 78
- 2020Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODEcited by 76
- 2021MALI: A memory efficient and reverse accurate integrator for Neural ODEscited by 42
- 2020Neural Jump Ordinary Differential Equations: Consistent Continuous-Time Prediction and Filteringcited by 34
- 2020Euclideanizing Flows: Diffeomorphic Reduction for Learning Stable Dynamical Systemscited by 32
- 2020Universal Approximation Property of Neural Ordinary Differential Equationscited by 32
- 2020ShapeFlow: Learnable Deformations Among 3D Shapescited by 28
- 2020Learning Dynamics Models with Stable Invariant Setscited by 18
- 2020WaveNODE: A Continuous Normalizing Flow for Speech Synthesiscited by 5
- 2015Symplectic Runge-Kutta schemes for adjoint equations, automatic differentiation, optimal control and morecited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 6; 2023: 2; 2024: 1; 2025: 1.
11 papers.
- 2022Homotopy-based training of NeuralODEs for accurate dynamics discoverycited by 14
- 2022Learning Neural Hamiltonian Dynamics: A Methodological Overviewcited by 8
- 2023Towards Accurate Guided Diffusion Sampling through Symplectic Adjoint Methodcited by 8
- 2022Proximal Implicit ODE Solvers for Accelerating Learning Neural ODEscited by 6
- 2021Characteristic Neural Ordinary Differential Equationscited by 1
- 2025Efficient Neural SDE Training using Wiener-Space Cubaturecited by 1
- 2022Standalone Neural ODEs with Sensitivity Analysiscited by 0
- 2022Noisy Learning for Neural ODEs Acts as a Robustness Locus Wideningcited by 0
- 2022Modeling Nonlinear Dynamics in Continuous Time with Inductive Biases on Decay Rates and/or Frequenciescited by 0
- 2023Ortho-ODE: Enhancing Robustness and of Neural ODEs against Adversarial Attackscited by 0
- 2024Symplectic Bregman divergencescited by 0
- 2025Efficient Neural SDE Training using Wiener-Space Cubature18 Feb 2025
- 2024Symplectic Bregman divergences23 Aug 2024
- 2023Towards Accurate Guided Diffusion Sampling through Symplectic Adjoint Method19 Dec 2023
- 2023Ortho-ODE: Enhancing Robustness and of Neural ODEs against Adversarial Attacks16 May 2023
- 2022Modeling Nonlinear Dynamics in Continuous Time with Inductive Biases on Decay Rates and/or Frequencies26 Dec 2022
- 2022Homotopy-based training of NeuralODEs for accurate dynamics discovery4 Oct 2022
- 2022Noisy Learning for Neural ODEs Acts as a Robustness Locus Widening16 Jun 2022
- 2022Standalone Neural ODEs with Sensitivity Analysis27 May 2022
- 2022Proximal Implicit ODE Solvers for Accelerating Learning Neural ODEs19 Apr 2022
- 2022Learning Neural Hamiltonian Dynamics: A Methodological Overview28 Feb 2022
- 2021Characteristic Neural Ordinary Differential Equations25 Nov 2021