Docsity

Inverse Methods Based on Length - Study Materials | GEOS 567, Study notes of Geology

Toggle sidebar
bg1
Geosciences 567: CHAPTER 3 (RMR/GZ)
31
CHAPTER 3: INVERSE METHODS BASED ON LENGTH
3.1 Introduction
This chapter is concerned with inverse methods based on the length of various vectors
that arise in a typical problem. The two most common vectors concerned are the data-error or
misfit vector and the model parameter vector. Methods based on the first vector give rise to
classic least squares solutions. Methods based on the second vector give rise to what are known
as minimum length solutions. Improvements over simple least squares and minimum length
solutions include the use of information about noise in the data and a priori information about
the model parameters, and are known as weighted least squares or weighted minimum length
solutions, respectively. This chapter will end with material on how to handle constraints and on
variances of the estimated model parameters.
3.2 Data Error and Model Parameter Vectors
The data error and model parameter vectors will play an essential role in the development
of inverse methods. They are given by
data error vector = e = d
obs
– d
pre
(3.1)
and
model parameter vector = m (3.2)
The dimension of the error vector e is N × 1, while the dimension of the model parameter vector
is M × 1, respectively. In order to utilize these vectors, we next consider the notion of the size, or
length, of vectors.
3.3 Measures of Length
The norm of a vector is a measure of its size, or length. There are many possible
definitions for norms. We are most familiar with the Cartesian (L
2
) norm. Some examples of
norms follow:
∑
=
=
N
i
i
eL
1
1
(3.3)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download Inverse Methods Based on Length - Study Materials | GEOS 567 and more Study notes Geology in PDF only on Docsity!

CHAPTER 3: INVERSE METHODS BASED ON LENGTH

3.1 Introduction

This chapter is concerned with inverse methods based on the length of various vectors that arise in a typical problem. The two most common vectors concerned are the data-error or misfit vector and the model parameter vector. Methods based on the first vector give rise to classic least squares solutions. Methods based on the second vector give rise to what are known as minimum length solutions. Improvements over simple least squares and minimum length solutions include the use of information about noise in the data and a priori information about the model parameters, and are known as weighted least squares or weighted minimum length solutions, respectively. This chapter will end with material on how to handle constraints and on variances of the estimated model parameters.

3.2 Data Error and Model Parameter Vectors

The data error and model parameter vectors will play an essential role in the development of inverse methods. They are given by

data error vector = e = d obs^ ñ d pre^ (3.1)

and

model parameter vector = m (3.2)

The dimension of the error vector e is N × 1, while the dimension of the model parameter vector is M × 1, respectively. In order to utilize these vectors, we next consider the notion of the size, or length, of vectors.

3.3 Measures of Length

The norm of a vector is a measure of its size, or length. There are many possible definitions for norms. We are most familiar with the Cartesian ( L 2 ) norm. Some examples of norms follow:

∑

N

i

L ei 1

1 / 2

1

2 (^2)  

= (^) ∑

N

i

L ei

M

N^ M

i

M LM ei

1 /

1

= (^) ∑

and finally,

L ∞ = max i e (^) i (3.6)

Important Notice! Inverse methods based on different norms can, and often do, give different answers!

The reason is that different norms give different weight to ìoutliers.î For example, the L ∞ norm gives all the weight to the largest misfit. Low-order norms give more equal weight to

errors of different sizes.

The L 2 norm gives the familiar Cartesian length of a vector. Consider the total misfit E

between observed and predicted data. It has units of length squared and can be found either as the square of the L 2 norm of e , the error vector (Equation 3.1), or by noting that it is also

equivalent to the dot (or inner) product of e with itself, given by

∑

N

i

i

N

N e

e

e

e

E e e e 1

(^22)

1

1 2

T [ ]

M

e e L (3.7)

Inverse methods based on the L 2 norm are also closely tied to the notion that errors in the

data have Gaussian statistics. They give considerable weight to large errors, which would be considered ìunlikelyî if, in fact, the errors were distributed in a Gaussian fashion.

Now that we have a way to quantify the misfit between predicted and observed data, we are ready to define a procedure for estimating the value of the elements in m. The procedure is to take the partial derivative of E with respect to each element in m and set the resulting equations to zero. This will produce a system of M equations that can be manipulated in such a way that, in general, leads to a solution for the M elements of m.

