• Aucun résultat trouvé

Collaborators: Patrick E. Farrell, Stéphane P. A. Bordas

N/A
N/A
Protected

Academic year: 2021

Partager "Collaborators: Patrick E. Farrell, Stéphane P. A. Bordas"

Copied!
42
0
0

Texte intégral

(1)

Using Bayes’ theorem to infer the material

parameters of human tissue

Jack S. Hale

Collaborators: Patrick E. Farrell, Stéphane P. A. Bordas

Hmsqnctbshnm Sgdaq`mc Sxonfq`ogx

Bnkntq

Ok`bhmfsgdaq`mc Rs`shnmdqx NsgdqhcdmshÜdqr Dwghahshnmr. Rhfm`fd OnvdqOnhms Vda Sq`cdl`qj. Bdqdlnmh`k Dw`lokdr Sdbgmhb`k hmenql`shnm

aq`mcbnkntqr`mcbnkntqo`kdssd

Sgdaq`mcbnkntqÎNwenqcaktd

The University is possibly unique in having a colour with which it is associated throughout the world:Nwenqcaktd.

Nwenqcaktd(or PANTONE © 282) is the main brand colour. Please refer to page 21 for more detailed and technical information on the use of Oxford blue.

Sgdaq`mcl`qjrÎak`bjnmkx

In print media where only black is available (such as press

advertisement or black and white laser printing) it is acceptable to use the brand in black. However, it is important that the black artwork versions are used, as use of the Oxford blue artwork versions could result in a half-tone grey being produced.

Okd`rdmnsd9 do not print letterheads in colour on a laser printer or inkjet as the colour of the brand will not be right. Please print in black using the black artwork versions.

