A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing...

47
A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of Mathematical Sciences, University of Nottingham, U.K. AMCS Seminar, Center for UQ, CEMSE, KAUST, KSA September 8th, 2015 (University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 1 / 47

Transcript of A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing...

Page 1: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

A Regularizing Ensemble Kalman Method forPDE-constrained Inverse Problems

Marco Iglesias

School of Mathematical Sciences,University of Nottingham, U.K.

AMCS Seminar,Center for UQ, CEMSE, KAUST, KSA

September 8th, 2015

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 1 / 47

Page 2: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Outline

1 Introduction

2 Numerical Investigation of the Scheme

3 Applications

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 2 / 47

Page 3: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Outline

1 Introduction

2 Numerical Investigation of the Scheme

3 Applications

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 3 / 47

Page 4: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

General Aim

Inferring/estimating functions which are inputs for a PDE model, givenmeasurements/observations form the output.

PDE-constrained applications

Porous media flow Electrical Impedance Tomography

1

2

3

4

5

6

7

89

10

11

12

13

14

15

16

M. A.Iglesias

A regularizing ensemble Kalman method for PDE-constrained inverse problems.

to appear in Inverse Problems, 2015. http://arxiv.org/abs/1505.03876

M. A.Iglesias

Iterative regularization for ensemble data assimilation in reservoir modeling

Computational Geosciences, (2015) 19:177-212

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 4 / 47

Page 5: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Abstract Setting

Let G : X → RJ .

Forward ModelGiven u ∈ X compute

y = G(u).

Let η ∈ RJ be a realization of an observational noise.

Inverse Problem

Given y ∈ RJ find u ∈ X :

y = G(u) + η.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 5 / 47

Page 6: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Groundwater Flow: Forward and Inverse Problem

Forward groundwater flow model:

Forward Problem: Darcy flow

−∇ · κ∇p = f in D,−κ∇p · n = BN in ΓN .

p = BD in ΓD

where ∂D = ΓN ∪ ΓD.

u = log(κ(x)) ∈ X ≡ L∞(D) −→ G(u) = p(xi)Ji=1 ∈ RJ

Inverse Problem

Given y ∈ RJ find u ∈ X :

y = G(u) + η.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 6 / 47

Page 7: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Bayesian Inversion

PriorProbabilistic information about u before data is collected:

µ0(u) = P(u)

LikelihoodSince y = G(u) + η, if η ∼ N(0, Γ), then P(y |u) = N(G(u), Γ). Then(Γ−weighted) model-data misfit Φ is the negative log-likelihood:

Φ(u; y) =12

∥∥∥Γ−1/2(y − G(u))∥∥∥

2

PosteriorProbabilistic information about u after data is collected:

µy (u) = P(u|y).

µy (u)

µ0(u)∝ exp

(− Φ(u; y)

)

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 7 / 47

Page 8: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Bayesian Inversion

PosteriorProbabilistic information about u after data is collected:

µy (u) = P(u|y).

µy (u)

µ0(u)∝ exp

(− Φ(u; y)

)

Challenge

To explore the probability measure µy .

G is highly nonlinear; µy cannot be characterized with a few parameters.

The problem is high dimensional (X is discretized with 106-109 cells).

Standard sampling methods for Bayesian inference do not work.

Infinite-dimensional Bayesian framework [Stuart, 2010]; MCMC methodfor functions (pcn-MCMC) [Cotter, et-al, 2013].

Well-known for continuous G.(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 8 / 47

Page 9: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Classical Inversion

The Classical (deterministic) formulation of the Inverse Problem

Given data y ∈ Y find

u = arg minu∈X||Γ−1/2(y − G(u))||2 → min

For most PDE-constrained applications G : X → RM is compact (unless X isfinite dimensional)

Lack of continuity (lack of stability) with respect to the dataWe can construct a sequence un ∈ X such that

un 9 u but G(un)→ G(u)

If we want to compute the minimizer above with standard optimization wemay observe semiconvergence behavior [Kirsch, 1996]

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 9 / 47

Page 10: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Classical approach for nonlinear ill-posed inverse problems

Regularization Approaches (for nonlinear operators)

Regularize-then-compute (e.g. Tikhonov, TSVD)

Compute while regularizing (Iterative Regularization) [Kaltenbacher, 2010]

regularizing Levenberg-MarquardtLandweber iterationtruncated Newton-CGiterative regularized Gauss-Newton method

Introduce noise level||Γ−1/2(y − G(u†))|| ≤ η

Regularization

Construct an approximation uη that is stable, i.e. such that

uη → u as η → 0where

G(u) = G(u†)

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 10 / 47

Page 11: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Merging the Bayesian and the Classical approach

Consider µ0(u) = P(u) = N (0,C) the prior on u and

y = G(u) + ξ, ξ ∼ N (0, Γ)

The Bayesian Inverse Problem

Characterize the posterior µy (u) = P(u|y):

µy (u)

µ0(u)∝ exp

(− 1

2||Γ−1/2(y − G(u))||2

)y (j) = y + η(j) ∼ N(0, Γ)

Ensemble Approximating the Bayesian posterior µy (u) = P(u|y)

Randomizing least-squares, e.g.

12||Γ−1/2(y (j) − G(u))||2 → min y (j) = y + η(j) ∼ N(0, Γ)

or, for example, Randomized Maximum Likelihood

12||Γ−1/2(y (j) − G(u(j)))||2 + ||C−1/2(u − u(j))||2X → min u(j) ∼ N (0,C)

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 11 / 47

Page 12: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Overview of this work

Classical (deterministic)

Inversion

Bayesian Inversion

Least-squares Characterize the posterior

Bayesian Approach

Prior information concerning geologic properties:

µ0(u) = P(u)

Noisy measurements:

y = G(u) + , N (0, )

Define negative log likelihood

(u; y) =12||1/2(y G(u))||2

Posterior µy (u) = P(u|y):

dµy

dµ0(u) / exp

(u; y)

(Nottingham University) Bayesian inverse problems Marco Iglesias 10 / 32

Bayesian Approach

Prior information concerning geologic properties:

µ0(u) = P(u)

Noisy measurements:

y = G(u) + , N (0, )

Define negative log likelihood

(u; y) =12||1/2(y G(u))||2

Posterior µy (u) = P(u|y):

dµy

dµ0(u) / exp

(u; y)

(Nottingham University) Bayesian inverse problems Marco Iglesias 10 / 32

Iterative Regularization (e.g. regularizing LM, landweber iteration).

Ensemble Kalman-based methods Enemble Kalman Methods for Inverse Problems

u(j,a) = u(j,f ) + K(y (j) G(u(j,f )))

Augmented analysis

u(j,a) = u(j,f ) + Cuw (Cww + )1(y (j) G(u(j,f )))

w (j,a) = G(u(j,f )) + Cww (Cww + )1(y (j) G(u(j,f )))

z(j,a) = z(j,f ) + Cf HT

HCf HT + 1

(y (j) Hz(j,f ))

where

z = (u, w)T 2 Z X Y H = (0, I) Cf =

Cuu Cuw

(Cuw )T Cww

It is easy to show that

za =1

Ne

NeX

j=1

z(j,a) = argminz

|| 1

2 (y Hz)||2Y + ||(Cf )12 (z zf )||2Z

where zf 1Ne

PNej=1 z(j,f ). Tikhonov-regularized linear inverse

problems.

(Nottingham University) Bayesian inverse problems Marco Iglesias 6 / 15

M. A.Iglesias

A regularizing ensemble Kalman method for PDE-constrained inverse problems.to appear in Inverse Problems, 2015. http://arxiv.org/abs/1505.03876

M. A.Iglesias

Iterative regularization for ensemble data assimilation in reservoir modelingComputational Geosciences, (2015) 19:177-212

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 12 / 47

Page 13: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Ensemble Kalman Smoother [Evensen, 2006]

Bayesian Inverse Problem

Given a prior µ0(u) of on u and data

y = G(u) + η η ∼ N(0, Γ)

find µ(u) = P(u|y).

µ(u) ∝ µ0(u) exp− 1

2||Γ−1/2(y − G(u))||2

Define

z =

(uG(u)

), y = Hz + η, H = (0, I)

Alternative Bayesian Inverse Problem

Given a prior on z, µ0(z) and data y , find µ(z) = P(z|y)

µ(z)

µ0(z)∝ exp

− 1

2||Γ−1/2(y − G(u))||2

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 13 / 47

Page 14: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Ensemble Kalman Smoother

Bayesian Inverse Problem

Given a prior on z, µ0(z) and data y , find µ(z) = P(z|y)

µ(u) ∝ µ0(u) exp− 1

2||Γ−1/2(y − G(u))||2

Construct an initial ensemble

z(j,f )0 =

(u(j)

0

G(u(j)0 )

), u(j)

0 Nej=1 ∼ µ0

Compute mean and covariance

z f =1

Ne

Ne∑

j=1

z(j,f ) C f =1

(Ne − 1)

Ne∑

j=1

z(j,f )(z(j,f ))T − z f (z f )T

Gaussian Approximation: µ0(z) = N(z f ,C f ),

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 14 / 47

Page 15: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Ensemble Kalman Smoother

Since µ0(z) = N(z f ,C f ), then

µ(u) ∝ µ0(u) exp

− 1

2||Γ−1/2(y − G(u))||2

= N(za,Ca)

wherez(a) = z(f ) + C f HT

(HC f HT + Γ

)−1

︸ ︷︷ ︸K

(y − Hz(f ))

Ca = (I − K )C f

Updated each ensemble according to

z(j,a) = z(j,f ) + C f HT(

HC f HT + Γ)−1

(y (j) − Hz(j,f ))

withy (j) = y + η(j), η(j) ∼ N(0, Γ)

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 15 / 47

Page 16: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Ensemble Kalman Smoother

Updated each ensemble according to

z(j,a) = z(j,f ) + C f HT(

HC f HT + Γ)−1

(y (j) − Hz(j,f ))

Claim 1: z(j,a)Nej=1 ≈ P(z|y).

Recall that z =

(uG(u)

). Then,

u(j) = u(j)0 + Cuw (Cww + Γ)−1(y (j) −G(u(j)

0 )

Cuw =1

(Ne − 1)

Ne∑

j=1

(u(j)0 − u0)(G(u(j)

0 )− G(u0))T

Cww =1

(Ne − 1)

Ne∑

j=1

(G(u(j)0 )− G(u0))(G(u(j)

0 )− G(u0))T

Claim 2: u(j)Nej=1 ≈ P(u|y).

Observation: u(j)Nej=1 = P(u|y) if G is linear and µ0 is Gaussian.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 16 / 47

Page 17: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Issues with Ensemble Kalman Smoother

It kind of works....sometimes.

u(j) = u(j)0 + Cuw (Cww + Γ)−1(y (j) − G(u(j)

0 )

Underestimates the uncertainty

Iterative smoothers

u(j)n = u(j)

n−1 + Cuwn−1(Cww

n−1 + Γ)−1(y (j) − G(u(j)n−1)

Overestimates the uncertainty

Ad-hoc fixes of Iterative smoothers

u(j)n = u(j)

n−1 + ρ Cuwn−1(Cww

n−1 + αΓ)−1(y (j) − G(u(j)n−1)

ρ is a localization matrix and α is an inflation parameter

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 17 / 47

Page 18: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Understanding the iterative ensemble smoother with iterativeregularization

Suppose we are interested in solving

u = arg minu∈X||Γ−1/2(y − G(u))||2

where X has norm ||C−1/2 · ||

Levenberg-Marquardtun+1 iteration level is given by

un+1 = un + arg minv∈X||Γ−1/2(y − G(un)− DG(un)v)||2 + α||C−1/2v ||2X

After some computations

un+1 = un + C DG∗(un)(DG(un) C DG∗(un) + αΓ)−1(y − G(un))

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 18 / 47

Page 19: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing LM scheme [Hanke,1997]

Hanke proposed a way to select α and a stoping criteria (δ= noiselevel):

||Γ−1/2(y − G(un))|| ≈ δso that

un+1 = un + C DG∗(un)(DG(un) C DG∗(un) + αΓ)−1(y − G(un))

generates a stable approximation to the solution of the classicalinverse problem.

Theorem [Hanke 1997]The LM scheme terminates after a finite number of iterations n? and

un? → u as η → 0 (where G(u) = G(u†))

u† is the truth

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 19 / 47

Page 20: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing ensemble Kalman method

Consider an initial ensemble u(j)0

Nej=1 ⊆ X

Linearize around the ensemble mean un ≡ 1Ne

∑Nej=1 u(j)

n

w (j)n ≡ G(u(j)

n ) ≈ G(un) + DG(un)(u(j)n − un)

Cuun DG∗(un)v ≈ Cuw

n v DG(un)Cuun DG(un)∗v ≈ Cww

n v

Recall the update formula for the regularizing LM scheme

un+1 = un + C DG∗(un)(DG(un) C DG∗(un) + αΓ)−1(y − G(un))

Replace

un =⇒ un,

C DG∗(un) =⇒ Cuun DG∗(un) ≈ Cuw

n

DG(un) C DG∗(un) =⇒ DG(un)Cuun DG∗(un) ≈ Cww

n

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 20 / 47

Page 21: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing ensemble Kalman method

Update formula for the mean of the ensemble

un+1 = un + Cuwn (Cww

n + αΓ)−1(y − wn)

where wn ≡ 1Ne

∑Nej=1 G(u(j)

n ).We propose to update each ensemble in a consistent fashion

u(j)n+1 = u(j)

n + Cuwn (Cww

n + αΓ)−1(y (j) − G(u(j)n ))

Selection of α:

ρ||Γ−1/2(y − wn))||Y ≤ α||Γ1/2(Cwwn + αΓ)−1(y − wn)||Y

Stopping criteria||Γ−1/2(y − wn)||Y ≈ δ

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 21 / 47

Page 22: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

An iterative regularizing ensemble Kalman method

Let ρ < 1 and τ > 1/ρ. Generate an initial ensemble u(j)0 ∼ µ0

A regularizing Kalman method

(1) Prediction Step: Evaluate w (j,f )m = G(u(j)

m ) define w fm

(2) Stopping criteria. If

||Γ−1/2(y − w fm)|| ≤ τη

Stop. Otherwise: define Cuwm , um, Cww

m and(3) Analysis step: Compute the updated ensembles

u(j)m+1 = u(j)

m + Cuwm (Cww

m + αmΓ)−1(y (j) − w (j,f )m )

for αm such that

αm||Γ1/2(Cwwm + αmΓ)−1(yη − w f

m)|| ≤ ρ||Γ−1/2(yη − w fm)||

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 22 / 47

Page 23: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Outline

1 Introduction

2 Numerical Investigation of the Scheme

3 Applications

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 23 / 47

Page 24: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Synthetic experiment with Darcy flow model

Initial ensemble generated from a prior P(u) = N(u,C).G(u) be the forward operator that arises from Darcy flow.

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

x (dimensionless)

y (

dim

en

sio

nle

ss)

Truth

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

2.5

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

x (dimensionless)

y (

dim

en

sio

nle

ss)

Measurement locations

Consider a truth u† ∼ P(u) from which synthetic data are generated byy = G(u†) + ξ ξ ∼ N(0, Γ) (prescribed Γ covariance of the Gaussiannoise).For the numerical investigation with respect to the approximation properties ofthe Bayesian posterior see

M. A. Iglesias

Iterative regularization for ensemble-based data assimilation in reservoir models.Computational Geosciences. 19(1), 2015.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 24 / 47

Page 25: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Synthetic experiment with Darcy flow model

Initial ensemble generated from a prior P(u) = N(u,C).G(u) be the forward operator that arises from Darcy flow.

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

x (dimensionless)

y (

dim

en

sio

nle

ss)

Truth

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

2.5

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

x (dimensionless)

y (

dim

en

sio

nle

ss)

Measurement locations

Some elements from the initial ensemble

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 25 / 47

Page 26: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Results from the standard ES choice α = 1.

Reconstructing the truth with the mean of an ensemble of Ne = 75(with small noise)

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

x (dimensionless)

y (

dim

en

sio

nle

ss

)

Truth

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

2.5

Ensemble mean (no reg). Iter:1 Ensemble mean (no reg). Iter:2 Ensemble mean (no reg). Iter:3 Ensemble mean (no reg). Iter:12

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 26 / 47

Page 27: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Performance

un ≡1

Ne

Ne∑

j=1

u(j)n

||Γ−1/2(y − G(un))||l2 ||un − u†||L2(D)

Data misfit Error w.r.t truth

2 4 6 8 10 12 14 16 18 202

2.5

3

3.5

4

4.5

5

5.5

6

6.5

iteration

log d

ata

mis

fit

unregularized

2 4 6 8 10 12 14 16 18 200.7

0.75

0.8

0.85

0.9

0.95

1

1.05

1.1

iteration

rela

tive e

rror

unregularized

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 27 / 47

Page 28: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Results with the regularizing ensemble Kalman method

Reconstructing the truth with the mean of an ensemble of Ne = 75(with small noise)

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

x (dimensionless)

y (

dim

en

sio

nle

ss

)

Truth

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

2.5

Ensemble mean (no reg). Iter:5 Ensemble mean (no reg). Iter:9 Ensemble mean (no reg). Iter:13 Ensemble mean (no reg). Iter:17

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 28 / 47

Page 29: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Performance

un ≡1N

N∑

j=1

u(j)n

||Γ−1/2(y − G(un))||l2 ||un − u†||L2(D)

Data misfit Error w.r.t truth

2 4 6 8 10 12 14 16 18 202

2.5

3

3.5

4

4.5

5

5.5

6

6.5

iteration

log

da

ta m

isfit

regularized

unregularized

2 4 6 8 10 12 14 16 18 200.7

0.75

0.8

0.85

0.9

0.95

1

1.05

1.1

iteration

rela

tive

err

or

regularized

unregularized

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 29 / 47

Page 30: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularization parameter α

Plot of logα

2 4 6 8 10 12 14 16 18 20

0

2

4

6

8

10

12

iteraton

log a

lpha

ρ=0.7

ρ=0.5

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 30 / 47

Page 31: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing properties as a function of the ensemble size

0 5 10 15 20

1

2

3

4

5

6

iteration

log−

data

mis

fit

Ne=50, ρ =0.7

0 5 10 15 20

0.6

0.7

0.8

0.9

1

iteration

rela

tive e

rror

Ne=50, ρ =0.7

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 31 / 47

Page 32: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing properties as a function of the ensemble size

0 5 10 15 20

1

2

3

4

5

6

iteration

log−

data

mis

fit

Ne=75, ρ =0.7

0 5 10 15 20

0.6

0.7

0.8

0.9

1

iteration

rela

tive e

rror

Ne=75, ρ =0.7

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 32 / 47

Page 33: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing properties as a function of the ensemble size

0 5 10 15 20

1

2

3

4

5

6

iteration

log−

data

mis

fit

Ne=100, ρ =0.7

0 5 10 15 20

0.6

0.7

0.8

0.9

1

iteration

rela

tive e

rror

Ne=100, ρ =0.7

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 33 / 47

Page 34: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing properties as a function of the ensemble size

0 5 10 15 20

1

2

3

4

5

6

iteration

log−

data

mis

fit

Ne=150, ρ =0.7

0 5 10 15 20

0.6

0.7

0.8

0.9

1

iteration

rela

tive e

rror

Ne=150, ρ =0.7

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 34 / 47

Page 35: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing properties as a function of the ensemble size

0 5 10 15 20

1

2

3

4

5

6

iteration

log−

data

mis

fit

Ne=200, ρ =0.7

0 5 10 15 20

0.6

0.7

0.8

0.9

1

iteration

rela

tive e

rror

Ne=200, ρ =0.7

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 35 / 47

Page 36: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Regularizing properties as a function of the ensemble size

0 5 10 15 20

1

2

3

4

5

6

iteration

log−

data

mis

fit

Ne=300, ρ =0.7

0 5 10 15 20

0.6

0.7

0.8

0.9

1

iteration

rela

tive e

rror

Ne=300, ρ =0.7

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 36 / 47

Page 37: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Convergence as the noise level decreases

un ≡1

Ne

Ne∑

j=1

u(j)n

||Γ−1/2(y − G(un))||l2 ||un − u†||L2(D)

0 5 10 15 20 25 30 35

1

2

3

4

5

6

iteration

log

−d

ata

mis

fit

0.25%

0.5%

1%

2.5%

5%

5 10 15 20 25 30 350.55

0.6

0.65

0.7

0.75

0.8

0.85

0.9

0.95

1

iteration

rela

tive

err

or

0.25%

0.5%

1%

2.5%

5%

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 37 / 47

Page 38: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

The proposed ES as an approximate regularizing LM scheme

Comparing ES with the regularizing LM scheme (on the samesubspace)

10 20 30 40 500.5

0.55

0.6

0.65

0.7

0.75

0.8

iteration

rela

tive e

rror

regularizing ES

regularizing LM

10 20 30 40 5050

60

70

80

90

100

110

120

130

iteration

log−

data

mis

fit

regularizing ES

regularizing LM

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 38 / 47

Page 39: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Outline

1 Introduction

2 Numerical Investigation of the Scheme

3 Applications

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 39 / 47

Page 40: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Manufacturing Composite Materials

In Collaboration with Michael Tretyakov (UoN, maths) and Minho Park(UoN, maths), Mikhail Matveev (UoN, engineering)

Forward map: Resin Transfer Molding

−∇ · eu∇p = f in D(t)p = pin on Γin

p = pf on Γs(t)−eu∇p · n = 0 on ΓN

Moving boundary

dΓs(t)dt

= −eu∇p

u = log(κ(x)) ∈ X ≡ L∞(D) −→ G(u) = p(xi)Ni=1 ∈ Y ≡ RM

The Inverse ProblemFind u ∈ X given

y = G(u) + η η ∼ N(0, Γ)

.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 40 / 47

Page 41: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

The Forward model

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 41 / 47

Page 42: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Solving the Inverse Problem

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 42 / 47

Page 43: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Electrical Impedance Tomography

Complete Electrode Model: Forward and Inverse Problem

Given κ, zmnem=1 and I = Imne

m=1 compute v and V = Vmnem=1

∇ · κ∇v = 0 in D,v + zmκ∇v · ν = Vm on em, m = 1, . . . ,ne,

∇v · ν = 0 on ∂D \ ∪nem=1em,∫

emκ∇v · ν ds = Im m = 1, . . . ,ne,

Inverse Problem:

Given I(1), . . . , I(N) and theobservations of voltagesV (1), . . . ,V (N) find κ and zm

1

2

3

4

5

6

7

89

10

11

12

13

14

15

16

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 43 / 47

Page 44: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Geometric Parameterization with Level-Sets

Permeability κ defined through level set function u:

κ(x) = κ1 χu<0(x) + κ2 χu≥0(x).

u 7→ κ is discontinuous

Forward Map and initial ensemble

u −→ κ −→ G(u) = p(xi )Ni=1 ∈ RM

Gaussian prior µ0 = N(0,C0) on the level-set function.Covariance C0 reflects the regularity of the shape.

Ω

Ω

←∂Ω

∂Ω →

M. A. Iglesias, Y. Lu and A. M . StuartA level-set approach to Bayesian geometric inverse problems.Submitted, 2015. http://arxiv.org/abs/1504.00313

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 44 / 47

Page 45: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Solving EIT

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 45 / 47

Page 46: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

Summary

Iterative regularization provides strategies for regularizing Kalmanbased methods.

Regularization has strong effect in the robustness and accuracy ofensemble methods for solving both classical and Bayesian inverseproblems.

The stabilization of the proposed method is suitable for solvinglevel-set based geometric inverse problems.

Further investigations are required to establish the mathematicalproperties of these approximations.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 46 / 47

Page 47: A Regularizing Ensemble Kalman Method for PDE-constrained … · 2020-03-14 · A Regularizing Ensemble Kalman Method for PDE-constrained Inverse Problems Marco Iglesias School of

References

M.A.Iglesias, K.Lin and A.M.StuartWell-posed Bayesian geometric inverse problems arising in subsurface flow.Inverse Problems, 30 (2014) 114001

M. A.IglesiasA regularizing ensemble Kalman method for PDE-constrained inverse problems.to appear in Inverse Problems, 2015. http://arxiv.org/abs/1505.03876

M. A. Iglesias, Y. Lu and A. M . StuartA level-set approach to Bayesian geometric inverse problems.Submitted, 2015. http://arxiv.org/abs/1504.00313

M. A.IglesiasIterative regularization for ensemble data assimilation in reservoir modelingComputational Geosciences, (2015) 19:177-212

M. Iglesias, K. Law and A.M. Stuart,Ensemble Kalman methods for inverse problems.Inverse Problems. 29 (2013) 045001 http://arxiv.org/abs/1209.2736

S.L.Cotter, G.O.Roberts, A.M. Stuart, and D. White.MCMC methods for functions: modifying old algorithms to make them faster.Statistical Science, 28(2013) 424-446). arXiv:1202.0709.

(University of Nottingham) A regularizing ensemble Kalman method Marco Iglesias 47 / 47