The next section will show how this is done for the least squares problem of finding a best fit straight line to a set of data points.

d = G m (1.13) ( N × 1) ( N × 2) (2 × 1)

The total misfit E is given by

= T = ∑ [ obs− pre]^2

N

i

E e e di di

= ∑ [ obs− ( 1 + 2 )]^2

N

i

d (^) i m mzi

Dropping the ìobsî in the notation for the observed data, we have

=∑ [^ − − + + + ]

N

i

E di dim dimzi mmzi m mzi 2 2 2

2 1 2 1 2 1

Then, taking the partials of E with respect to m 1 and m 2 , respectively, and setting them to zero yields the following equations:

∂ E

∂ m 1

= 2 Nm 1 − 2 d (^) i i = 1

N ∑ +^2 m 2 z^ i i = 1

N ∑ =^0 (3.13)

and

1

2 2 1

1 2 1

= −∑ + ∑ + ∑ = = = =

N

i

i

N

i

i

N

i m di^ zi m z m z

E

Rewriting Equations (3.13) and (3.14) above yields

  • (^) ∑ = ∑ i

i i

Nm (^) 1 m 2 zi d

and

∑ +^ ∑ = ∑ i

i i i

i i

m zi m z dz 2 1 2

Combining the two equations in matrix notation in the form Am = b yields

^ =

i i

i i i

i dz

d m

m z z

N z 2

1 2 (3.17)

or simply

A m = b (3.18) (2 × 2) (2 × 1) (2 × 1)

Note that by the above procedure we have reduced the problem from one with N equations in two unknowns ( m 1 and m 2 ) in Gm = d to one with two equations in the same two unknowns in Am =

b.

The matrix equation Am = b can also be rewritten in terms of the original G and d when one notices that the matrix A can be factored as

2 G T G

1

1 2

2

1

^ =

N

i i N

i

z

z

z

z z z z z

N z L M M

L

(2 × 2) (2 × N ) ( N × 2) (2 × 2)

Also, b above can be rewritten similarly as

(^2) G T d

1

1 2

^ =

N

i i N

i

d

d

d

dz z z z

d L M

L

Thus, substituting Equations (3.19) and (3.20) into Equation (3.17), one arrives at the so-called normal equations for the least squares problem:

G T Gm = G T d (3.21)

The least squares solution m LS is then found as

m LS = [ G T G ]ñ1^ G T d (3.22)

assuming that [ G T G ]ñ1^ exists.

In summary, we used the forward problem (Equation 3.9) to give us an explicit relationship between the model parameters ( m 1 and m 2 ) and a measure of the misfit to the

observed data, E. Then, we minimized E by taking the partial derivatives of the misfit function with respect to the unknown model parameters, setting the partials to zero, and solving for the model parameters.

To see this clearly, we rearrange the order of terms in the first sum as follows:

k q

M

k

qk

M

k

mk [ ] qk [ ] m [ ] T = 1

T 1

G T^ G = G G = G Gm ∑ ∑ =

which is the q th entry in G T Gm. Note that G T Gm has dimension ( M × N )( N × M )( M × 1) = ( M × 1). That is, it is an M -dimensional vector.

In a similar fashion, the second summation on i can be reduced to a term in [ G T d ] q , the q th entry in an ( M × N )( N × 1) = ( M × 1) dimensional vector. Thus, for the q th equation, we have

q q mq

E

0 = = 2 [ G T^ Gm ] − 2 [ G T d ]

Dropping the common factor of 2 and combining the q equations into matrix notation, we arrive at

G T Gm = G T d (3.30)

The least squares solution for m is thus given by

m LS = [ G T G ]ñ1 G T d (3.31)

The least squares operator, G LSñ1^ , is thus given by

G LSñ1^ = [ G T G ]ñ1 G T^ (3.32)

Recalling basic calculus, we note that m LS above is the solution that minimizes E , the total misfit. Summarizing, setting the q partial derivatives of E with respect to the elements in m to zero leads to the least squares solution.

We have just derived the least squares solution by taking the partial derivatives of E with respect to m (^) q and then combining the terms for q = 1, 2,.. ., M. An alternative, but equivalent,

formulation begins with Equation (3.2) but is written out as

