[Paper Review] Inverse modified differential equations for discovery of dynamics
This paper introduces inverse modified differential equations (IMDE) to rigorously analyze the behavior and error of data-driven dynamical system discovery using ODE-nets. By treating the learned neural network vector field as an approximation of a perturbed system, the authors prove that the difference between the learned dynamics and the true dynamics is bounded by the sum of discrete integration error and learning loss, with the discrepancy made sub-exponentially small via truncation of the formal IMDE series.
The combination of numerical integration and deep learning, i.e., ODE-net, has been successfully employed in a variety of applications. In this work, we introduce inverse modified differential equations (IMDE) to contribute to the behaviour and error analysis of discovery of dynamics using ODE-net. It is shown that the difference between the learned ODE and the truncated IMDE is bounded by the sum of learning loss and a discrepancy which can be made sub exponentially small. In addition, we deduce that the total error of ODE-net is bounded by the sum of discrete error and learning loss. Furthermore, with the help of IMDE, theoretical results on learning Hamiltonian system are derived. Several experiments are performed to numerically verify our theoretical results.
Motivation & Objective
- To provide a rigorous theoretical framework for analyzing the behavior and error in data-driven discovery of dynamical systems using ODE-nets.
- To address the lack of formal convergence and stability analysis in existing ODE-net and related architectures like LMNet and HNN.
- To establish that the learned vector field in ODE-net approximates a perturbed system (the IMDE), enabling precise error estimation.
- To demonstrate that symplectic integrators in Hamiltonian systems preserve the structure in the IMDE, while non-symplectic ones do not.
- To derive quantitative bounds on the error between the learned dynamics and the true dynamics, separating discrete and learning components.
Proposed method
- Introduce inverse modified differential equations (IMDE) by reversing the standard modified equation approach: instead of perturbing the ODE to match numerical solutions, the method identifies the perturbed system that the trained ODE-net approximates.
- Use formal series expansions to derive the IMDE for general one-step and linear multistep integrators, showing that compositions of Runge-Kutta methods yield the same IMDE as the base method.
- Apply truncation theory to the formal IMDE series under analyticity assumptions, proving the remainder can be made sub-exponentially small in the step size $ h $.
- Leverage the IMDE framework to decompose the total error in ODE-net into discrete error ($ Ch^p $) and learning loss, with explicit bounds on both.
- Use the IMDE to analyze Hamiltonian systems, showing that symplectic integrators preserve the Hamiltonian structure in the IMDE, while non-symplectic ones do not.
- Establish recursive formulas for IMDE in linear multistep methods (LMNet), enabling theoretical analysis of their approximation properties.
Experimental results
Research questions
- RQ1What is the true target of the ODE-net during training, and how does it relate to the underlying true dynamics?
- RQ2How can the error in ODE-net-based dynamics discovery be rigorously decomposed and bounded?
- RQ3Can the IMDE framework explain why certain integrators fail to preserve conservation laws in Hamiltonian systems?
- RQ4To what extent can the discrepancy between the learned vector field and the true vector field be controlled via truncation of the formal IMDE series?
- RQ5Does the use of symplectic integrators in Hamiltonian systems lead to a more structurally consistent approximation in the IMDE framework?
Key findings
- The difference between the learned ODE-net vector field $ f_{\text{net}} $ and the truncated IMDE $ f_h^N $ is bounded by the sum of learning loss and a discrepancy that can be made sub-exponentially small in the step size $ h $.
- The total error between $ f_{\text{net}} $ and the true vector field $ f $ is bounded by $ c_2 h^p + C \mathcal{L} $, where $ h^p $ is the discrete error of the numerical integrator and $ \mathcal{L} $ is the learning loss.
- For non-symplectic integrators, ODE-net and LMNet fail to learn conservation laws, as the IMDE does not preserve the underlying structure.
- When using symplectic integrators in Hamiltonian systems, the IMDE remains Hamiltonian, and HNN with such integrators has an almost certain approximation target.
- The truncation of the formal IMDE series yields an error bound of the form $ c_1 e^{-\gamma / h^{1/q}} $, which decays faster than any polynomial in $ h $.
- The error analysis framework via IMDE provides a unified approach to quantify the interplay between numerical integration and deep learning in ODE-based models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.