Integrating Scientific Knowledge with Machine Learning for Engineering and Environmental Systems

Jared Willard, Xiaowei Jia, Shaoming Xu, Michael Steinbach, Vipin KumararXiv 2020

TL;DR

This survey provides a comprehensive taxonomy for Physics-Guided Machine Learning (PGML), a paradigm that integrates scientific principles directly into machine learning frameworks. By bridging the gap between "black-box" data-driven models and traditional first-principles mechanistic models, PGML enables more accurate, data-efficient, and physically consistent solutions for complex engineering and environmental challenges.

What Problem Does This Paper Address?

For decades, scientific discovery has relied on two distinct pillars: mechanistic models (based on first principles like conservation of mass and energy) and machine learning (ML).

Mechanistic models are highly interpretable and generalize well, but they are often computationally expensive and can be biased due to incomplete knowledge of complex systems. Conversely, state-of-the-art ML models (like deep neural networks) excel at capturing complex patterns from data but suffer from three major flaws in scientific domains:

  1. High Data Requirements: They need massive labeled datasets, which are rarely available in fields like hydrology or climate science.
  2. Physical Inconsistency: They often produce results that violate fundamental laws of physics (e.g., water flowing uphill).
  3. Poor Generalizability: They struggle to predict "out-of-sample" scenarios that weren't represented in the training data.

The authors address the need for a structured methodology to combine these two approaches, creating a "continuum" that leverages the strengths of both.

Methods

The paper categorizes the integration of scientific knowledge into ML into four primary classes:

  1. Physics-Guided Loss Functions: Incorporating physical constraints (like PDEs or conservation laws) as penalty terms in the neural network's loss function. This steers the model toward physically consistent solutions without requiring extra labeled data.
  2. Physics-Guided Initialization: Using synthetic data generated by mechanistic models to "pre-train" an ML model. This gives the model a physically sound starting state before it is fine-tuned on limited real-world observations.
  3. Physics-Guided Architecture Design: Modifying the internal structure of neural networks to encode symmetries, invariances (like rotational or translational invariance), or intermediate physical variables. For example, a neuron might be explicitly assigned to represent "thermal energy."
  4. Hybrid Modeling: Creating frameworks where mechanistic and ML models work in tandem. This includes residual modeling (where ML learns to correct the errors of a physics model) and parameterization (where ML replaces a specific, poorly understood sub-component of a larger physical simulation).

The authors provide a generic representation of these scientific problems in Figure 1:

Fig. 1. A generic scientific problem in engineering, where ®𝑥𝑡are the dynamic inputs in time, ®𝑠is the set of static characteristics or parameters of the system, and 𝐹() is the model producing target variable ®𝑦𝑡. ®𝑥𝑡and ®𝑦𝑡can also have spatial dimensions.

Datasets

As a survey paper, this work does not introduce a single new benchmark. Instead, it reviews hundreds of studies across diverse disciplines, including:

  • Hydrology: Lake temperature dynamics and river flow networks.
  • Climate Science: Cloud-resolving models and ozone parameterization.
  • Fluid Dynamics: Turbulence modeling and vortex-induced vibrations.
  • Materials Science: Crystal structure prediction and molecular dynamics.
  • Biomedical Science: Medical imaging and protein interface prediction.

Key Insights and Ideas

  • Search Space Reduction: By enforcing physical laws, PGML effectively shrinks the space of possible solutions, making the optimization process faster and more robust.
  • Learning with Less: Physics-guided models can achieve high accuracy with significantly fewer training samples because the "physics" acts as a powerful regularizer.
  • The "Weak Constraint" Reality: The authors note that physics-guided loss functions are "weak constraints"—they encourage consistency but don't strictly guarantee it. Hard constraints usually require specialized architecture designs.
  • Cross-Fertilization: Techniques developed for one field (e.g., super-resolution in computer vision) are increasingly being adapted for others (e.g., downscaling in climate models), revealing a massive opportunity for interdisciplinary research.

Key Results

The paper summarizes the application-centric objectives of PGML, which are detailed in the following table:

Application-centric objectives and their needs

Key quantitative highlights from the surveyed literature include:

  • Speedups: ML-based parameterizations in chemistry can reduce computation time from days to seconds.
  • Accuracy: In lake temperature modeling, PGML models demonstrated superior accuracy and better generalizability to extreme weather events compared to both pure ML and pure mechanistic models.
  • Data Efficiency: In robotics, simulation-based pre-training (initialization) reduced the real-world data requirements for object grasping by a factor of 50.

Limitations and Future Work

  • Domain Expertise Gap: Designing physics-guided architectures remains a manual, time-intensive process requiring deep expertise in both ML and the specific scientific domain. The authors suggest Automated Neural Architecture Search (NAS) as a promising future direction.
  • Interpretability: While PGML improves interpretability, many hybrid models still contain "black-box" components. Further research is needed to ensure hidden representations in these models have clear physical meanings.
  • Uncertainty Quantification (UQ): Integrating physics into UQ is still in its infancy. Current Bayesian neural networks are computationally expensive, and PGML could help alleviate this by reducing the data needed to characterize uncertainty.

Summary updated

BibTeX
@misc{willard2020integrating,
  author = {Jared Willard and Xiaowei Jia and Shaoming Xu and Michael Steinbach and Vipin Kumar},
  title = {{Integrating Scientific Knowledge with Machine Learning for Engineering and Environmental Systems}},
  year = {2020},
  eprint = {2003.04919},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.04919},
}
Figure