Filtered partial differential equations: a robust surrogate constraint in physics-informed deep learning framework

D.y. Zhang, Yuntian Chen, Shiyi ChenJournal of Fluid Mechanics 2023

Abstract

Embedding physical knowledge into neural network (NN) training has been a hot topic. However, when facing the complex real-world, most of the existing methods still strongly rely on the quantity and quality of observation data. Furthermore, the neural networks often struggle to converge when the solution to the real equation is very complex. Inspired by large eddy simulation in computational fluid dynamics, we propose an improved method based on filtering. We analyzed the causes of the difficulties in physics informed machine learning, and proposed a surrogate constraint (filtered PDE, FPDE in short) of the original physical equations to reduce the influence of noisy and sparse observation data. In the noise and sparsity experiment, the proposed FPDE models (which are optimized by FPDE constraints) have better robustness than the conventional PDE models. Experiments demonstrate that the FPDE model can obtain the same quality solution with 100% higher noise and 12% quantity of observation data of the baseline. Besides, two groups of real measurement data are used to show the FPDE improvements in real cases. The final results show that FPDE still gives more physically reasonable solutions when facing the incomplete equation problem and the extremely sparse and high-noise conditions. For combining real-world experiment data into physics-informed training, the proposed FPDE constraint is useful and performs well in two real-world experiments: modeling the blood velocity in vessels and cell migration in scratches.

Introduction

Physics-Informed Neural Networks (PINNs) have promised a revolution in scientific computing by embedding physical laws directly into the learning process. However, training PINNs on messy, real-world data often reveals a fundamental "conflict": the network gets stuck between trying to fit noisy data points and satisfying complex, high-frequency differential equations.

This research introduces Filtered Partial Differential Equations (FPDEs), a surrogate constraint framework inspired by Large Eddy Simulation (LES) in fluid dynamics. By applying a mathematical filter to the physics constraints, the authors have created a method that is significantly more robust to the sparse and noisy data that defines real-world experiments.

The Challenge: Sparse and Noisy Data

Standard PINNs work by minimizing a loss function that combines data error (fitting observations) and the PDE residual (obeying physics). The authors identify a fundamental conflict in this optimization: when data is sparse or noisy, the gradients from these two loss terms often point in opposite directions. The physics becomes too "stiff" for the messy data, leading to poor convergence or trivial, flat solutions.

This diagram illustrates the common challenges in data-driven modeling: extrapolation, restoration (dealing with sparse or noisy sampling), and interpolation.

As shown in the figure above, the "restoration" task—recovering a solution from sparse or noisy samples—is where standard PINNs typically struggle. The FPDE approach addresses this by smoothing the physics landscape.

Methodology: The FPDE Surrogate Constraint

The core innovation is the FPDE surrogate constraint. In LES, researchers solve for large-scale flow structures while "filtering out" tiny, computationally expensive turbulent eddies. FPDE applies this logic to PINNs:

  1. Neural Network Inference: The NN predicts the variables (e.g., velocity, pressure).
  2. Filtering Layer: Before calculating the physics loss, the model passes these predictions through a spatial filter (like a Gaussian kernel).
  3. Filtered PDE Calculation: The physics loss is calculated using these filtered variables.
  4. Decoupling: This process effectively smooths the physics landscape, ensuring the network isn't forced to resolve high-frequency oscillations that the noisy data cannot support.

Experimental Validation and Results

The researchers validated FPDE across synthetic scenarios like cylinder flow and real-world cases like arterial blood flow and cell migration.

Comparison of numerical solutions and neural network (NN) solutions across various benchmarks, showing the model's ability to capture complex physics like low-viscosity Burgers equations and 3D cylinder flow.

The performance gains are striking:

  • Noise Robustness: FPDE models handled 100% higher noise levels than standard models while maintaining solution quality.
  • Data Efficiency: In sparsity tests, FPDE required only 12% of the observation data used by the baseline to reach the same accuracy.
  • Error Reduction: On average, the Mean Squared Error (MSE) for FPDE was 82.1% lower than standard PINNs when dealing with sparse data.

Conclusion

By bringing a "large-scale" perspective to neural network training, FPDE offers a promising bridge between idealized physical theory and the messy reality of experimental data. While the filter width remains a critical hyperparameter to tune, the method demonstrates superior performance in modeling complex biological and fluid systems where data is inherently imperfect.

Summary updated

BibTeX
@article{zhang2023filtered,
  author = {D.Y. Zhang and Yuntian Chen and Shiyi Chen},
  title = {{Filtered partial differential equations: a robust surrogate constraint in physics-informed deep learning framework}},
  journal = {Journal of Fluid Mechanics},
  year = {2023},
}
Figure