# Efficient, Accurate and Stable Gradients for Neural ODEs

*Sam McCallum, James Foster*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155995) · [Open on the map](../papers.html#p155995)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Random Matrix Theory of Learning Dynamics](../pgroup/559.md) · Type: new method · Keywords: Neural ODEs, reversible solvers, gradient computation, memory efficiency, time series classification

Areas: [Memory](../areas/memory.md) › Memory mechanisms › Spiking Neural Networks; [Model Architectures & Sequence Modeling](../areas/architectures.md) › Neural and brain architectures › Efficient neural architectures; [Optimization & Algorithms](../areas/optimization.md) › Optimization Dynamics › Neural PDE Solvers

## Summary
The paper introduces algebraically reversible ODE solvers that provide exact gradients, high-order accuracy, and numerical stability while cutting training time by over 2× and reducing memory usage by at least 10× compared to recursive checkpointing.

## Explained to a 5-year-old
Neural ODEs are like tiny computers that learn from data by solving equations. When they learn, they need to remember all the steps they took, which uses a lot of memory. The old way of remembering these steps was like keeping a big notebook, which was heavy and slow. The new idea is to make the steps reversible, so you can go back without keeping the whole notebook. This means you can learn faster and need less memory.

## Explained to a 5-year-old, longer
Neural ODEs are like tiny computers that learn from data by solving equations. When they learn, they need to remember all the steps they took, which uses a lot of memory. The old way of remembering these steps was like keeping a big notebook, which was heavy and slow. The new idea is to make the steps reversible, so you can go back without keeping the whole notebook. This means you can learn faster and need less memory. Because the steps are reversible, the learning process is also more accurate. The new method also keeps the numbers stable, so the learning doesn't go wrong. This helps when you want to teach the computer many examples quickly. It also helps when you have limited computer resources. The result is that you can train bigger models on smaller machines. The improvement is more than twice as fast and uses ten times less memory. Overall, this makes learning with neural ODEs easier and cheaper for everyone.

## For a technical reader
The paper presents a new class of algebraically reversible ODE solvers that compute exact gradients during backpropagation. These solvers achieve high-order accuracy and numerical stability, addressing the trade-off between recomputation and memory in existing recursive checkpointing approaches. Empirical evaluations on scientific modeling and time-series classification tasks show over 2× speed-up and at least 10× reduction in memory usage compared to the prior method. The reversible design eliminates the need to store intermediate checkpoints, making training Neural ODEs more efficient on limited hardware. Overall, the approach enables faster, more stable training of Neural ODEs without sacrificing accuracy.

## Problem
Training Neural ODEs requires backpropagating through an ODE solve, and existing recursive checkpointing methods trade off recomputation and memory usage, leading to high time and memory costs.

## Method
The approach designs algebraically reversible ODE solvers that compute exact gradients, maintain high-order accuracy, and ensure numerical stability, thereby reducing both computational time and memory requirements compared to recursive checkpointing.

## Results
The reversible solvers reduce training time by more than 2× and use at least 10× less memory on average than recursive checkpointing.

## Contributions
It provides a class of reversible ODE solvers that achieve exact gradients, high-order accuracy, and numerical stability while significantly improving time and memory efficiency over existing checkpointing techniques.

## Practical relevance
The improved solvers make training Neural ODEs faster and more memory-efficient, enabling larger-scale deployments on modest hardware.

## Research questions this paper is counted under

- [How can we reduce the memory and computational overhead of training and deploying deep neural networks while preserving performance?](../q/63.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155995)
