Neural network-enhanced integrators for simulating ordinary differential equations
Amine Othmane, Kathrin Flaßkamp
TL;DR
This work tackles the challenge of efficiently solving parameterized ODEs with high accuracy by augmenting traditional time-stepping schemes with neural network learned corrections to the local truncation error. A general framework trains an NN to approximate the leading local error term of explicit Runge–Kutta methods and injects a corrective term into the discrete flow, with backward error analysis ensuring the enhanced method remains faithful to the underlying dynamics. Embedded Runge–Kutta strategies are employed to mitigate generalization risk, providing a safety net that reverts to classical solvers when the NN's prediction is unreliable. The methodology is validated on a wind turbine dynamics model drawn from OpenFast CADynTurb, showing improved speed-accuracy trade-offs and robustness, highlighting the practical potential of combining classical numerical analysis with data-driven error correction for complex, high-dimensional systems.
Abstract
Numerous applications necessitate the computation of numerical solutions to differential equations across a wide range of initial conditions and system parameters, which feeds the demand for efficient yet accurate numerical integration methods.This study proposes a neural network (NN) enhancement of classical numerical integrators. NNs are trained to learn integration errors, which are then used as additive correction terms in numerical schemes. The performance of these enhanced integrators is compared with well-established methods through numerical studies, with a particular emphasis on computational efficiency. Analytical properties are examined in terms of local errors and backward error analysis. Embedded Runge-Kutta schemes are then employed to develop enhanced integrators that mitigate generalization risk, ensuring that the neural network's evaluation in previously unseen regions of the state space does not destabilize the integrator. It is guaranteed that the enhanced integrators perform at least as well as the desired classical Runge-Kutta schemes. The effectiveness of the proposed approaches is demonstrated through extensive numerical studies using a realistic model of a wind turbine, with parameters derived from the established simulation framework OpenFast.