E = [ d ñ Gm ]T^ [ d ñ Gm ] (3.23)

= [ d T^ ñ m T G T^ ][ d ñ Gm ]

= d T d ñ d T Gm ñ m T G T d + m T G T Gm (3.33)

Then, taking the partial derivative of E with respect to m T^ turns out to be equivalent to what was done in Equations (3.25)ñ(3.30) for m (^) q , namely

∂ E /∂ m T^ = ñ G T d + G T Gm = 0 (3.34)

which leads to

G T Gm = G T d (3.30)

and m LS = [ G T G ]ñ1 G T d (3.31)

It is also perhaps interesting to note that we could have obtained the same solution without taking partials. To see this, consider the following four steps.

Step 1. We begin with

Gm = d (1.13)

Step 2. We then premultiply both sides by G T

G T Gm = G T d (3.30)

Step 3. Premultiply both sides by [ G T G ]ñ

[ G T G ]ñ1 G T Gm = [ G T G ]ñ1 G T d (3.35)

Step 4. This reduces to

m LS = [ G T G ]ñ1 G T d (3.31)

as before. The point is, however, that this way does not show why m LS is the solution which minimizes E , the misfit between the observed and predicted data.

All of this assumes that [ G T G ]ñ1^ exists, of course. We will return to the existence and properties of [ G T G ]ñ1^ later. Next, we will look at two examples of least squares problems to show a striking similarity that is not obvious at first glance.

3.4.3 Two Examples of Least Squares Problems

Example 1. Best-Fit Straight-Line Problem

We have, of course, already derived the solution for this problem in the last section. Briefly, then, for the system of equations

3

2

1

2

2

2 (^111)

m

m

m

z z

z z

z z

d

d

d

N N

i i

N

i M M M

M M M

M

M

and

2

T 2 3 4

2 3

2 T (^) ,

i i

i i

i

i i i

i i i

i i

dz

dz

d

z z z

z z z

N z z G G G d (3.41)

As before, we form the least squares solution as

m LS = [ G T G ]ñ1 G T d (3.31)

Although the forward problems of predicting data for the straight line and parabolic cases look very different, the least squares solution is formed in a way that emphasizes the fundamental similarity between the two problems. For example, notice how the straight-line problem is buried within the parabola problem. The upper left hand 2 × 2 part of G T G in Equation (3.41) is the same as Equation (3.36). Also, the first two entries in G T d in Equation (3.41) are the same as Equation (3.37).

Next we consider a four-parameter example.

3.4.4 Four-Parameter Tomography Problem

Finally, let's consider a four-parameter problem, but this one based on the concept of tomography.

S (^) R

1 2

(^3 )

t t

t

t

1

2

3 4

1 2 1 2

1 hs s v

h v

t h = + 

^ +

3 4 3 4

2 hs s v

h v

t h = + 

^ +

1 3 1 3

3 hs s v

h v

t h = + 

^ +

2 4 2 4

4 hs s v

h v

t h = + 

^ +

4

3

2

1

4

3

2

1

s

s

s

s

h

t

t

t

t

or d = Gm (1.13)

G T^ G h^2 h^2 (3.44)

2 4

2 3

1 4

1 3 T

t t

t t

t t

t t

G d h (3.45)

So, the normal equations are

G T Gm = G T d (3.21)

2 4

2 3

1 4

1 3

4

3

2

1

t t

t t

t t

t t

s

s

s

s

h (^) (3.46)

or

2 4

2 3

1 4

1 3

1 2 3 4

2

t t

t t

t t

t t

h s s s s (3.47)

Example: s 1 = s 2 = s 3 = s 4 = 1, h = 1; then t 1 = t 2 = t 3 = t 4 = 2

By inspection, s 1 = s 2 = s 3 = s 4 = 1 is a solution, but so is s 1 = s 4 = 2, s 2 = s 3 =0, or s 1 = s 4 = 0, s 2 = s 3 = 2.

Now, let us introduce Menkeís nomenclature based on the nature of G T G and on the prediction error. In all cases, the number of model parameters is M and the number of observations is N.

3.5.2 Even-Determined Problems: M = N

If a solution exists, it is unique. The prediction error [ d obs^ ñ d pre] is identically zero. For example,

