Lune

NeurIPS2021顶会

Symplectic Adjoint Method for Exact Gradient of Neural ODE with Minimal Memory

Takashi Matsubara, Yuto Miyatake, Takaharu Yaguchi

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • MALI: A memory efficient and reverse accurate integrator for Neural ODEs 引用了 Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODE
  • MALI: A memory efficient and reverse accurate integrator for Neural ODEs 引用了 Neural Controlled Differential Equations for Irregular Time Series
  • Learning Neural Event Functions for Ordinary Differential Equations 引用了 MALI: A memory efficient and reverse accurate integrator for Neural ODEs
  • Learning Neural Event Functions for Ordinary Differential Equations 引用了 PointFlow: 3D Point Cloud Generation With Continuous Normalizing Flows
  • Learning Neural Event Functions for Ordinary Differential Equations 引用了 Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODE
  • Learning Neural Event Functions for Ordinary Differential Equations 引用了 Neural Controlled Differential Equations for Irregular Time Series
  • Symplectic Spectrum Gaussian Processes: Learning Hamiltonians from Noisy and Sparse Data 引用了 Learning Neural Event Functions for Ordinary Differential Equations
  • Symplectic Spectrum Gaussian Processes: Learning Hamiltonians from Noisy and Sparse Data 引用了 Symplectic Recurrent Neural Networks
  • Symplectic Spectrum Gaussian Processes: Learning Hamiltonians from Noisy and Sparse Data 引用了 Neural Controlled Differential Equations for Irregular Time Series
  • Improving Neural ODE Training with Temporal Adaptive Batch Normalization 引用了 Neural Controlled Differential Equations for Irregular Time Series
  • Homotopy-based training of NeuralODEs for accurate dynamics discovery 引用了 Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODE
  • Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta Solvers 引用了 MALI: A memory efficient and reverse accurate integrator for Neural ODEs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Learning Neural Event Functions for Ordinary Differential EquationsRicky T. Q. Chen, Brandon Amos, Maximilian NickelICLR 2021 · 24 次引用
  2. Homotopy-based training of NeuralODEs for accurate dynamics discoveryJoon-Hyuk Ko, Hankyul Koh, Nojun Park, Wonho JheNeurIPS 2023 · 23 次引用
  3. Symplectic Spectrum Gaussian Processes: Learning Hamiltonians from Noisy and Sparse DataYusuke Tanaka, Tomoharu Iwata, Naonori UedaNeurIPS 2022 · 16 次引用
  4. Improving Neural ODE Training with Temporal Adaptive Batch NormalizationSu Zheng, Zhengqi Gao, Fan-Keng Sun, Duane S. Boning 等NeurIPS 2024 · 5 次引用
  5. Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta SolversZander Blasingame, Chen LiuICML 2026 · 2 次引用

它引用的 Paper7

  1. Neural Controlled Differential Equations for Irregular Time SeriesPatrick Kidger, James Morrill, James Foster, Terry J. LyonsNeurIPS 2020 · 850 次引用
  2. PointFlow: 3D Point Cloud Generation With Continuous Normalizing FlowsGuandao Yang, Xun Huang, Zekun Hao, Ming-Yu Liu 等ICCV 2019 · 794 次引用
  3. Symplectic Recurrent Neural NetworksZhengdao Chen, Jianyu Zhang, Martín Arjovsky, Léon BottouICLR 2020 · 261 次引用
  4. Adaptive Checkpoint Adjoint Method for Gradient Estimation in Neural ODEJuntang Zhuang, Nicha C. Dvornek, Xiaoxiao Li, Sekhar Tatikonda 等ICML 2020 · 125 次引用
  5. MALI: A memory efficient and reverse accurate integrator for Neural ODEsJuntang Zhuang, Nicha C. Dvornek, Sekhar Tatikonda, James S. DuncanICLR 2021 · 61 次引用

相关 Paper

  1. Interpolation Technique to Speed Up Gradients Propagation in Neural ODEsTalgat Daulbaev, Alexandr Katrutsa, Larisa Markeeva, Julia Gusak 等NeurIPS 2020 · 26 次引用
  2. Do Residual Neural Networks discretize Neural Ordinary Differential Equations?Michael E. Sander, Pierre Ablin, Gabriel PeyréNeurIPS 2022 · 42 次引用
  3. "Hey, that's not an ODE": Faster ODE Adjoints via SeminormsPatrick Kidger, Ricky T. Q. Chen, Terry J. LyonsICML 2021 · 56 次引用
  4. Efficient Training of Neural Fractional-Order Differential Equation via Adjoint BackpropagationQiyu Kang, Xuhao Li, Kai Zhao, Wenjun Cui 等AAAI 2025 · 6 次引用
  5. Opening the Blackbox: Accelerating Neural Differential Equations by Regularizing Internal Solver HeuristicsAvik Pal, Yingbo Ma, Viral B. Shah, Christopher Vincent RackauckasICML 2021 · 44 次引用
黄昏的海面,两侧是细线勾勒的悬崖