lecture 11 vector spaces and singular value decomposition

60
Lecture 11 Vector Spaces and Singular Value Decomposition

Upload: arty

Post on 23-Feb-2016

65 views

Category:

Documents


0 download

DESCRIPTION

Lecture 11 Vector Spaces and Singular Value Decomposition. Syllabus. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Lecture 11  Vector Spaces and Singular Value Decomposition

Lecture 11

Vector Spacesand

Singular Value Decomposition

Page 2: Lecture 11  Vector Spaces and Singular Value Decomposition

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, Empirical 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 11  Vector Spaces and Singular Value Decomposition

Purpose of the Lecture

View m and d as points in thespace of model parameters and data

Develop the idea of transformations of coordinate axes

Show how transformations can be used to convert a weighted problem into an unweighted one

Introduce the Natural Solution and the Singular Value Decomposition

Page 4: Lecture 11  Vector Spaces and Singular Value Decomposition

Part 1

the spaces ofmodel parameters

anddata

Page 5: Lecture 11  Vector Spaces and Singular Value Decomposition

what is a vector?

algebraic viewpointa vector is a quantity that is manipulated

(especially, multiplied)via a specific set of rules

geometric viewpointa vector is a direction and length

in space

Page 6: Lecture 11  Vector Spaces and Singular Value Decomposition

what is a vector?

algebraic viewpointa vector is a quantity that is manipulated

(especially, multiplied)via a specific set of rules

geometric viewpointa vector is a direction and length

in space

column-

in our case, a space of very high dimension

Page 7: Lecture 11  Vector Spaces and Singular Value Decomposition

S(m)m3

m2 m1 d1

d2d3

S(d)m d

Page 8: Lecture 11  Vector Spaces and Singular Value Decomposition

forward problem

d = Gmmaps an m onto a d

maps a point in S(m) to a point in S(d)

Page 9: Lecture 11  Vector Spaces and Singular Value Decomposition

m3

m2 m1 d1

d2d3m d

Forward Problem: Maps S(m) onto S(d)

Page 10: Lecture 11  Vector Spaces and Singular Value Decomposition

inverse problem

m = G-gdmaps a d onto an m

maps a point in S(m) to a point in S(d)

Page 11: Lecture 11  Vector Spaces and Singular Value Decomposition

m3

m2 m1 d1

d2d3m d

Inverse Problem: Maps S(d) onto S(m)

Page 12: Lecture 11  Vector Spaces and Singular Value Decomposition

Part 2

Transformations of coordinate axes

Page 13: Lecture 11  Vector Spaces and Singular Value Decomposition

coordinate axes are arbitrary

given M linearly-independentbasis vectors m(i)

we can write any vector m* as ...

Page 14: Lecture 11  Vector Spaces and Singular Value Decomposition

span space

m3

m2 m1m2

dm3

m1

m2

don’t span space

Page 15: Lecture 11  Vector Spaces and Singular Value Decomposition

... as a linear combination of these basis vectors

Page 16: Lecture 11  Vector Spaces and Singular Value Decomposition

... as a linear combination of these basis vectors

components of m* in new coordinate system

mi*’ = αi

Page 17: Lecture 11  Vector Spaces and Singular Value Decomposition

might it be fair to saythat the components of a vector

are a column-vector?

Page 18: Lecture 11  Vector Spaces and Singular Value Decomposition

matrix formed from basis vectorsMij = vj(i)

Page 19: Lecture 11  Vector Spaces and Singular Value Decomposition

transformation matrix T

Page 20: Lecture 11  Vector Spaces and Singular Value Decomposition

transformation matrix T

same vectordifferent components

Page 21: Lecture 11  Vector Spaces and Singular Value Decomposition

Q: does T preserve “length” ?(in the sense that mTm = m’Tm’)

A: only when TT= T-1

Page 22: Lecture 11  Vector Spaces and Singular Value Decomposition

transformation of the model space axes

d = Gm = GIm = [GTm-1] [Tmm] = G’m’d = Gmd = G’m’ same equation

different coordinate system for m

Page 23: Lecture 11  Vector Spaces and Singular Value Decomposition

transformation of the data space axes

d’ = Tdd = [TdG] m = G’’md = Gmd’ = G’’m same equation

different coordinate system for d

Page 24: Lecture 11  Vector Spaces and Singular Value Decomposition

transformation of both data space and model space axes

d’ = Tdd = [TdGTm-1] [Tmm] = G’’’m’d = Gmd’ = G’’’m’ same equation

different coordinate systems for d and m

Page 25: Lecture 11  Vector Spaces and Singular Value Decomposition

Part 3

how transformations can be used to convert a weighted problem into

an unweighted one

Page 26: Lecture 11  Vector Spaces and Singular Value Decomposition

when are transformations useful ?

remember this?

Page 27: Lecture 11  Vector Spaces and Singular Value Decomposition

when are transformations useful ?

remember this?

massage this into a pair of transformations

Page 28: Lecture 11  Vector Spaces and Singular Value Decomposition

mTWmmWm=DTD or Wm=Wm½Wm½=Wm T½ Wm½

OK since Wm symmetric

mTWmm = mTDTDm = [Dm] T[Dm] Tm

Page 29: Lecture 11  Vector Spaces and Singular Value Decomposition

when are transformations useful ?

remember this?

massage this into a pair of transformations

Page 30: Lecture 11  Vector Spaces and Singular Value Decomposition