^ =

2

1 5 ñ 1

m

m (3.48)

for which the solution is m = [1, 3]T^.

3.5.3 Overdetermined Problems: Typically, N > M

With more observations than unknowns, typically one cannot fit all the data exactly. The least squares problem falls in this category. Consider the following example:

2

1

3 1

m

m (3.49)

This overdetermined case consists of adding one equation to Equation (3.48) in the previous example. The least squares solution is [1.333, 4.833]T^. The data can no longer be fit exactly.

3.5.4 Underdetermined Problems: Typically, M > N

With more unknowns than observations, m has no unique solution. A special case of the underdetermined problem occurs when you can fit the data exactly, which is called the purely underdetermined case. The prediction error for the purely underdetermined case is exactly zero (i.e., the data can be fit exactly). An example of such a problem is

[ ] [ ] (^)  

2

m

m (3.50)

Possible solutions include [0, 1] T^ , [0.5, 0]T^ , [5, ñ9]T^ , [1/3, 1/3]T^ and [0.4, 0.2]T^. The solution with the minimum length, in the L 2 norm sense, is [0.4, 0.2]T^.

The following example, however, is also underdetermined, but no choice of m 1 , m 2 , m 3

will produce zero prediction error. Thus, it is not purely underdetermined.

^ =

3

2

1

2 4 2

m

m

m (3.51)

(You might want to verify the above examples. Can you think of others?)

Although I have stated that overdetermined (underdetermined) problems typically have N > M ( N < M ), it is important to realize that this is not always the case. Consider the following:

3

2

1

m

m

m (3.52)

For this problem, m 1 is overdetermined , (that is, no choice of m 1 can exactly fit both d 1 and d 2 unless d 1 happens to equal d 2 ), while at the same time m 2 and m 3 are underdetermined. This is the case even though there are two equations (i.e., the last two) in only two unknowns ( m 2 , m 3 ). The two equations, however, are not independent, since two times the next to last row in G equals the last row. Thus this problem is both overdetermined and underdetermined at the same time.

For this reason, I am not very satisfied with Menkeís nomenclature. As we will see later, when we deal with vector spaces, the key will be the single values (much like eigenvalues) and associated eigenvectors for the matrix G.

3.6 Minimum Length Solution

The minimum length solution arises from the purely underdetermined case ( N < M , and can fit the data exactly). In this section, we will develop the minimum length operator, using Lagrange multipliers and borrowing on the basic ideas of minimizing the length of a vector introduced in Section 3.4 on least squares.

3.6.1 Background Information

We begin with two pieces of information:

  1. First, [ G T G ]ñ1^ does not exist. Therefore, we cannot calculate the least squares solution m LS = [ G T G ]ñ1 G T d.

Step 1. At the minimum in E , small changes in x and y lead to no change in E :

minimum

E

x

E ( x , ( y = constant))

∴ = + dy = 0 y

E

dx x

E

dE

Step 2. The constraint equation, however, says that dx and dy cannot be varied independently

(since the constraint equation is independent, or different, from E ). Since φ( x , y ) = 0 for

all x , y , then so must d φ( x , y ) = 0. But,

= + dy = 0 y

dx x

d

Step 3. Form the weighted sum of (3.53) and (3.54) as

 =^0

  • = + dy y y

E

dx x x

E

dE d

where λ is a constant. Note that (3.55) holds for arbitrary λ.

Step 4. If λ is chosen, however, in such a way that

x x

E

then it follows that

y y

E

since at least one of dx , dy (in this case, dy ) is arbitrary (i.e., dy may be chosen nonzero).

When λ has been chosen as indicated above, it is called the Lagrange multiplier.

Therefore, (3.55) above is equivalent to minimizing E + λφ without any constraints, i.e.,

( + ) = + = 0 x x

E

E

x ∂

and

( + ) = + = 0 y y

E

E

y ∂

Step 5. Finally, one must still solve the constraint equation

φ( x , y ) = 0 (3.60)

Thus, the solution for ( x , y ) that minimizes E subject to the constraint that φ ( x , y ) = 0 is

given by (3.58), (3.59), and (3.60).

That is, the problem has reduced to the following three equations:

x x

E

y y

E

and

φ ( x , y ) = 0 (3.60)

