Physics-constrained polynomial chaos expansion for scientific machine learning and uncertainty quantification

2402.15115

YC

0

Reddit

0

Published 5/14/2024 by Himanshu Sharma, Luk'av{s} Nov'ak, Michael D. Shields
Physics-constrained polynomial chaos expansion for scientific machine learning and uncertainty quantification

Abstract

We present a novel physics-constrained polynomial chaos expansion as a surrogate modeling method capable of performing both scientific machine learning (SciML) and uncertainty quantification (UQ) tasks. The proposed method possesses a unique capability: it seamlessly integrates SciML into UQ and vice versa, which allows it to quantify the uncertainties in SciML tasks effectively and leverage SciML for improved uncertainty assessment during UQ-related tasks. The proposed surrogate model can effectively incorporate a variety of physical constraints, such as governing partial differential equations (PDEs) with associated initial and boundary conditions constraints, inequality-type constraints (e.g., monotonicity, convexity, non-negativity, among others), and additional a priori information in the training process to supplement limited data. This ensures physically realistic predictions and significantly reduces the need for expensive computational model evaluations to train the surrogate model. Furthermore, the proposed method has a built-in uncertainty quantification (UQ) feature to efficiently estimate output uncertainties. To demonstrate the effectiveness of the proposed method, we apply it to a diverse set of problems, including linear/non-linear PDEs with deterministic and stochastic parameters, data-driven surrogate modeling of a complex physical system, and UQ of a stochastic system with parameters modeled as random fields.

Create account to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper introduces a physics-constrained polynomial chaos expansion (PC-PCE) approach for scientific machine learning and uncertainty quantification.
  • The method integrates physical constraints and domain knowledge into a PCE framework to improve the accuracy and robustness of predictive models.
  • Key applications include leveraging viscous Hamilton-Jacobi PDEs for uncertainty quantification, polynomial chaos expanded Gaussian processes, and physics-constrained robust learning in open-form partial differential equations.

Plain English Explanation

The paper presents a new way to build machine learning models that can better capture the underlying physics and uncertainty in scientific problems. Traditional machine learning models often struggle to incorporate domain knowledge and physical constraints, which can limit their accuracy and reliability.

The key idea in this work is to use a technique called "polynomial chaos expansion" (PCE) as the foundation for the machine learning model. PCE is a mathematical framework that can represent complex physical systems by decomposing them into simpler polynomial functions. The authors extend this PCE approach to also explicitly include the relevant physical laws and constraints.

This "physics-constrained PCE" (PC-PCE) method allows the model to learn the patterns in data while also respecting the known physics of the problem. For example, in fluid dynamics simulations, the model would need to obey the Navier-Stokes equations that govern fluid flow. By baking in this domain knowledge, the PC-PCE model can make more accurate and reliable predictions, even when dealing with significant uncertainty in the input parameters or boundary conditions.

The paper demonstrates how this PC-PCE approach can be applied to a variety of scientific machine learning tasks, such as quantifying the uncertainty in solving Hamilton-Jacobi PDEs, building Gaussian process models with PCE, and learning accurate models of complex physical systems described by partial differential equations. These examples show how the method can improve predictive performance and provide meaningful uncertainty estimates - crucial capabilities for many scientific and engineering applications.

Technical Explanation

The core of the proposed approach is the physics-constrained polynomial chaos expansion (PC-PCE) framework. Traditional PCE models the system outputs as a series expansion in terms of independent random variables representing the uncertain inputs. The PC-PCE method extends this by also incorporating the underlying physical laws and constraints directly into the PCE formulation.

Mathematically, this is achieved by including additional "physics-informed" basis functions in the PCE representation. These basis functions encode the relevant physical principles, such as conservation laws or boundary conditions, ensuring the final PC-PCE model satisfies the required physical constraints.

The authors demonstrate the PC-PCE approach on several scientific machine learning tasks. For uncertainty quantification in Hamilton-Jacobi PDEs, they show how PC-PCE can provide tighter uncertainty bounds compared to traditional Monte Carlo sampling. In the polynomial chaos expanded Gaussian process work, they combine the flexibility of Gaussian processes with the physics-aware nature of PCE. And for learning models of complex physical systems, they use PC-PCE to achieve superior predictive performance and robustness.

These examples highlight the key benefits of the PC-PCE framework: it can effectively leverage available domain knowledge, produce reliable uncertainty estimates, and learn accurate predictive models - all while maintaining physical consistency. This is a significant advantage over standard black-box machine learning approaches that treat the underlying physics as a "black box".

Critical Analysis

The authors provide a thorough evaluation of the PC-PCE method, including comparisons to alternative techniques like conformal prediction and joint parameter-parameterization inference. The results demonstrate the clear superiority of PC-PCE in terms of predictive accuracy, uncertainty quantification, and physical consistency.

That said, the proposed method does have some limitations. Constructing the physics-informed basis functions requires significant domain expertise and can be challenging for highly complex physical systems. Additionally, the computational cost of PC-PCE can be higher than simpler machine learning models, especially for high-dimensional problems.

Further research could investigate ways to automate the process of incorporating physical constraints, potentially through techniques like symbolic regression or neural architecture search. Improving the scalability and efficiency of the PC-PCE approach would also broaden its applicability to even larger-scale scientific and engineering challenges.

Conclusion

This paper presents a novel physics-constrained polynomial chaos expansion (PC-PCE) framework that integrates physical domain knowledge into scientific machine learning models. By explicitly incorporating relevant physical laws and constraints, the PC-PCE method can produce more accurate, robust, and reliable predictive models compared to traditional black-box approaches.

