44
Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Embed Size (px)

Citation preview

Page 1: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Lecture 7

Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and

Variance

Page 2: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

SyllabusLecture 01 Describing Inverse ProblemsLecture 02 Probability and Measurement Error, Part 1Lecture 03 Probability and Measurement Error, Part 2 Lecture 04 The L2 Norm and Simple Least SquaresLecture 05 A Priori Information and Weighted Least SquaredLecture 06 Resolution and Generalized InversesLecture 07 Backus-Gilbert Inverse and the Trade Off of Resolution and VarianceLecture 08 The Principle of Maximum LikelihoodLecture 09 Inexact TheoriesLecture 10 Nonuniqueness and Localized AveragesLecture 11 Vector Spaces and Singular Value DecompositionLecture 12 Equality and Inequality ConstraintsLecture 13 L1 , L∞ Norm Problems and Linear ProgrammingLecture 14 Nonlinear Problems: Grid and Monte Carlo Searches Lecture 15 Nonlinear Problems: Newton’s Method Lecture 16 Nonlinear Problems: Simulated Annealing and Bootstrap Confidence Intervals Lecture 17 Factor AnalysisLecture 18 Varimax Factors, Empircal Orthogonal FunctionsLecture 19 Backus-Gilbert Theory for Continuous Problems; Radon’s ProblemLecture 20 Linear Operators and Their AdjointsLecture 21 Fréchet DerivativesLecture 22 Exemplary Inverse Problems, incl. Filter DesignLecture 23 Exemplary Inverse Problems, incl. Earthquake LocationLecture 24 Exemplary Inverse Problems, incl. Vibrational Problems

Page 3: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Purpose of the Lecture

Introduce a new way to quantify the spread of resolution

Find the Generalized Inverse that minimizes this spread

Include minimization of the size of variance

Discuss how resolution and variance trade off

Page 4: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Part 1

A new way to quantify thespread of resolution

Page 5: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

criticism of Direchlet spread() functions

when m represents m(x)is that they don’t capture the sense of

“being localized” very well

Page 6: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

These two rows of the model resolution matrix have the same Direchlet spread …

Rij Rijindex, j index, ji i… but the left case is better “localized”

Page 7: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

old way

new way

Page 8: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

old way

new way

add this function

Page 9: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

old way

new wayBackus-Gilbert

Spread Function

Page 10: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

grows with physical distance between model

parameters

zero when i=j

Page 11: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

if w(i,i)=0 then

Page 12: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

for one spatial dimensionm is discretized version of m(x)m = [m(Δx), m(2 Δx), … m(M Δx) ]T

w(i,j) = (i-j)2 would work fine

Page 13: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

for two spatial dimensionm is discretized version of m(x,y)on K⨉L grid

m = [m(x1, y1), m(x1, y2), … m(xK, yL) ]Tw(i,j) = (xi-xj) 2 + (yi-yj) 2

would work fine

Page 14: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Part 2

Constructing a Generalized Inverse

Page 15: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

under-determined problem

find G-g that minimizes spread(R)

Page 16: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

under-determined problem

find G-g that minimizes spread(R)with the constraint

Page 17: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

under-determined problem

find G-g that minimizes spread(R)with the constraint

(since Rii is not constrained by

spread function)

Page 18: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

once again, solve for each row of G-g separately

spread of kth row of resolution matrix R

with

symmetric in i,j

Page 19: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

for the constraint

with

[1]k=

Page 20: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Lagrange Multiplier Equation

now set ∂Φ/∂G-gkp

+

Page 21: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

S g(k) – λu = 0with g(k)T the kth row of G-g

solve simultaneously withuT g(k) = 1

Page 22: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

putting the two equations together

Page 23: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

construct inverse

A, b, c unknown

Page 24: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

construct inverse

so

Page 25: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

=g(k) =g(k)T = uT

kth row of G-g

Page 26: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Backus-Gilbert Generalized Inverse(analogous to Minimum Length Generalized Inverse)

written in terms of components

with

Page 27: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

=

=

i

j

j

i0 2 4 6 8 10

-0.2

0

0.2

0.4

0.6

0.8

z

m

0 2 4 6 8 10-0.2

0

0.2

0.4

0.6

0.8

z

m

(A) (B)

(C) (D)

Page 28: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Part 3

Include minimization of the size of variance

Page 29: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

minimize

Page 30: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

new version of Jk

Page 31: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

with

Page 32: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

with

same

Page 33: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

so adding size of varianceis just a small modification to S

Page 34: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Backus-Gilbert Generalized Inverse(analogous to Damped Minimum Length)

written in terms of components

with

Page 35: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

In MatLab

GMG = zeros(M,N);

u = G*ones(M,1);

for k = [1:M]

S = G * diag(([1:M]-k).^2) * G';

Sp = alpha*S + (1-alpha)*eye(N,N);

uSpinv = u'/Sp;

GMG(k,:) = uSpinv / (uSpinv*u);

end

Page 36: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

$20 Reward!

to the first person who sends me MatLab code that computes the BG generalized

inverse without a for loop

(but no creation of huge 3-indexed quantities, please. Memory requirements

need to be similar to my code)

Page 37: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

The Direchlet analog of the

Backus-Gilbert Generalized Inverse

is the

Damped Minimum LengthGeneralized Inverse

Page 38: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

0

special case #2

1 ε2

G-g[GGT+ε2I] =GTG-g=GT [GGT+ε2I]-1

I

damped minimum length

Page 39: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

Part 4

the trade-off of resolution and variance

Page 40: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

the value ofa localized average with small spread

is controlled by few dataand so has large variance

the value ofa localized average with large spread

is controlled by many dataand so has small variance

Page 41: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

(A) (B)

Page 42: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

small spreadlarge variance

large spreadsmall variance

Page 43: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

α near 1small spread

large variance

α near 0 large spread

small variance

Page 44: Lecture 7 Backus-Gilbert Generalized Inverse and the Trade Off of Resolution and Variance

2 2.5 3 3.5

-2

0

2

4

log10 spread(R)

log1

0 si

ze(C

m)

90 95 100-3

-2

-1

0

1

2

3

4

spread(R)

size

(Cm

)

(A) (B)

α=0

α=1

α=½

α=0

α=1

α=½

log10 spread of model resolution spread of model resolution

log 10

siz

e of

cov

aria

nce

log 10

siz

e of

cov

aria

nce

Trade-Off Curves