in the three unknowns ( x , y , λ).

Extending the Problem to M Unknowns and N Constraints

The above procedure, used for a problem with two variables and one constraint, can be

generalized to M unknowns in a vector m subject to N constraints φ i ( m ) = 0, j = 1,... , N. This

leads to the following system of M equations, i = 1,... , M :

1

  • (^) ∑ = = (^) i

N j

j

j mi m

E

with N constraints of the form

φ j ( m ) = 0 (3.62)

where λλλλ is an N × 1 vector containing the N Lagrange Multipliers λ i , i = 1,... , N. Note that G Tλλλλ

has dimension ( M × N ) x ( N × 1) = M × 1, as required to be able to subtract it from m.

Now, solving explicitly for m yields

m = 12 G Tλλλλ (3.70)

The constraints in this case are that the data be fit exactly. That is,

d = Gm (1.13)

Substituting (3.70) into (1.13) gives

d = Gm = G (^12 G Tλλλλ) (3.71)

which implies

d = 12 GG Tλλλλ (3.72)

where GG T^ has dimension ( N × M ) × ( M × N ), or simply N × N. Solving for λλλλ, when [ GG T^ ]ñ exists, yields

λλλλ = 2[ GG T^ ]ñ1 d (3.73) The Lagrange Multipliers are not ends in and of themselves. But, upon substitution of Equation (3.73) into (3.70), we obtain

m = 12 G T^ λ = 12 G T^ {2[ GG T^ ]ñ1^ } d (3.9)

Rearranging, we arrive at the minimum length solution , m ML :

m ML = G T^ [ GG T^ ]ñ1 d (3.74)

where GG T^ is an N × N matrix and the minimum length operator, G MLñ1^ , is given by

G MLñ1^ = G T^ [ GG T^ ]ñ1^ (3.75)

The above procedure, then, is one that determines the solution which has the minimum length ( L 2 norm = [ m T m ]1/2^ ) amongst the infinite number of solutions that fit the data exactly. In practice, one does not actually calculate the values of the Lagrange multipliers, but goes directly to (3.74) above.

The above derivation shows that the length of m is minimized by the minimum length operator. It may make more sense to seek a solution that deviates as little as possible from some prior estimate of the solution, < m >, rather than from zero. The zero vector is, in fact, the prior

estimate < m > for the minimum length solution given in Equation (3.74). If we wish to explicitly include < m >, then Equation (3.74) becomes

m ML = < m > + G T^ [ GG T^ ]ñ1^ [ d ñ G < m >]

= < m > + G MLñ1^ [ d ñ G < m >] = G MLñ1^ d + [ I ñ G MLñ1^ G ]< m> (3.76)

We note immediately that Equation (3.76) reduces to Equation (3.74) when < m > = 0.

3.6.4 Comparison of Least Squares and Minimum Length Solutions

In closing this section, it is instructive to note the similarity in form between the minimum length and least squares solutions:

Least Squares: m LS = [ G T G ]ñ1 G T d (3.31)

with G LSñ1^ = [ G T G ]ñ1 G T^ (3.32)

Minimum Length: m ML = < m > + G T^ [ GG T^ ]ñ1^ [ d ñ G < m >] (3.76)

with G MLñ1^ = G T^ [ GG T^ ]ñ1^ (3.75) The minimum length solution exists when [ GG T^ ]ñ1^ exists. Since GG T^ is N × N , this is the same as saying when GG T^ has rank N. That is, when the N rows (or N columns) are independent. In this case, your ability to ìpredictî or ìcalculateî each of the N observations is independent.

3.6.5 Example of Minimum Length Problem

Recall the four-parameter, four-observation tomography problem we introduced in Section 3.4.4. At that time, we noted that the least squares solution did not exist because [ G T G ]^1 does not exist, since G does not contain enough information to solve for 4 model parameters. In the same way, G does not contain enough information to fit an arbitrary 4 observations, and [ GG T^ ]ñ1^ does not exist either for this example. The basic problem is that the four paths through the structure do not provide independent information. However, if we eliminate any one observation (letís say the fourth), then we reduce the problem to one where the minimum length solution exists. In this new case, we have three observations and four unknown model parameters, and hence N < M. G , which still has enough information to determine three observations uniquely, is now given by

G (3.77)