NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Efficient, Accurate and Stable Gradients for Neural ODEs

Sam McCallum, James Foster

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Random Matrix Theory of Learning Dynamics · Type: new method · Keywords: Neural ODEs, reversible solvers, gradient computation, memory efficiency, time series classification

Areas: Memory › Memory mechanisms › Spiking Neural Networks; Model Architectures & Sequence Modeling › Neural and brain architectures › Efficient neural architectures; Optimization & Algorithms › 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

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