Monte Carlo Methods for Uncertainty Quantification

Similar documents
Numerical Analysis of Elliptic PDEs with Random Coefficients

arxiv: v1 [math.na] 7 Nov 2017

Two new developments in Multilevel Monte Carlo methods

Adaptive timestepping for SDEs with non-globally Lipschitz drift

What Should We Do with Radioactive Waste?

Multilevel Monte Carlo methods for highly heterogeneous media

Multilevel Monte Carlo for two phase flow and transport in random heterogeneous porous media

Application of QMC methods to PDEs with random coefficients

Efficient Solvers for Stochastic Finite Element Saddle Point Problems

Non-nested Adaptive Timesteps in Multilevel Monte Carlo Computations

MULTISCALE FINITE ELEMENT METHODS FOR STOCHASTIC POROUS MEDIA FLOW EQUATIONS AND APPLICATION TO UNCERTAINTY QUANTIFICATION

Hierarchical Parallel Solution of Stochastic Systems

Bath Institute For Complex Systems

Introduction to Computational Stochastic Differential Equations

Implementation of Sparse Wavelet-Galerkin FEM for Stochastic PDEs

Dinesh Kumar, Mehrdad Raisee and Chris Lacor

Lecture 1: Center for Uncertainty Quantification. Alexander Litvinenko. Computation of Karhunen-Loeve Expansion:

Optimisation under Uncertainty with Stochastic PDEs for the History Matching Problem in Reservoir Engineering

Multilevel Monte Carlo for uncertainty quantification in structural engineering

Uncertainty quantification of engineering systems using the multilevel Monte Carlo method

Solving the steady state diffusion equation with uncertainty Final Presentation

EXPLORING THE LOCALLY LOW DIMENSIONAL STRUCTURE IN SOLVING RANDOM ELLIPTIC PDES

Uncertainty Management and Quantification in Industrial Analysis and Design

A Stochastic Collocation based. for Data Assimilation

UNCERTAINTY QUANTIFICATION IN LIQUID COMPOSITE MOULDING PROCESSES

Probabilistic collocation and Lagrangian sampling for tracer transport in randomly heterogeneous porous media

A Non-Intrusive Polynomial Chaos Method For Uncertainty Propagation in CFD Simulations

Adaptive Collocation with Kernel Density Estimation

Characterization of heterogeneous hydraulic conductivity field via Karhunen-Loève expansions and a measure-theoretic computational method

Quasi-optimal and adaptive sparse grids with control variates for PDEs with random diffusion coefficient

Multilevel accelerated quadrature for elliptic PDEs with random diffusion. Helmut Harbrecht Mathematisches Institut Universität Basel Switzerland

At A Glance. UQ16 Mobile App.

Numerical Approximation of Stochastic Elliptic Partial Differential Equations

Stochastic Spectral Approaches to Bayesian Inference

Numerical Solution I

Bayesian Inverse problem, Data assimilation and Localization

Solving the Stochastic Steady-State Diffusion Problem Using Multigrid

What s new in high-dimensional integration? designing for applications

Scalable Algorithms for Optimal Control of Systems Governed by PDEs Under Uncertainty

Sampling and Low-Rank Tensor Approximations

NONLOCALITY AND STOCHASTICITY TWO EMERGENT DIRECTIONS FOR APPLIED MATHEMATICS. Max Gunzburger

Research Collection. Multilevel Monte Carlo methods for stochastic elliptic multiscale PDEs. Report. ETH Library

PRECONDITIONING MARKOV CHAIN MONTE CARLO SIMULATIONS USING COARSE-SCALE MODELS

arxiv: v2 [math.na] 17 Oct 2017

Quantifying Uncertainty: Modern Computational Representation of Probability and Applications

Kernel-based Approximation. Methods using MATLAB. Gregory Fasshauer. Interdisciplinary Mathematical Sciences. Michael McCourt.

PDE Solvers for Fluid Flow

Simultaneous Robust Design and Tolerancing of Compressor Blades

Sparse polynomial chaos expansions in engineering applications

Probabilistic Structural Dynamics: Parametric vs. Nonparametric Approach

Algorithms for Uncertainty Quantification

Nonparametric density estimation for elliptic problems with random perturbations

Schwarz Preconditioner for the Stochastic Finite Element Method

Spatial Statistics with Image Analysis. Outline. A Statistical Approach. Johan Lindström 1. Lund October 6, 2016

An Empirical Chaos Expansion Method for Uncertainty Quantification

Enabling Advanced Automation Tools to manage Trajectory Prediction Uncertainty