Bnkntqo`kdssd

There is also a palette of preferred colours that have been selected to compliment the Nwenqcaktd. These colours are for use in

graphic elements within designs such as backdrops, graphic shapes and typography. The colours in the palette are shown opposite.

For more technical information on Oxford blue please refer to page 20

For more technical information on the colour palette please refer to page 21

Use the black artwork versions only when no colours are available

The main brand colour is

Oxford Blue

(or Pantone©282)

1

University of Ghent, Bayesian Afternoon Seminar

(2)

Overview

• Motivation.

• Bayesian approach to inversion.

• Relate classical optimisation techniques to the Bayesian inversion approach.

• Using a domain specific language for variational forms to solve the equations.

• Low-rank updates to deal with high-dimensional posterior

covariance.

(3)

Motivation.

(4)
(5)
(6)
(7)

Q: What can we infer about the parameters inside the domain, just from displacement observations on the

outside?

Q: Which parameters am I most uncertain about?

(8)

Framework

(9)

posterior (x | y ) likelihood (y | x ) prior (x )

x G

Parameter Map

+

E ∼ N (0, Γ noise )

y y obs

X ∼ N (¯ x , Γ prior )

π posterior (x | y ) ∝ exp

!

− 1

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

noise − 1

2 || x − x ¯ || Γ − 1 prior

"

Inference

(10)

G : X → Y

Inverse Problems: A Bayesian perspective.

Stuart, Acta Numerica (2010).

Contribution: Bayesian inverse problems in an infinite- dimensional setting. When is a Bayesian inverse

problem well-posed?

(11)

The displacements y for a given material parameter x are defined by a the minimum point of the following Lagrangian:

L (y , x ) = (y , x ) dx t · y ds

where the energy density functional is defined through the following equations:

(u, x ) = x

2 (I c d ) x ln(J ) +

2 ln(J ) 2 , F =

X = I + y , C = F T F,

I C = tr(C), J = detF.

B 0 φ B

(12)

Even once discretised (Finite Element Method)

Colin27 brain atlas

20% extension test, 16 Core Xeon, 1.12 million cells, ~29 secs.

G h : R n → R m

n = 1, 112, 000

(13)

Problems

• Evaluating parameter-to-observable map is very expensive.

• Discretised parameter space can be very large.

Outcome: Exploring posterior with ‘traditional sampling’ is not

going to work.

(14)

Solutions

1. Connect Bayesian approach to ideas from classical optimisation. Using derivatives of posterior in parameter-space (Girolami).

2. Exploiting low-rank structure of prior to posterior

covariance updates (Flath 2012, Spantini 2015).

(15)

posterior (x | y ) likelihood (y | x ) prior (x )

x MAP = arg max

x ∈R n π posterior (x | y )

x MAP

x CM

cov(x | y )

(16)

Linearise

y = Ax

− ln π posterior (x | y ) = 1

2 || y − Ax || 2 Γ 1

noise

+ 1

2 || x − x 0 || Γ − 1

prior

(17)

Take the derivative

g (x MAP ) := x 1

2 y Ax 2 1

noise

+ 1

2 x x 0 2 1

prior x =x map

= A T noise 1 (y Ax map ) + prior 1 (x map x 0 )

= 0

x MAP = ! Γ prior 1 − A T Γ noise 1 A " 1 (A T Γ noise y + Γ prior x 0 )

(18)

MAP estimate. Bound-constrained Quasi-Newton BLMVM

(19)

and the second derivative…

H := ∇ x g = Γ prior 1 − A T Γ noise 1 A

x MAP = ! Γ prior 1 − A T Γ noise 1 A " 1 (A T Γ noise y + Γ prior x 0 )

π posterior ∼ N (x MAP , H 1 )

(After a fair bit of manipulation…)

(20)

MAP estimate

x MAP

x

cov(x | y )

(21)

x MAP

x CM

cov(x | y )

H 1 (x MAP )

(22)

π posterior ∼ N (x MAP , H 1 )

π posterior approx ∼ N (x MAP , H 1 (x MAP ))

x MAP

x

cov(x | y )

H 1 (x MAP )

(23)

Tools

• The FEniCS Project is

collection of free software for the automated, efficient

solution of differential

equations using the finite element method.

• dolfin-adjoint automatically derives the discrete adjoint, tangent linear and higher- order adjoint models from a high-level description of the forward model.

http://fenicsproject.org

http://www.dolfin-adjoint.org

Wells, Logg, Rognes, Kirby and many, many others…

Farrell, Funke, Ham and Rognes.

2015 Wilkinson Prize for Numerical Software.

(24)

The displacements y for a given material parameter x are defined by a the minimum point of the following Lagrangian:

L (y , x ) = (y , x ) dx t · y ds

where the energy density functional is defined through the following equations:

(u, x ) = x

2 (I c d ) x ln(J ) +

2 ln(J ) 2 , F =

X = I + y , C = F T F,

B 0 φ B

(25)

from dolfin import *

mesh = UnitSquareMesh(32, 32)

U = VectorFunctionSpace(mesh, "CG", 1) V = FunctionSpace(mesh, "CG", 1)

# solution

u = Function(U)

# test functions v = TestFunction(U)

# incremental solution du = TrialFunction(U)

x = interpolate(Constant(1.0), V)

lmbda = interpolate(Constant(100.0), V) dims = mesh.type().dim()

I = Identity(dims) F = I + grad(u) C = F.T*F

J = det(F)

phi = (x/2.0)*(Ic - dims) - x*ln(J) + (lmbda/

2.0)*(ln(J))**2 Pi = phi*dx

# gateux derivative with respect to u in direction v F = derivative(Pi, u, v)

# and with respect to u in direction du J = derivative(F, u, du)

u_h = Function(U)

F_h = replace(F, {u: u_h}) J_h = replace(J, {u: u_h})

solve(F_h == 0, u_h, bcs, J=J_h)

The displacements y for a given material parameter x are defined by a the minimum point of the following Lagrangian:

L(y , x) = (y , x) dx t · y ds

where the energy density functional is defined through the following equations:

(u, x) = x

2(Ic d) x ln(J) +

2 ln(J)2, F =

X = I+ y , C = FTF,

IC = tr(C), J = detF.

(26)
(27)
(28)

Q: What can we infer about the parameters inside the domain, just from displacement observations on the

outside?

Q: Which parameters am I most uncertain about?

(29)

x map

(30)

Optimal low-rank updates

Γ prior y Γ posterior

Critical idea: Observations are only informative on a low-dimensional subspace of the parameter

space, relative to the prior. Spantini et al. (arXiV)

d F 2 (A, B ) =

i

ln 2 ( i ) Aw = B w

Förstner metric

(31)

Matrix-free Krylov-Schur (SLEPc).

(32)
(33)

Matches trends from Flath et al. p424 for linear parameter to observable maps.

Γ prior

Γ post

(34)

Trailing Eigenvector

Direction in parameter space least constrained by the

observations

(35)
(36)
(37)

Leading Eigenvectors

Direction in parameter space most constrained by the

observations

(38)
(39)
(40)
(41)

41

Full Hessian.

4000+ actions.

Low-rank update.

292 actions.

Huge savings in computational cost.

Scales with model dimension because observations

stay the same.

(42)

Summary

• We are developing methods to assess uncertainty in the recovered parameters in soft tissue.

• This is done within the framework of Bayesian inversion.

• FEniCS and dolfin-adjoint makes assembling the equations relatively easy, solving them is tougher!

• Next steps: exploring non-Gaussian nature of posterior using Hamiltonian MCMC. Requires derivatives.

• Paper soon on arXiv: infinite-dimensional setting, full

Références

Documents relatifs

The study of Yoshida’s narrative reveals connec- tions between the management of the accident and the concept of engineering thinking in emergency situations. Some of

Figure 15: Time series of 10-day mean surface (a) net SW and LW fluxes (black curves), note that the lower solid line corresponds to ‘ - LW net ‘, so that the the grey shaded

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

Not all the books received can be reviewed, although reviews of some of these books may appear in future issues.. We wish to thank all of the publishers who have sent us

Les comparateurs sont les plus importants circuits analogiques dans le domaine de conception des circuits intégrés après les amplificateurs opérationnel[40-41],

To enlarge the statistics of long fission events, one should have a very large fission barrier at the beginning of the chain to compensate the damping, and have a fission barrier

Given displacement observations on the surface of a block of soft tissue, possibly containing a stiff tumor, what can we infer about the material.. parameters of the

Q: What can we infer about the parameters inside the domain, just from displacement observations on