Learning dynamical systems from noisy data with inverse-explicit integrators

Elena Celledoni, Sølve Eidnes, Håkon Noren

TL;DR

This paper introduces the Mean Inverse Integrator (MII), a novel training framework that significantly improves how neural networks learn the underlying physics of dynamical systems from noisy data. By leveraging a specific class of numerical solvers called Mono-Implicit Runge–Kutta (MIRK) methods, the authors transform typically "implicit" (hard-to-solve) equations into "explicit" (easy-to-calculate) loss functions that act as a natural noise filter.

What Problem Does This Paper Address?

In physics-informed machine learning, we often try to train a neural network to learn a vector field—the "rules of motion"—from observed data. If we know the system is Hamiltonian (like a pendulum or a planetary orbit), we can bake those physical laws into the network architecture (Hamiltonian Neural Networks, or HNNs).

However, real-world data is usually noisy and sparse. Standard training methods use "one-step" explicit integrators (like the classic RK4) to compare the network's prediction to the next data point. These methods are highly sensitive to noise: a single "jittery" data point can lead the network to learn a completely incorrect physical law. While some researchers use "symplectic" integrators to preserve energy, these are often implicit, requiring expensive iterative solvers during training.

Methods

The authors propose a two-part solution:

  1. Inverse-Explicit Integrators (MIRK): They identify that Mono-Implicit Runge–Kutta (MIRK) methods have a unique "inverse-explicit" property. While these methods are implicit when you are trying to predict the future (an Initial Value Problem), they become mathematically explicit when you already have the training data points to plug into the formula. This allows the use of high-order, symmetric integrators in the loss function without the computational headache of solving implicit equations.
  2. Mean Inverse Integrator (MII): Instead of just looking at one step ($y_n$ to $y_{n+1}$), the MII uses the "group property" of dynamical flows. It calculates multiple possible trajectories starting from different nearby points in the dataset and averages them to estimate the state at a specific time.

Mathematically, this averaging acts like a statistical filter. If the noise is normally distributed, averaging these trajectories reduces the variance of the error, allowing the network to "see through" the noise to the true underlying physics.

Datasets

The researchers evaluated their approach on three classic, challenging physical systems:

  • Fermi–Pasta–Ulam–Tsingou (FPUT): A model of a chain of springs, known for its complex oscillatory behavior.
  • Hénon–Heiles System: A canonical chaotic system used in stellar dynamics.
  • Double Pendulum: A famous non-separable Hamiltonian system that is highly sensitive to initial conditions.

The data for these systems was intentionally corrupted with Gaussian noise ($\sigma = 0.05$) to simulate real-world measurement errors.

Key Insights and Ideas

  • The "Inverse-Explicit" Hack: The realization that MIRK methods are "implicit for prediction but explicit for training" is a major efficiency win. It "unlocks" high-order symmetric integrators that were previously avoided due to complexity.
  • Trajectory Averaging as Denoising: The MII isn't just a fancy integrator; it's a noise-reduction strategy. By treating the entire data trajectory as a source of information for every single point, the method achieves a much lower error than "one-step" methods.
  • Order vs. Symplecticity: One surprising finding (Theorem 4.4) is that symplectic MIRK methods are limited to a maximum accuracy of order $p=2$. This suggests that for learning from noisy data, high-order accuracy might actually be more important than strictly preserving the "symplectic" (energy-conserving) structure during the training phase.

Key Results

  • Superior Accuracy: In experiments with noisy data, the MII MIRK4 (a 4th-order version of their method) consistently achieved significantly lower "flow error" compared to standard one-step RK4 or the state-of-the-art Symplectic Recurrent Neural Networks (SRNN).
  • Sensitivity Analysis: The authors provided a theoretical sensitivity analysis (Theorem 5.2) proving that MII reduces the spectral radius of the noise covariance. In plain English: the math confirms that MII is fundamentally more stable when the data is messy.
  • Non-Separable Systems: The method proved particularly robust for non-separable systems like the double pendulum, where traditional "Störmer–Verlet" integrators often struggle.

Limitations and Future Work

  • Full State Observation: The current experiments assume we can observe both the positions ($q$) and the momenta ($p$) of the system. In many real-world scenarios (like video data), we only see positions and have to infer the momenta.
  • Coordinate Systems: The paper assumes data is in standard generalized coordinates. Adapting this to raw Cartesian coordinates or systems with complex constraints is a noted area for future research.
  • Computational Cost: While more accurate, MIRK4 is roughly 2-3 times more computationally expensive than the simpler implicit midpoint method per training epoch. However, the authors argue this is a fair trade-off for the massive gain in accuracy on noisy datasets.

Summary updated

BibTeX
@inproceedings{celledoni2024learning,
  author = {Elena Celledoni and Sølve Eidnes and Håkon Noren},
  title = {{Learning dynamical systems from noisy data with inverse-explicit integrators}},
  booktitle = {Physica},
  year = {2024},
  doi = {10.1016/j.physd.2024.134471},
}
Figure