This repository contains the code for the paper:
In this work, we propose the Least Absolute Deviation based PINN (LAD-PINN) to reconstruct the solution and recover unknown parameters in PDEs – even if spurious data or outliers corrupt a large percentage of the observations. To further improve the accuracy of recovering hidden physics, the two-stage Median Absolute Deviation based PINN (MAD-PINN) is proposed, where LAD-PINN is employed as an outlier detector followed by MAD screening out the highly corrupted data. Then the usual PINN can be applied to the remaining normal data. Through several examples, including Poisson's equation, wave equation, and steady or unsteady Navier-Stokes equations, we illustrate the power, generality, and efficiency of the proposed algorithms for recovering governing equations from noisy and highly corrupted measurement data.
The requirements are the same with PINN and PINN-laminar-flow, including:
- Tensorflow 1.x
- pyDOE
- scipy
- numpy
- pandas
- matplotlib
- silence_tensorflow
The code is in the form of simple scripts for the paper. Each script shall be stand-alone and directly runnable.
poisson/*
is the Poisson's equation discussed in Section 4.1.piv/*
is the unsteady N-S equation discussed in Section 4.2.wave/*
is the wave equation in Section 4.3.ns/*
is the steady N-S equation in Section 4.4.
- Steady N-S datasets
- Unsteady N-S datasets The two datasets are also included in the repository.
@misc{pengRobustRegressionHighly2022,
title = {Robust {Regression} with {Highly} {Corrupted} {Data} via {Physics} {Informed} {Neural} {Networks}},
url = {http://arxiv.org/abs/2210.10646},
doi = {10.48550/arXiv.2210.10646},
urldate = {2022-10-20},
publisher = {arXiv},
author = {Peng, Wei and Yao, Wen and Zhou, Weien and Zhang, Xiaoya and Yao, Weijie},
month = oct,
year = {2022},
note = {arXiv:2210.10646 [cs, math]},
keywords = {Computer Science - Machine Learning, Mathematics - Numerical Analysis},
}