Data-driven identification of 2D Partial Differential Equations using extracted physical features

Kazem Meidani, Amir Barati Farimani

TL;DR

Researchers have developed a machine learning method that identifies the governing Partial Differential Equations (PDEs) of 2D systems by extracting "physical features" like symmetry and frequency rather than relying on noisy numerical derivatives. Unlike standard deep learning models, this approach can accurately identify entirely new physics it hasn't seen during training, outperforming 3D CNNs by a staggering margin (98.7% vs. 5.8% accuracy on unseen equations).

What Problem Does This Paper Address?

Partial Differential Equations (PDEs) are the mathematical backbone of physics, describing everything from how heat spreads to how fluids flow. Traditionally, discovering these equations from experimental data required "sparse regression" techniques that calculate numerical derivatives. However, numerical differentiation is notoriously brittle; if your data is even slightly noisy or low-resolution, the errors compound, making the resulting "discovered" equation useless.

On the other hand, modern Deep Learning (like CNNs) can "learn" physics, but they often act as black boxes. They are great at interpolating within a dataset but usually fail when asked to identify a type of physics (a new PDE) they weren't explicitly trained on. This paper seeks a middle ground: a robust, interpretable way to identify 2D spatiotemporal equations that works with low-resolution data and generalizes to "unseen" physical phenomena.

Methods

The authors move away from raw data pixels and instead focus on Feature Engineering rooted in physical intuition. They categorize features into two buckets:

  1. Time Derivatives: To capture how a system evolves, they look at the statistics (mean, variance, skewness) of the change between consecutive time steps. They also use Fast Fourier Transforms (FFT) to identify oscillations and Motion Magnitude (tracking the "movement" of values across the grid) to distinguish between static systems (like Laplace equations) and dynamic ones (like Wave equations).
  2. Space Derivatives: To identify diffusion vs. convection, the model looks for symmetry. Diffusion spreads out evenly (symmetrically), while convection (flow) pushes data in a specific direction. By projecting the data onto specific axes and measuring asymmetry, the model can "feel" the presence of a convection term without ever calculating a spatial gradient.

These features are fed into an XGBoost classifier—a powerful ensemble learning algorithm—to identify which terms (mass, damping, diffusion, or convection) are present in the underlying equation.

Datasets

The study used a synthetic dataset generated via the COMSOL Multiphysics suite using the Finite Element Method (FEM).

  • Scope: 384 samples across 8 distinct classes of PDEs (including Laplace, Heat/Diffusion, Wave, and Damped Wave equations, both with and without convection).
  • Resolution: Spatially computed on 21x21 grids over 500 time steps.
  • Normalization: All data was scaled to a [0, 1] range to ensure the model focused on the behavior of the signal rather than absolute magnitudes.

Key Insights and Ideas

  • Physics as a Signature: The core "aha moment" is that different mathematical terms leave unique "fingerprints" in the data. A second-order time derivative ($u_{tt}$) creates oscillations that show up in an FFT; a convection term ($\nabla u$) creates a specific directional asymmetry.
  • The Failure of "Automatic" Features: The authors compared their manual physical features against a 3D CNN, which extracts features automatically. While the CNN was great at identifying equations it had seen before, it was completely lost when faced with a new type of physics.
  • Generalization is Key: By training the model on the building blocks of equations (the individual terms) rather than the equations as a whole, the model learns to recognize "diffusion-ness" or "convection-ness" anywhere it sees it.

Key Results

  • Standard Classification: When trained and tested on the same types of equations (80/20 split), the XGBoost model achieved ~99% accuracy.
  • The "Unseen Physics" Test: This was the most impressive result. The researchers trained the model on 7 types of PDEs and tested it on the 8th (completely unseen) type.
  • Physical Features (XGBoost): Maintained a high 98.7% average accuracy.
  • 3D CNN: Dropped to a dismal 5.86% accuracy.
  • Coefficient Mapping: Beyond just identifying the equation, the team showed that their extracted features (like the slope of a wave front's envelope) correlate directly with physical coefficients like propagation speed ($c$) and damping ($d$).

Limitations and Future Work

While highly effective, the model is currently limited to the general form of the equations the authors defined ($e u_{tt} + d u_t - c \nabla^2 u + B \nabla u = 0$). It is essentially a "building block" identifier for linear or near-linear terms.

Future work would need to expand this library of features to identify nonlinear PDEs (like the Navier-Stokes equations) and test the model's performance on real-world experimental data, which is often much messier than FEM simulations. Additionally, the authors suggest that this approach could be integrated into a pipeline that not only identifies the equation type but also precisely regresses the physical constants in one go.

Summary updated

BibTeX
@inproceedings{meidani2021data,
  author = {Kazem Meidani and Amir Barati Farimani},
  title = {{Data-driven identification of 2D Partial Differential Equations using extracted physical features}},
  booktitle = {Computer},
  year = {2021},
  doi = {10.1016/j.cma.2021.113831},
}

Loading related content...

Figure