The demonstrated applications in uncertainty quantification, Gaussian processes, and partial differential equation learning showcase the versatility and potential impact of this technique. As scientific and engineering problems continue to grow in complexity, methods like PC-PCE that can effectively leverage physical insights will become increasingly valuable for advancing the state of the art in scientific machine learning.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Related Papers

Leveraging viscous Hamilton-Jacobi PDEs for uncertainty quantification in scientific machine learning

Leveraging viscous Hamilton-Jacobi PDEs for uncertainty quantification in scientific machine learning

Zongren Zou, Tingwei Meng, Paula Chen, J'er^ome Darbon, George Em Karniadakis

YC

0

Reddit

0

Uncertainty quantification (UQ) in scientific machine learning (SciML) combines the powerful predictive power of SciML with methods for quantifying the reliability of the learned models. However, two major challenges remain: limited interpretability and expensive training procedures. We provide a new interpretation for UQ problems by establishing a new theoretical connection between some Bayesian inference problems arising in SciML and viscous Hamilton-Jacobi partial differential equations (HJ PDEs). Namely, we show that the posterior mean and covariance can be recovered from the spatial gradient and Hessian of the solution to a viscous HJ PDE. As a first exploration of this connection, we specialize to Bayesian inference problems with linear models, Gaussian likelihoods, and Gaussian priors. In this case, the associated viscous HJ PDEs can be solved using Riccati ODEs, and we develop a new Riccati-based methodology that provides computational advantages when continuously updating the model predictions. Specifically, our Riccati-based approach can efficiently add or remove data points to the training set invariant to the order of the data and continuously tune hyperparameters. Moreover, neither update requires retraining on or access to previously incorporated data. We provide several examples from SciML involving noisy data and textit{epistemic uncertainty} to illustrate the potential advantages of our approach. In particular, this approach's amenability to data streaming applications demonstrates its potential for real-time inferences, which, in turn, allows for applications in which the predicted uncertainty is used to dynamically alter the learning process.

Read more

4/16/2024

Physics-Constrained Learning for PDE Systems with Uncertainty Quantified Port-Hamiltonian Models

Physics-Constrained Learning for PDE Systems with Uncertainty Quantified Port-Hamiltonian Models

Kaiyuan Tan, Peilun Li, Thomas Beckers

YC

0

Reddit

0

Modeling the dynamics of flexible objects has become an emerging topic in the community as these objects become more present in many applications, e.g., soft robotics. Due to the properties of flexible materials, the movements of soft objects are often highly nonlinear and, thus, complex to predict. Data-driven approaches seem promising for modeling those complex dynamics but often neglect basic physical principles, which consequently makes them untrustworthy and limits generalization. To address this problem, we propose a physics-constrained learning method that combines powerful learning tools and reliable physical models. Our method leverages the data collected from observations by sending them into a Gaussian process that is physically constrained by a distributed Port-Hamiltonian model. Based on the Bayesian nature of the Gaussian process, we not only learn the dynamics of the system, but also enable uncertainty quantification. Furthermore, the proposed approach preserves the compositional nature of Port-Hamiltonian systems.

Read more

6/18/2024

Assessment of Uncertainty Quantification in Universal Differential Equations

Assessment of Uncertainty Quantification in Universal Differential Equations

Nina Schmid, David Fernandes del Pozo, Willem Waegeman, Jan Hasenauer

YC

0

Reddit

0

Scientific Machine Learning is a new class of approaches that integrate physical knowledge and mechanistic models with data-driven techniques for uncovering governing equations of complex processes. Among the available approaches, Universal Differential Equations (UDEs) are used to combine prior knowledge in the form of mechanistic formulations with universal function approximators, like neural networks. Integral to the efficacy of UDEs is the joint estimation of parameters within mechanistic formulations and the universal function approximators using empirical data. The robustness and applicability of resultant models, however, hinge upon the rigorous quantification of uncertainties associated with these parameters, as well as the predictive capabilities of the overall model or its constituent components. With this work, we provide a formalisation of uncertainty quantification (UQ) for UDEs and investigate important frequentist and Bayesian methods. By analysing three synthetic examples of varying complexity, we evaluate the validity and efficiency of ensembles, variational inference and Markov chain Monte Carlo sampling as epistemic UQ methods for UDEs.

Read more

6/14/2024

Using Uncertainty Quantification to Characterize and Improve Out-of-Domain Learning for PDEs

Using Uncertainty Quantification to Characterize and Improve Out-of-Domain Learning for PDEs

S. Chandra Mouli, Danielle C. Maddix, Shima Alizadeh, Gaurav Gupta, Andrew Stuart, Michael W. Mahoney, Yuyang Wang

YC

0

Reddit

0

Existing work in scientific machine learning (SciML) has shown that data-driven learning of solution operators can provide a fast approximate alternative to classical numerical partial differential equation (PDE) solvers. Of these, Neural Operators (NOs) have emerged as particularly promising. We observe that several uncertainty quantification (UQ) methods for NOs fail for test inputs that are even moderately out-of-domain (OOD), even when the model approximates the solution well for in-domain tasks. To address this limitation, we show that ensembling several NOs can identify high-error regions and provide good uncertainty estimates that are well-correlated with prediction errors. Based on this, we propose a cost-effective alternative, DiverseNO, that mimics the properties of the ensemble by encouraging diverse predictions from its multiple heads in the last feed-forward layer. We then introduce Operator-ProbConserv, a method that uses these well-calibrated UQ estimates within the ProbConserv framework to update the model. Our empirical results show that Operator-ProbConserv enhances OOD model performance for a variety of challenging PDE problems and satisfies physical constraints such as conservation laws.

Read more

6/13/2024