Deep learning of dynamics and signal-noise decomposition with time-stepping constraints

Samuel Rudy, J. Nathan Kutz, Steven L. Brunton · DOI

Abstract: This paper introduces a framework that simultaneously learns the underlying physics of a dynamical system and filters out measurement noise by treating noise as a latent variable. By embedding a deep neural network within a classical Runge-Kutta integration scheme, the authors create a "physics-constrained" learner that is remarkably robust to corrupted data and non-uniform sampling.

Introduction: The Challenge of Noisy Dynamics

In data-driven modeling, learning the governing equations of a dynamical system—such as weather patterns or mechanical oscillations—requires high-quality data. However, real-world measurements are inevitably corrupted by noise. Traditionally, researchers handle this by first denoising the data and then fitting a model. This sequential approach risks losing physical information or introducing artifacts.

Decomposing noisy measurements into underlying state dynamics and measurement error.

This paper proposes a framework for simultaneous system identification and denoising. By treating noise as a latent variable and embedding physical constraints directly into the learning process, the authors create a robust "physics-constrained" learner.

Methodology: Runge-Kutta Neural Networks (RKNN)

The core innovation is the Runge-Kutta Neural Network (RKNN). Instead of a standard black-box mapping, the model is structured to respect the logic of continuous-time dynamical systems.

Core Components

  • Noise as a Latent Variable: The model treats measurement noise at each timestep as an unknown variable to be optimized. The "true" state is recovered by subtracting this learned noise from the raw observations.
  • Neural Network Vector Field: A deep feed-forward neural network represents the function $f(\mathbf{x})$, which defines the system's vector field (how it changes over time).
  • Time-Stepping Constraints: The neural network is embedded within a classical Runge-Kutta (RK4) integration scheme. This forces the network to learn the derivative of the state, ensuring the model's predictions are physically consistent over time.
The RKNN architecture embeds a neural network within a Runge-Kutta integration scheme to enforce physical constraints.
  • Bi-directional Loss: To better distinguish noise from deterministic dynamics, the loss function evaluates the model's ability to predict multiple steps into both the future and the past.

Experimental Evaluation

The framework was tested on several benchmark dynamical systems:

  1. Damped Cubic Oscillator: Testing basic robustness in 2D.
  2. Lorenz System: Evaluating performance on complex, chaotic 3D attractors.
  3. Fluid Flow Past a Cylinder: Applying the method to high-dimensional engineering data reduced via Proper Orthogonal Decomposition (POD).
  4. Double Pendulum: A highly nonlinear system that challenges traditional sparse regression methods.

Key Results and Insights

  • Robustness to Corruption: The RKNN maintained high accuracy even with measurements corrupted by up to 25% noise. For the Lorenz system, the relative error in the learned vector field remained below 1% under 10% Gaussian noise.
  • Data Efficiency: The method is remarkably efficient, producing accurate models from as few as 2,500 snapshots, far fewer than typical deep learning requirements.
  • Handling Non-uniform Sampling: Because the model is constrained by the Runge-Kutta scheme, it naturally handles data collected at irregular intervals—a significant advantage over standard Recurrent Neural Networks (RNNs).
  • Noise Recovery: Beyond denoising, the model can reconstruct the underlying noise distribution, identifying properties like mean, variance, and kurtosis.

Discussion and Limitations

While powerful, the authors note that neural networks are primarily interpolators. While the model excels at mimicking dynamics on a known attractor, it may struggle to extrapolate to unseen regions of the state space. Training on diverse "transient" trajectories is recommended to improve generalization.

Future work aims to extend this framework to Partial Differential Equations (PDEs) for spatio-temporal modeling and to address process noise—randomness inherent in the physics itself rather than just the sensors.

Summary updated

BibTeX
@article{rudy2019deep,
  author = {Samuel Rudy and J. Nathan Kutz and Steven L. Brunton},
  title = {{Deep learning of dynamics and signal-noise decomposition with time-stepping constraints}},
  journal = {Journal of Computational Physics},
  year = {2019},
  doi = {10.1016/j.jcp.2019.06.056},
}
Figure