Multi-level Monte Carlo finite difference and finite volume methods for stochastic linear hyperbolic systems

M.Sc. in Meteorology. Numerical Weather Prediction

Multigrid and stochastic sparse-grids techniques for PDE control problems with random coefficients

UNCERTAINTY ASSESSMENT USING STOCHASTIC REDUCED BASIS METHOD FOR FLOW IN POROUS MEDIA

Microstructurally-Informed Random Field Description: Case Study on Chaotic Masonry

Multilevel Sequential 2 Monte Carlo for Bayesian Inverse Problems

Sequential Monte Carlo Samplers for Applications in High Dimensions

Practical unbiased Monte Carlo for Uncertainty Quantification

Probabilistic Collocation Method for Uncertainty Analysis of Soil Infiltration in Flood Modelling

Employing Model Reduction for Uncertainty Visualization in the Context of CO 2 Storage Simulation

Fast Numerical Methods for Stochastic Computations

Uncertainty Quantification in Discrete Fracture Network Models

Parametric Problems, Stochastics, and Identification

Masters in Mechanical Engineering Aerodynamics 1 st Semester 2015/16

Solving the stochastic steady-state diffusion problem using multigrid

Bayesian Inverse Problems

SOE3213/4: CFD Lecture 3

Estimating functional uncertainty using polynomial chaos and adjoint equations

Galerkin Methods for Linear and Nonlinear Elliptic Stochastic Partial Differential Equations

Multilevel stochastic collocations with dimensionality reduction

A Brief Overview of Uncertainty Quantification and Error Estimation in Numerical Simulation

A Data-Driven Stochastic Method for Elliptic PDEs with Random Coefficients

Numerical Methods II

Modeling Uncertainty in Flow Simulations via Generalized Polynomial Chaos

An introduction to Bayesian statistics and model calibration and a host of related topics

Collocation based high dimensional model representation for stochastic partial differential equations

Introduction to Aspects of Multiscale Modeling as Applied to Porous Media

Approximation of High-Dimensional Numerical Problems Algorithms, Analysis and Applications

Dynamic System Identification using HDMR-Bayesian Technique

Mathematische Methoden der Unsicherheitsquantifizierung

Estimation of probability density functions by the Maximum Entropy Method

Measure-Theoretic parameter estimation and prediction for contaminant transport and coastal ocean modeling

Uncertainty Quantification and related areas - An overview

c 2004 Society for Industrial and Applied Mathematics

Multi-level Monte Carlo methods in Uncertainty Quantification

Dynamic Data Driven Simulations in Stochastic Environments

Karhunen-Loève Approximation of Random Fields Using Hierarchical Matrix Techniques

Homogenization and numerical Upscaling. Unsaturated flow and two-phase flow

UNCERTAINTY QUANTIFICATION OF THE GEM CHALLENGE MAGNETIC RECONNECTION PROBLEM USING THE MULTILEVEL MONTE CARLO METHOD

Liquid-Rocket Transverse Triggered Combustion Instability: Deterministic and Stochastic Analyses

Sampling and low-rank tensor approximation of the response surface

Stochastic collocation and mixed finite elements for flow in porous media

Risk Assessment for CO 2 Sequestration- Uncertainty Quantification based on Surrogate Models of Detailed Simulations

Tokamak profile database construction incorporating Gaussian process regression

Transcription:

Monte Carlo Methods for Uncertainty Quantification Mike Giles Mathematical Institute, University of Oxford Contemporary Numerical Techniques Mike Giles (Oxford) Monte Carlo methods 1 / 23

Lecture outline Lecture 4: PDE applications PDEs with uncertainty examples multilevel Monte Carlo details of MATLAB code Mike Giles (Oxford) Monte Carlo methods 2 / 23

PDEs with Uncertainty Looking at the history of numerical methods for PDEs, the first steps were about improving the modelling: 1D 2D 3D steady unsteady laminar flow turbulence modelling large eddy simulation direct Navier-Stokes simple geometries (e.g. a wing) complex geometries (e.g. an aircraft in landing configuration) adding new features such as combustion, coupling to structural / thermal analyses, etc.... and then engineering switched from analysis to design. Mike Giles (Oxford) Monte Carlo methods 3 / 23

PDEs with Uncertainty The big move now is towards handling uncertainty: uncertainty in modelling parameters uncertainty in geometry uncertainty in initial conditions uncertainty in spatially-varying material properties inclusion of stochastic source terms Engineering wants to move to robust design taking into account the effects of uncertainty. Other areas want to move into Bayesian inference, starting with an a priori distribution for the uncertainty, and then using data to derive an improved a posteriori distribution. Mike Giles (Oxford) Monte Carlo methods 4 / 23

