my presentation at university of nottingham "fast low-rank methods for solving stochastic...
TRANSCRIPT
Low-rank tensors for PDEs withuncertain coefficients
Alexander Litvinenko
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
http://sri-uq.kaust.edu.sa/
Extreme Computing Research Center, KAUST
Alexander Litvinenko Low-rank tensors for PDEs with uncertain coefficients
4*
The structure of the talk
Part I (Stochastic Forward Problem):1. Motivation2. Elliptic PDE with uncertain coefficients3. Discretization and low-rank tensor approximations
Part II (Stochastic Inverse Problem via Bayesian Update):1. Bayesian update surrogate2. Examples
Part III (Quantification of uncertainties in aerodynamics)
13
13
17
17
14
14 17
13
17
14 15
13 13
17 29
13 48
15
13 13
13 13
15 13
13
13 16
23
8 8
13 15
28 29
8
8 15
8 15
8 15
19
18 18
61
57
23
17 17
17 17
23 35
57 60
61 117
17
17 17
17 17
14 14
14
7 7
14 14
34
21 14
17 14
28 28
10
10 13
17 17
17 17
11 11
17
11 11
69
40
17 11
17 11
36 28
69 68
10
10 11
9 9
10 11
9
9 12
14 14
21 21
14
14
11
11 11
42
14
11 11
11 11
14 22
38 36
12
12 13
12 12
10 10
12
10 10
23
12 10
10 10
15 15
13
10 10
15 15
69
97
49
28
16 15
12 12
21 21
48 48
83 132
48 91
16
12 12
13 12
8 8
13
8 8
26
13 8
13 8
22 21
13
13 13
9 9
13 13
9
9 13
49
26
9 12
9 13
26 22
49 48
12
12 14
12 14
12 14
15
9 9
18 18
26
15 15
14 14
26 35
15
14 14
15 14
15 14
16
16 19
97
68
29
16 18
16 18
29 35
65 64
97 132
18
18 18
15 15
18 18
15
15
14
7 7
33
15 16
15 17
32 32
16
16 17
14 14
16 17
14
14 18
64
33
11 11
14 18
31 31
72 65
11
11
8
8 14
11 18
11 13
18
13 13
33
18 13
15 13
33 31
20
15 15
19 15
18 15
19
18 18
53
87
136
64
35
19 18
14 14
35 35
64 66
82 128
61 90
33 62
8
8 13
14 14
17 14
18 14
17
17 18
2917 18
10 10
35 35
19
10 10
13 10
19 10
13
13
10
10 14
70
28
13 15
13 13
29 37
56 56
15
13 13
15 13
15 13
19
19
10
10 15
23
11 11
12 12
28 33
11
11 12
11 12
11 12
18
15 15
115
66
23
18 15
18 15
23 30
49 49
121 121
18
18 18
12 12
18 18
12
12 18
22
11 11
11 11
27 27
11
11 11
11 11
10 10
17
10 10
6222
17 10
17 10
21 21
59 49
13
10 10
18 18
10 10
11 11
10
10 11
27
10 11
10 11
32 21
12
12 15
12 13
12 15
13
13 19
88
115
62
27
13 19
13 14
27 32
62 59
115 121
61 90
10
10 11
14 14
21 14
12 12
14
10 10
12 12
29
14 12
15 12
35 35
14
14 15
11 11
14 15
11
11
8
8 16
69
29
11 18
11 23
28 28
62 62
18
18
8
8 15
15 15
13 13
15
13 13
29
15 13
13 13
33 28
16
13 13
16 13
15 13
18
15 15
135
62
29
18 15
18 15
22 22
69 62
101 101
10
10 11
19 19
15 15
7 7
15
7 7
40
15 7
15 7
40 22
19
19
9
9 13
18 18
19 22
18
18
11
10 10
11 11
62
31
18 20
11 11
31 31
39 39
20
11 11
19 11
12 11
19
12 12
26
12 12
14 12
13 13
12
12 14
13 13
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
2
4*
My interests and collaborations
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
3
4*
Motivation to do Uncertainty Quantification (UQ)
Motivation: there is an urgent need to quantify and reduce theuncertainty in multiscale-multiphysics applications.
UQ and its relevance: Nowadays computational predictions areused in critical engineering decisions. But, how reliable arethese predictions?
Example: Saudi Aramco currently has a simulator,GigaPOWERS, which runs with 9 billion cells. How sensitiveare these simulations w.r.t. unknown reservoir properties?
My goal is systematic, mathematically founded, develop-ment of UQ methods and low-rank algorithms relevant forapplications.
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
3
4*
PDE with uncertain coefficient
Consider− div(κ(x , ω)∇u(x , ω)) = f (x , ω) in G × Ω, G ⊂ Rd ,u = 0 on ∂G,
where κ(x , ω) - uncertain diffusion coefficient.
1. Efficient Analysis of High Dimensional Data in TensorFormats, Espig, Hackbusch, A.L., Matthies and Zander,2012.2. Efficient low-rank approximation of the stochasticGalerkin matrix in tensor formats, Wahnert, Espig, Hack-busch, A.L., Matthies, 2013.3. Polynomial Chaos Expansion of random coefficientsand the solution of stochastic partial differential equationsin the Tensor Train format, Dolgov, Litvinenko, Khoromskij,Matthies, 2016.
0 0.5 1-20
0
20
40
60
50 realizations of the solution u,
the mean and quantiles
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
4
4*
Canonical and Tucker tensor formats
[Pictures are taken from B. Khoromskij and A. Auer lecture course]
Storage: O(nd )→ O(dRn) and O(Rd + dRn).
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
5
4*
Karhunen Loeve and Polynomial Chaos Expansions
Apply bothTruncated Karhunen Loeve Expansion (KLE):κ(x , ω) ≈ κ0(x) +
∑Lj=1 κjgj(x)ξj(θ(ω)), where
θ = θ(ω) = (θ1(ω), θ2(ω), ..., ),ξj(θ) = 1
κj
∫G (κ(x , ω)− κ0(x)) gj(x)dx .
Truncated Polynomial Chaos Expansion (PCE)κ(x , ω) ≈
∑α∈JM,p
κ(α)(x)Hα(θ),
ξj(θ) ≈∑
α∈JM,pξ(α)j Hα(θ).
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
6
4*
Discretization of elliptic PDE
Ku = f, where
K:=∑L
`=1K` ⊗⊗M
µ=1∆`µ, K` ∈ RN×N , ∆`µ ∈ RRµ×Rµ ,u:=
∑rj=1 uj ⊗
⊗Mµ=1 ujµ, uj ∈ RN , ujµ ∈ RRµ ,
f:=∑R
k=1 f k ⊗⊗M
µ=1 gkµ, f k ∈ RN and gkµ ∈ RRµ .
(Wahnert, Espig, Hackbusch, Litvinenko, Matthies, 2011)
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
7
4*
Numerical Experiments
2D L-shape domain, N = 557 dofs.Total stochastic dimension is Mu = Mk + Mf = 20, there are|JM,p| = 231 PCE coefficients
u =231∑j=1
uj,0 ⊗20⊗µ=1
ujµ ∈ R557 ⊗20⊗µ=1
R3.
Tensor u has 320 · 557 ≈ 2 · 1012 entries ≈ 16 TB of memory.
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
8
4*
Level sets
Now we compute ui : ui > b ·maxi u,i := (i1, ..., iM+1)
for b ∈ 0.2, 0.4, 0.6, 0.8.
I The computing time for each b was 10 minutes.I Intermediate ranks of sign(b‖u‖∞1− u) and of rank(uk )
were less than 24.
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
9
4*
Part II
Part II: Bayesian update
We will speak about Gauss-Markov-Kalman filter for theBayesian updating of parameters in a computational model.
Multiple publications with Bojana V. Rosic, Elmar Zander, Oliver Pajonk and H.G. Matthies from TU Braunschweig,
Germany.
4*
Numerical computation of NLBU
Look for ϕ such that q(ξ) = ϕ(z(ξ)), z(ξ) = y(ξ) + ε(ω):
ϕ ≈ ϕ =∑α∈Jp
ϕαΦα(z(ξ))
and minimize ‖q(ξ)− ϕ(z(ξ))‖2L2, where Φα are polynomials
(e.g. Hermite, Laguerre, Chebyshev or something else).Taking derivatives with respect to ϕα:
∂
∂ϕα〈q(ξ)− ϕ(z(ξ)),q(ξ)− ϕ(z(ξ))〉 = 0 ∀α ∈ Jp
Inserting representation for ϕ, solve linear system for ϕα.
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
10
4*
Numerical computation of NLBU
Finally, the assimilated parameter qa will be
qa = qf + ϕ(y)− ϕ(z), (1)
z(ξ) = y(ξ) + ε(ω),ϕ =
∑β∈Jp
ϕβΦβ(z(ξ))
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
11
4*
Example: 1D elliptic PDE with uncertain coeffs
−∇ · (κ(x , ξ)∇u(x , ξ)) = f (x , ξ), x ∈ [0,1]
+ Dirichlet random b.c. g(0, ξ) and g(1, ξ).3 measurements: u(0.3) = 22, s.d. 0.2, x(0.5) = 28, s.d. 0.3,x(0.8) = 18, s.d. 0.3.
I κ(x, ξ): N = 100 dofs, M = 5, number of KLE terms 35, beta distribution for κ, Gaussian covκ, cov.length 0.1, multi-variate Hermite polynomial of order pκ = 2;
I RHS f (x, ξ): Mf = 5, number of KLE terms 40, beta distribution for κ, exponential covf , cov. length 0.03,multi-variate Hermite polynomial of order pf = 2;
I b.c. g(x, ξ): Mg = 2, number of KLE terms 2, normal distribution for g, Gaussian covg , cov. length 10,multi-variate Hermite polynomial of order pg = 1;
I pφ = 3 and pu = 3
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
12
4*
Example: Updating of the parameter
0 0.5 10
0.5
1
1.5
0 0.5 10
0.5
1
1.5
Figure: Original and updated parameter κ.
Collaboration with Y. Marzouk, MIT, and TU Braunschweig. Wetry to build an equivalent of KLD for PCE expansion.Collaborate with H. Najm, Sandia Lab. We try to compare ourtechnique with his advanced MCMC technique for chemicalcombustion eqn.
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
13
4*
Example: updating of the solution u
0 0.5 1-20
0
20
40
60
0 0.5 1-20
0
20
40
60
0 0.5 1-20
0
20
40
60
0 0.5 1-20
0
20
40
60
0 0.5 1-20
0
20
40
60
Figure: Original and updated solutions, mean value plus/minus 1,2,3standard deviations. Number of available measurements 0,1,2,3,5
[graphics are built in the stochastic Galerkin library sglib, written by E. Zander in TU Braunschweig]
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
14
4*
Part III: My contribution to MUNA
4*
Example: uncertainties in free stream turbulence
α
v
v
u
u’
α’
v1
2
Random vectors v1(θ) and v2(θ) model free stream turbulence
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
16
4*
Example: 3sigma intervals
Figure: 3σ interval, σ standard deviation, in each point of RAE2822airfoil for the pressure (cp) and friction (cf) coefficients.
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
17
4*
Mean and variance of density, tke, xv, zv, pressure
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
18
4*
Domain decomposition
Application of domain decomposition and Hierarchical matricesfor solving multi-scale problems.
(a)macroscopic scale (b)microscopic scale (c)molecular scale
Ω
v
T
repeated cells
v
. . . .
.
.
.
.
.
.
.
.
.
.
.
.
mean value
hH
TH Th
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
19
4*
Conclusion
IntroducedI Low-rank tensor methods to solve elliptic PDEs with
uncertain coefficients,I Post-processing in low-rank tensor format, computing level
setsI Bayesian update surrogate ϕ (as a linear, quadratic,...
approximation)I Quantification of uncertainties in Numerical AerodynamicsI Domain decomposition and Hierarchical matrices for
multiscale problems
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
20
4*
Thank you
Thank you!
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
21
4*
My experience since 2002
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
22
4*
Literature
1. PCE of random coefficients and the solution of stochastic partialdifferential equations in the Tensor Train format , S. Dolgov, B. N.Khoromskij, A. Litvinenko, H. G. Matthies, 2015/3/11,arXiv:1503.032102. Efficient analysis of high dimensional data in tensor formats, M.Espig, W. Hackbusch, A. Litvinenko, H.G. Matthies, E. Zander SparseGrids and Applications, 31-56, 40, 20133. Application of hierarchical matrices for computing theKarhunen-Loeve expansion, B.N. Khoromskij, A. Litvinenko, H.G.Matthies, Computing 84 (1-2), 49-67, 31, 20094. Efficient low-rank approximation of the stochastic Galerkin matrixin tensor formats, M. Espig, W. Hackbusch, A. Litvinenko, H.G.Matthies, P. Waehnert, Comp. & Math. with Appl. 67 (4), 818-829,20125. Numerical Methods for Uncertainty Quantification and BayesianUpdate in Aerodynamics, A. Litvinenko, H. G. Matthies, Book”Management and Minimisation of Uncertainties and Errors inNumerical Aerodynamics”, pp 265-282, 2013
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
23
4*
Literature
1. A. Litvinenko and H. G. Matthies, Inverse problems anduncertainty quantificationhttp://arxiv.org/abs/1312.5048, 2013
2. L. Giraldi, A. Litvinenko, D. Liu, H. G. Matthies, A. Nouy, Tobe or not to be intrusive? The solution of parametric andstochastic equations - the ”plain vanilla” Galerkin case,http://arxiv.org/abs/1309.1617, 2013
3. O. Pajonk, B. V. Rosic, A. Litvinenko, and H. G. Matthies, ADeterministic Filter for Non-Gaussian Bayesian Estimation,Physica D: Nonlinear Phenomena, Vol. 241(7), pp.775-788, 2012.
4. B. V. Rosic, A. Litvinenko, O. Pajonk and H. G. Matthies,Sampling Free Linear Bayesian Update of PolynomialChaos Representations, J. of Comput. Physics, Vol.231(17), 2012 , pp 5761-5787
Center for UncertaintyQuantification
Center for UncertaintyQuantification
Center for Uncertainty Quantification Logo Lock-up
24