Training Stiff Neural Ordinary Differential Equations with Explicit Exponential Integration Methods
Colby Fronk, Linda Petzold
TL;DR
The paper addresses the difficulty of training stiff neural ODEs by introducing explicit exponential integration, specifically the integrating factor Euler (IF Euler) method, as a computationally efficient alternative to implicit solvers. It analyzes discretize-then-optimize training, leverages the matrix exponential to stabilize linear stiff dynamics, and demonstrates that IF Euler provides strong stability and efficiency, especially for linear stiff systems and extremely stiff Van der Pol dynamics, albeit at the cost of first-order accuracy. Across four examples, IF Euler outperforms many implicit methods in stability and data-efficiency for linear stiff problems, while showing mixed results for nonlinear cases where higher-order improvements are needed. The findings suggest a promising direction for scalable, differentiable solvers in neural ODEs and potential extensions to stiff PDEs and physics-informed frameworks, with future work focusing on higher-order explicit exponential schemes.
Abstract
Stiff ordinary differential equations (ODEs) are common in many science and engineering fields, but standard neural ODE approaches struggle to accurately learn these stiff systems, posing a significant barrier to widespread adoption of neural ODEs. In our earlier work, we addressed this challenge by utilizing single-step implicit methods for solving stiff neural ODEs. While effective, these implicit methods are computationally costly and can be complex to implement. This paper expands on our earlier work by exploring explicit exponential integration methods as a more efficient alternative. We evaluate the potential of these explicit methods to handle stiff dynamics in neural ODEs, aiming to enhance their applicability to a broader range of scientific and engineering problems. We found the integrating factor Euler (IF Euler) method to excel in stability and efficiency. While implicit schemes failed to train the stiff Van der Pol oscillator, the IF Euler method succeeded, even with large step sizes. However, IF Euler's first-order accuracy limits its use, leaving the development of higher-order methods for stiff neural ODEs an open research problem.