PDEs with Uncertainty Examples: Long-term climate modelling: Lots of sources of uncertainty including the effects of aerosols, clouds, carbon cycle, ocean circulation (http://climate.nasa.gov/uncertainties) Short-range weather prediction Considerable uncertainty in the initial data due to limited measurements Mike Giles (Oxford) Monte Carlo methods 5 / 23

PDEs with Uncertainty Engineering analysis Perhaps the biggest uncertainty is geometric due to manufacturing tolerances Nuclear waste repository and oil reservoir modelling Considerable uncertainty about porosity of rock Astronomy Random spatial/temporal variations in air density disturb correlation in signals received by different antennas Finance Stochastic forcing due to market behaviour Mike Giles (Oxford) Monte Carlo methods 6 / 23

PDEs with Uncertainty In the past, Monte Carlo simulation has been viewed as impractical due to its expense, and so people have used other methods: stochastic collocation polynomial chaos Because of Multilevel Monte Carlo, this is changing and there are now several research groups using MLMC for PDE applications The approach is very simple, in principle: use a sequence of grids of increasing resolution in space (and time) as with SDEs, determine the optimal allocation of computational effort on the different levels the savings can be much greater because the cost goes up more rapidly with level Mike Giles (Oxford) Monte Carlo methods 7 / 23

MLMC Theorem If there exist independent estimators Ŷl based on N l Monte Carlo samples, each costing C l, and positive constants α,β,γ,c 1,c 2,c 3 such that α 1 2 min(β,γ) and i) E[ P l P] c 1 2 αl E[ P 0 ], l = 0 ii) E[Ŷl] = E[ P l P l 1 ], l > 0 iii) V[Ŷl] c 2 N 1 l 2 βl iv) E[C l ] c 3 2 γ l Mike Giles (Oxford) Monte Carlo methods 8 / 23

MLMC Theorem then there exists a positive constant c 4 such that for any ε<1 there exist L and N l for which the multilevel estimator Ŷ = L Ŷ l, l=0 [ (Ŷ ) ] 2 has a mean-square-error with bound E E[P] < ε 2 with a computational cost C with bound c 4 ε 2, β > γ, C c 4 ε 2 (logε) 2, β = γ, c 4 ε 2 (γ β)/α, 0 < β < γ. Mike Giles (Oxford) Monte Carlo methods 9 / 23

Engineering Uncertainty Quantification consider 3D elliptic PDE, with uncertain boundary data use grid spacing proportional to 2 l on level l cost is O(2 +3l ), if using an efficient multigrid solver 2nd order accuracy means that P l (ω) P(ω) c(ω) 2 2l = P l 1 (ω) P l (ω) 3c(ω) 2 2l hence, α=2, β=4, γ=3 cost is O(ε 2 ) to obtain ε RMS accuracy Mike Giles (Oxford) Monte Carlo methods 10 / 23

SPDEs great MLMC application better cost savings than SDEs due to higher dimensionality range of applications Graubner & Ritter (Darmstadt Kaiserslautern) parabolic G, Reisinger (Oxford) parabolic Cliffe, G, Scheichl, Teckentrup (Bath/Nottingham) elliptic Barth, Jenny, Lang, Meyer, Mishra, Müller, Schwab, Sukys, Zollinger (ETHZ) elliptic, parabolic, hyperbolic Harbrecht, Peters (Basel) elliptic Efendiev (Texas A&M) numerical homogenization Vidal-Codina, G, Peraire (MIT) reduced basis approximation G, Hou, Zhang (Caltech) numerical homogenization Mike Giles (Oxford) Monte Carlo methods 11 / 23

PDEs with Uncertainty I worked with Rob Scheichl (Bath) and Andrew Cliffe (Nottingham) on multilevel Monte Carlo for the modelling of oil reservoirs and groundwater contamination in nuclear waste repositories. Here we have an elliptic SPDE coming from Darcy s law: ( ) κ(x) p = 0 where the permeability κ(x) is uncertain, and log κ(x) is often modelled as being Normally distributed with a spatial covariance such as cov(logκ(x 1 ),logκ(x 2 )) = σ 2 exp( x 1 x 2 /λ) Mike Giles (Oxford) Monte Carlo methods 12 / 23

Elliptic SPDE A typical realisation of κ for λ = 0.01, σ = 1. Mike Giles (Oxford) Monte Carlo methods 13 / 23