eTWeeWe=We½We½=We T½ We½

OK since We symmetric

eTWee = eTWe T½ We½e = [We½m] T[We½m] Td

Page 31: Lecture 11  Vector Spaces and Singular Value Decomposition

we have converted weighted least-squares

minimize: E’ + L’ = e’Te’ +m’Tm’ into unweighted least-squares

Page 32: Lecture 11  Vector Spaces and Singular Value Decomposition

steps

1: Compute Transformations Tm=D=Wm½ and Te=We½

2: Transform data kernel and data to new coordinate system G’’’=[TeGTm-1] and d’=Ted3: solve G’’’ m’ = d’ for m’ using unweighted method

4: Transform m’ back to original coordinate system m=Tm-1m’

Page 33: Lecture 11  Vector Spaces and Singular Value Decomposition

steps

1: Compute Transformations Tm=D=Wm½ and Te=We½

2: Transform data kernel and data to new coordinate system G’’’=[TeGTm-1] and d’=Ted3: solve G’’’ m’ = d’ for m’ using unweighted method

4: Transform m’ back to original coordinate system m=Tm-1m’

extra work

Page 34: Lecture 11  Vector Spaces and Singular Value Decomposition

steps

1: Compute Transformations Tm=D=Wm½ and Te=We½

2: Transform data kernel and data to new coordinate system G’’’=[TeGTm-1] and d’=Ted3: solve G’’’ m’ = d’ for m’ using unweighted method

4: Transform m’ back to original coordinate system m=Tm-1m’

to allow simpler solution method

Page 35: Lecture 11  Vector Spaces and Singular Value Decomposition

Part 4

The Natural Solution and the Singular Value Decomposition

(SVD)

Page 36: Lecture 11  Vector Spaces and Singular Value Decomposition

Gm = d

suppose that we could divide up the problem like this ...

Page 37: Lecture 11  Vector Spaces and Singular Value Decomposition

Gm = d

only mp can affect dsince Gm0 =0

Page 38: Lecture 11  Vector Spaces and Singular Value Decomposition

Gm = d

Gmp can only affect dpsince no m can lead

to a d0

Page 39: Lecture 11  Vector Spaces and Singular Value Decomposition
Page 40: Lecture 11  Vector Spaces and Singular Value Decomposition

determined by data

determined by a priori information

determined by mp not possible to reduce

Page 41: Lecture 11  Vector Spaces and Singular Value Decomposition

natural solution

determine mp by solving dp-Gmp=0set m0=0

Page 42: Lecture 11  Vector Spaces and Singular Value Decomposition

what we need is a way to do

Gm = d

Page 43: Lecture 11  Vector Spaces and Singular Value Decomposition

Singular Value Decomposition (SVD)

Page 44: Lecture 11  Vector Spaces and Singular Value Decomposition

singular value decomposition

UTU=I and VTV=I

Page 45: Lecture 11  Vector Spaces and Singular Value Decomposition

suppose only p λ’s are non-zero

Page 46: Lecture 11  Vector Spaces and Singular Value Decomposition

suppose only p λ’s are non-zero

only first p columns of U

only first p columns of V

Page 47: Lecture 11  Vector Spaces and Singular Value Decomposition

UpTUp=I and Vp

TVp=Isince vectors mutually pependicular and

of unit length

UpUpT≠I and VpVp

T≠Isince vectors do not span entire space

Page 48: Lecture 11  Vector Spaces and Singular Value Decomposition

The part of m that lies in V0 cannot effect d

since VpTV0=0so V0 is the model null space

Page 49: Lecture 11  Vector Spaces and Singular Value Decomposition

The part of d that lies in U0 cannot be affected by m

since ΛpVpTm is multiplied by Upand U0 UpT =0

so U0 is the data null space

Page 50: Lecture 11  Vector Spaces and Singular Value Decomposition

The Natural Solution

Page 51: Lecture 11  Vector Spaces and Singular Value Decomposition

The part of mest in V0 has zero length

Page 52: Lecture 11  Vector Spaces and Singular Value Decomposition

The error has no component in Up

Page 53: Lecture 11  Vector Spaces and Singular Value Decomposition

computing the SVD

Page 54: Lecture 11  Vector Spaces and Singular Value Decomposition

determining puse plot of λi vs. i

however

case of a clear division betweenλi>0 and λi=0 rare

Page 55: Lecture 11  Vector Spaces and Singular Value Decomposition

2 4 6 8 10 12 14 16 18 200

1

2

3

4

iS

i

2 4 6 8 10 12 14 16 18 200

0.5

1

1.5

2

2.5

i

Si

(A) (B)

(C) (D)

ji

ji

index number, iλi

λi

index number, iλi

p

p?

Page 56: Lecture 11  Vector Spaces and Singular Value Decomposition

Natural Solution

Page 57: Lecture 11  Vector Spaces and Singular Value Decomposition

=

(A) (B)

G m dobs mtrue (mest)N(mest)DML

Page 58: Lecture 11  Vector Spaces and Singular Value Decomposition

resolution and covariance

Page 59: Lecture 11  Vector Spaces and Singular Value Decomposition

resolution and covariance

large covariance if any λp are small

Page 60: Lecture 11  Vector Spaces and Singular Value Decomposition

Is the Natural Solution the best solution?

Why restrict a priori information to the null space

when the data are known to be in error?

A solution that has slightly worse error but fits the a priori information better might be preferred ...