Bridging the Gap: Machine Learning to Resolve Improperly Modeled Dynamics

Maan Qraitem, Dhanushka Kularatne, Eric Forgoston, M. Ani HsieharXiv 2020 · DOI

Abstract

We present a data-driven modeling strategy to overcome improperly modeled dynamics for systems exhibiting complex spatio-temporal behaviors. We propose a Deep Learning framework to resolve the differences between the true dynamics of the system and the dynamics given by a model of the system that is either inaccurately or inadequately described. Our machine learning strategy leverages data generated from the improper system model and observational data from the actual system to create a neural network to model the dynamics of the actual system. We evaluate the proposed framework using numerical solutions obtained from three increasingly complex dynamical systems. Our results show that our system is capable of learning a data-driven model that provides accurate estimates of the system states both in previously unobserved regions as well as for future states. Our results show the power of state-of-the-art machine learning frameworks in estimating an accurate prior of the system's true dynamics that can be used for prediction up to a finite horizon.

Introduction

In the study of dynamical systems, such as fluid flow or heat transfer, researchers typically rely on two distinct approaches. First-principles models use partial differential equations (PDEs) to describe physical phenomena. While elegant, these models are often "improper" because they may contain incorrect parameters or omit complex external forces that are difficult to encode. Conversely, purely data-driven models utilize Machine Learning to learn dynamics from scratch. However, these "black boxes" often require massive datasets and ignore established physical laws.

This paper addresses the "Model-Reality Gap" by introducing a hybrid framework. The goal is to fix a physical model that is known to be slightly inaccurate without discarding the underlying physics entirely. This approach creates a data-efficient framework that leverages flawed existing knowledge to improve predictive accuracy.

Methodology

The proposed framework is a three-stage Deep Learning architecture designed to resolve the differences between a "current" (improper) model ($M_{curr}$) and the "actual" system ($M_{act}$).

The proposed framework: (a) Spatio-temporal hypercube input and (b) Three-stage architecture.

Input Representation

Rather than feeding raw coordinates, the network utilizes a "spatio-temporal hypercube." For any point of interest, the network observes a neighborhood of data points across space and time. Crucially, the input includes the predictions from the improper physical model, allowing the physics to act as a structural prior.

Architecture Stages

  1. Stage 1 (Time Distributed Dense Layers): Parallel layers pre-process inputs at each time slice independently to learn an optimal representation.
  2. Stage 2 (LSTM Stage): Long Short-Term Memory (LSTM) layers capture the long-term temporal dependencies inherent in dynamical systems.
  3. Stage 3 (Dense Output Stage): A final set of fully connected layers produces the predicted system state ($u_{nn}$).

The network is trained using Mean Squared Error (MSE) between the prediction and the actual observed data, essentially learning the residual—the part the physics model missed.

Experimental Evaluation

The framework was evaluated on three synthetic datasets of increasing complexity:

  • 1D Heat Equation: A system where the improper model uses a significantly different diffusion coefficient than the actual system.
  • Lid Cavity Problem: A 2D fluid dynamics simulation where the improper model misses a complex, time-varying external body force.
  • Flow Around a Cylinder: A complex 2D Navier-Stokes simulation where the actual system involves a moving cylinder, while the improper model assumes it is stationary.

Results and Discussion

Across all test cases, the neural network ($M_{nn}$) outperformed the improper model ($M_{curr}$) by orders of magnitude. In the Lid Cavity problem, the MSE for the neural network was approximately $10^{-5}$, compared to $10^{-2}$ for the improper model.

Visual comparison showing how the neural network ($M_{nn}$) resolves the gap between the improper model ($M_{curr}$) and the actual system ($M_{act}$).

Key findings include:

  • Generalization: The model accurately estimated states in spatial regions where no observations were provided and successfully predicted future states.
  • Periodicity: In the cylinder flow case, the LSTM successfully learned the "vortex shedding" frequency, even when the improper model was stationary and out of phase.
  • Modal Fidelity: Proper Orthogonal Decomposition (POD) showed that the dynamics learned by the network matched the ground truth with a Cosine Similarity of approximately 0.99.

Conclusion

This research demonstrates that state-of-the-art machine learning can effectively bridge the gap between simplified physical models and complex reality. While the system currently assumes clean observational data and requires a sufficient training set, it provides a powerful method for estimating accurate priors of true dynamics. Future work will focus on investigating the impact of measurement noise and scaling the framework to high-fidelity 3D systems.

Summary updated

BibTeX
@misc{qraitem2020bridging,
  author = {Maan Qraitem and Dhanushka Kularatne and Eric Forgoston and M. Ani Hsieh},
  title = {{Bridging the Gap: Machine Learning to Resolve Improperly Modeled Dynamics}},
  year = {2020},
  eprint = {2008.12642},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.12642},
}
Figure