Elliptic SPDE Samples of log k are provided by a Karhunen-Loève expansion: logk(x,ω) = θn ξ n (ω) f n (x), n=0 where θ n, f n are eigenvalues / eigenfunctions of the correlation function: R(x,y) f n (y) dy = θ n f n (x) and ξ n (ω) are standard Normal random variables. Numerical experiments truncate the expansion. (Latest 2D/3D work uses an efficient FFT construction based on a circulant embedding.) Mike Giles (Oxford) Monte Carlo methods 14 / 23

Elliptic SPDE Decay of 1D eigenvalues 10 0 10 2 λ=0.01 λ=0.1 λ=1 eigenvalue 10 4 10 6 10 0 10 1 10 2 10 3 n When λ = 1, can use a low-dimensional polynomial chaos approach, but it s impractical for smaller λ. Mike Giles (Oxford) Monte Carlo methods 15 / 23

Elliptic SPDE Discretisation: cell-centred finite volume discretisation on a uniform grid for rough coefficients we need to make grid spacing very small on finest grid each level of refinement has twice as many grid points in each direction current numerical experiments use a direct solver for simplicity, but in 3D will use an efficient AMG multigrid solver with a cost roughly proportional to the total number of grid points Mike Giles (Oxford) Monte Carlo methods 16 / 23

2D Results Boundary conditions for unit square [0,1] 2 : fixed pressure: p(0,x 2 )=1, p(1,x 2 )=0 Neumann b.c.: p/ x 2 (x 1,0)= p/ x 2 (x 1,1)=0 Output quantity mass flux: Correlation length: λ = 0.2 k p x 1 dx 2 Coarsest grid: h = 1/8 (comparable to λ) Finest grid: h = 1/128 Karhunen-Loève truncation: m KL = 4000 Cost taken to be proportional to number of nodes Mike Giles (Oxford) Monte Carlo methods 17 / 23

2D Results 2 2 0 0 2 2 log 2 variance 4 6 log 2 mean 4 6 8 8 10 P l P l P l 1 10 P l P l P l 1 12 0 1 2 3 4 level l 12 0 1 2 3 4 level l V[ P l P l 1 ] h 2 l E[ P l P l 1 ] h 2 l Mike Giles (Oxford) Monte Carlo methods 18 / 23

2D Results 10 8 10 7 10 6 ε=0.0005 ε=0.001 ε=0.002 ε=0.005 ε=0.01 10 2 Std MC MLMC N l 10 5 10 4 ε 2 Cost 10 1 10 3 10 2 0 1 2 3 4 level l 10 0 10 3 10 2 accuracy ε Mike Giles (Oxford) Monte Carlo methods 19 / 23

Complexity analysis Relating things back to the MLMC theorem: E[ P l P] 2 2l = α = 2 V l 2 2l = β = 2 C l 2 dl = γ = d (dimension of PDE) To achieve r.m.s. accuracy ε requires finest level grid spacing h ε 1/2 and hence we get the following complexity: dim MC MLMC 1 ε 2.5 ε 2 2 ε 3 ε 2 (logε) 2 3 ε 3.5 ε 2.5 Mike Giles (Oxford) Monte Carlo methods 20 / 23

Other SPDE applications For more on multilevel for SPDEs, see the work of Christoph Schwab and his group (ETH Zurich): http://www.math.ethz.ch/ schwab/ elliptic, parabolic and hyperbolic PDEs stochastic coefficients, initial data, boundary data Schwab used to work on alternative techniques such as polynomial chaos but has now switched to multilevel because of its superior efficiency for many applications. For other papers on multilevel, see my MLMC community homepage: http://people.maths.ox.ac.uk/gilesm/mlmc community.html Mike Giles (Oxford) Monte Carlo methods 21 / 23

Non-geometric multilevel Almost all applications of multilevel in the literature so far use a geometric sequence of levels, refining the timestep (or the spatial discretisation for PDEs) by a constant factor when going from level l to level l+1. Coming from a multigrid background, this is very natural, but it is NOT a requirement of the multilevel Monte Carlo approach. All MLMC needs is a sequence of levels with increasing accuracy increasing cost increasingly small difference between outputs on successive levels Mike Giles (Oxford) Monte Carlo methods 22 / 23

Final comments Uncertainty Quantification is a hot topic, with its own conferences and journals Monte Carlo methods are a powerful approach to handle uncertainty in a number of different settings Multilevel Monte Carlo greatly reduces the cost in a lot of settings, particularly when dealing with PDEs for more details, can read my new Acta Numerica review article CCFE (Culham Centre for Fusion Energy) has a 10-week project on using MLMC for uncertainty quantification Mike Giles (Oxford) Monte Carlo methods 23 / 23