mlsanityData to 14 Oct 2026

Opening the Blackbox: Accelerating Neural Differential Equations by Regularizing Internal Solver Heuristics

arXiv 2105.03918 ↗First posted 9 May 2021cs.LG cs.NA math.NAcited by 26

Not on the map. Why?

Abstract (arXiv)

Democratization of machine learning requires architectures that automatically adapt to new problems. Neural Differential Equations (NDEs) have emerged as a popular modeling framework by removing the need for ML practitioners to choose the number of layers in a recurrent model. While we can control the computational cost by choosing the number of layers in standard architectures, in NDEs the number of neural network evaluations for a forward pass can depend on the number of steps of the adaptive ODE solver. But, can we force the NDE to learn the version with the least steps while not increasing the training cost? Current strategies to overcome slow prediction require high order automatic differentiation, leading to significantly higher training time. We describe a novel regularization method that uses the internal cost heuristics of adaptive differential equation solvers combined with discrete adjoint sensitivities to guide the training process towards learning NDEs that are easier to solve. This approach opens up the blackbox numerical analysis behind the differential equation solver's algorithm and directly uses its local error estimates and stiffness heuristics as cheap and accurate cost estimates. We incorporate our method without any change in the underlying NDE framework and show that our method extends beyond Ordinary Differential Equations to accommodate Neural Stochastic Differential Equations. We demonstrate how our approach can halve the prediction time and, unlike other methods which can increase the training time by an order of magnitude, we demonstrate similar reduction in training times. Together this showcases how the knowledge embedded within state-of-the-art equation solvers can be used to enhance machine learning.

Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Builds on 22 of its 52 references that are in the map. First posted on arXiv 9 May 2021.

Builds on

22 of 52 references.

References · 22

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2018Neural Ordinary Differential Equationscited by 3,779
  4. 2019Deep Equilibrium Modelscited by 615
  5. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
  6. 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 594
  7. 2020Universal Differential Equations for Scientific Machine Learningcited by 353
  8. 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 283
  9. 2020How to train your neural ODE: the world of Jacobian and kinetic regularizationcited by 228
  10. 2017Beyond Finite Layer Neural Networks: Bridging Deep Architectures and Numerical Differential Equationscited by 203
  11. 2019Latent ODEs for Irregularly-Sampled Time Seriescited by 183
  12. 2019Neural SDE: Stabilizing Neural ODE Networks with Stochastic Noisecited by 101
10 more
  1. 2019ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEscited by 84
  2. 2020Learning Differential Equations that are Easy to Solvecited by 81
  3. 2020STEER: Simple Temporal Regularization For Neural ODEscited by 58
  4. 2018Don't Unroll Adjoint: Differentiating SSA-Form Programscited by 45
  5. 2021MALI: A memory efficient and reverse accurate integrator for Neural ODEscited by 42
  6. 2020Discretize-Optimize vs. Optimize-Discretize for Time-Series Regression and Continuous Normalizing Flowscited by 37
  7. 2019DiffEqFlux.jl - A Julia Library for Neural Differential Equationscited by 33
  8. 2020Hypersolvers: Toward Fast Continuous-Depth Modelscited by 33
  9. 2019A Simple Differentiable Programming Languagecited by 11
  10. 2018Confederated Modular Differential Equation APIs for Accelerated Algorithm Development and Benchmarkingcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 3; 2022: 7; 2023: 6; 2024: 6; 2025: 3; 2026: 1.

26 papers.

Sort:

By area:

  1. 2021Heavy Ball Neural Ordinary Differential Equationscited by 42
  2. 2023Physics-Informed Machine Learning for Modeling and Control of Dynamical Systemscited by 28
  3. 2022Neural Integral Equationscited by 23
  4. 2022On Numerical Integration in Neural Ordinary Differential Equationscited by 21
  5. 2021Differentiable Multiple Shooting Layerscited by 20
  6. 2023Stabilized Neural Differential Equations for Learning Dynamics with Explicit Constraintscited by 15
  7. 2024When are dynamical systems learned from time series data statistically accurate?cited by 15
  8. 2022Taylor-Lagrange Neural Ordinary Differential Equations: Toward Fast Training and Evaluation of Neural ODEscited by 13
  9. 2024Training Stiff Neural Ordinary Differential Equations with Implicit Single-Step Methodscited by 11
  10. 2021How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studiescited by 10
  11. 2022torchode: A Parallel ODE Solver for PyTorchcited by 10
  12. 2022Sparsity in Continuous-Depth Neural Networkscited by 10
14 more
  1. 2024Simulation-Free Training of Neural ODEs on Paired Datacited by 8
  2. 2022Proximal Implicit ODE Solvers for Accelerating Learning Neural ODEscited by 6
  3. 2023Implementation and (Inverse Modified) Error Analysis for implicitly-templated ODE-netscited by 6
  4. 2022Continuous Deep Equilibrium Models: Training Neural ODEs faster by integrating them to Infinitycited by 5
  5. 2024Rademacher Complexity of Neural ODEs via Chen-Fliess Seriescited by 5
  6. 2024Training Stiff Neural Ordinary Differential Equations with Explicit Exponential Integration Methodscited by 5
  7. 2023Locally Regularized Neural Differential Equations: Some Black Boxes Were Meant to Remain Closed!cited by 4
  8. 2023Faster Training of Neural ODEs Using Gauss-Legendre Quadraturecited by 3
  9. 2024PosDiffNet: Positional Neural Diffusion for Point Cloud Registration in a Large Field of View with Perturbationscited by 3
  10. 2025The Vanishing Gradient Problem for Stiff Neural Differential Equationscited by 3
  11. 2026Foundation Inference Models for Ordinary Differential Equationscited by 3
  12. 2023Trainability, Expressivity and Interpretability in Gated Neural ODEscited by 2
  13. 2025Efficient Manifold-Constrained Neural ODE for High-Dimensional Datasetscited by 2
  14. 2025Stable CDE Autoencoders with Acuity Regularization for Offline Reinforcement Learning in Sepsis Treatmentcited by 0