Physics-constrained Bayesian neural network for fluid flow reconstruction with sparse and noisy data

Luning Sun, Jian-Xun WangOpenReview 2023

TL;DR

This paper introduces a novel physics-constrained Bayesian neural network (PC-BNN) for reconstructing high-resolution fluid flow fields from sparse and noisy measurements. By integrating physical laws (Navier-Stokes equations) as probabilistic constraints within a Bayesian framework, the method not only improves reconstruction accuracy but also quantifies the uncertainty in the predictions, a crucial aspect for real-world applications.

What Problem Does This Paper Address?

Many real-world engineering and scientific applications, such as medical imaging (e.g., flow MRI) and environmental monitoring (e.g., wind farms), generate fluid flow data that is inherently sparse (measurements taken at few locations) and noisy. Reconstructing a complete, high-resolution flow field from such limited and imperfect data is a significant challenge. Traditional methods often rely on large offline datasets or computationally expensive physics-based simulations, which are not always feasible. Existing deep learning approaches, while powerful, often struggle with noisy data and cannot inherently provide uncertainty estimates, limiting their reliability in critical applications.

Methods

The core innovation is a Physics-Constrained Bayesian Neural Network (PC-BNN). This approach combines:

  • Bayesian Neural Networks (BNNs): Instead of learning a single set of network weights, BNNs learn a distribution over weights, allowing for uncertainty quantification.
  • Physics Constraints: The governing physical laws (specifically, the incompressible Navier-Stokes equations) are incorporated not as a hard loss function (as in deterministic physics-informed neural networks), but as part of the likelihood function in the Bayesian framework. This means the model's confidence in satisfying these laws is probabilistic.
  • Non-parametric Variational Inference (VI): To handle the high dimensionality of DNNs and approximate the posterior distribution of the network weights, the authors employ Stein Variational Gradient Descent (SVGD). SVGD is a non-parametric VI method that avoids making assumptions about the form of the posterior distribution and can capture multi-modal posteriors, offering more flexibility than traditional parametric VI.

The training process involves constructing a physics-informed likelihood function that accounts for both measurement noise and model inadequacy. This allows the PC-BNN to learn a distribution of possible flow fields that are consistent with both the sparse, noisy data and the underlying physics.

Datasets

The paper uses synthetic data generated from fully-resolved Computational Fluid Dynamics (CFD) simulations of idealized vascular geometries (stenosis and aneurysm bifurcation). These synthetic datasets are then intentionally corrupted with varying levels of Gaussian noise to simulate real-world noisy measurements. The "data locations" are sparse points sampled from these CFD solutions. No new benchmark datasets are introduced; rather, existing CFD solutions are adapted to create controlled experimental conditions.

Key Insights and Ideas

  • Probabilistic Physics Constraints are Key: Treating physical laws as probabilistic constraints within a Bayesian framework is crucial for handling noisy data and model uncertainties, leading to more robust reconstructions.
  • Uncertainty Quantification is Essential: The ability to estimate the uncertainty in the reconstructed flow field is as important as the mean prediction itself, especially in safety-critical applications. The PC-BNN effectively provides this by estimating the standard deviation of the predicted flow.
  • SVGD for Scalable Bayesian Deep Learning: Using SVGD enables efficient Bayesian inference for complex DNN models, making the approach computationally feasible for high-dimensional problems.
  • Data Sparsity and Noise Synergy: The PC-BNN demonstrates that even with sparse and noisy data, incorporating physical knowledge can lead to significantly better reconstructions than relying solely on the limited data.

Key Results

  • Improved Reconstruction Accuracy: In cases with sparse, noise-free data, the PC-BNN achieved significantly lower relative reconstruction errors (e.g., 5.6% for stenosis velocity) compared to purely data-driven methods (e.g., 24.8%).
  • Robustness to Noise: When faced with noisy data (5-15% Gaussian noise), the PC-BNN consistently provided accurate mean flow field reconstructions, outperforming purely data-driven approaches which failed to capture physical patterns. For instance, for 10% noise in stenosis, the PC-BNN reduced the relative error from 83.3% (data only) to 6.9% (PC-BNN mean).
  • Effective Uncertainty Estimation: The PC-BNN successfully estimated the uncertainty in the reconstructed flow fields, with uncertainty levels increasing with higher data noise, demonstrating the method's ability to reflect the reliability of its predictions.
  • Pressure Field Inference: The physics-constrained approach enabled the inference of pressure fields even when no pressure data was provided, leveraging the relationships within the Navier-Stokes equations.

Limitations and Future Work

  • Computational Cost: While SVGD is more efficient than MCMC, Bayesian deep learning can still be computationally intensive compared to deterministic methods.
  • Model Inadequacy: The paper assumes a certain level of confidence in the physical model (Navier-Stokes equations). If the underlying physics model itself is significantly inadequate or incomplete, the reconstruction might still be affected.
  • Future Work: The authors suggest exploring more complex geometries and flow regimes. Further investigation into the impact of different noise distributions and model-form uncertainties would also be valuable. Extending the framework to real-time applications or incorporating adaptive sampling strategies for data acquisition could be promising directions.

Summary updated

BibTeX
@misc{sun2023physics,
  author = {Luning Sun and Jian-Xun Wang},
  title = {{Physics-constrained Bayesian neural network for fluid flow reconstruction with sparse and noisy data}},
  year = {2023},
  url = {https://openreview.net/forum?id=Zn2zlyS-td8},
  howpublished = {OpenReview},
}
Figure