• Keine Ergebnisse gefunden

An Alternative Variational Principle for Variable Metric Updating

N/A
N/A
Protected

Academic year: 2022

Aktie "An Alternative Variational Principle for Variable Metric Updating"

Copied!
14
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

NOT FOR QUOTATION WITHOUT PERMISSION OF THE AUTHOR

AN ALTERNATIVE VARIATIONAL PRINCIPLE FOR VARIABLE METRIC UPDATING

Larry Nazareth

January 1983 WP-83-12

Working Papers are interim reports on work of the International Institute for Applied Systems Analysis and have received only limited review. Views or opinions expressed herein do not necessarily represent those of the Institute or of its National Member Organizations.

INTERNATIONAL INSTITUTE FOR APPLIED SYSTEMS ANALYSIS 2361 Laxenburg, Austria

(2)

We describe a variational principle based upon minimizing the extent to which the inverse hessian approximation, say H, violates the quasi- Newton relation, on the step immediately prior to the step used to con- struct H. It suggests use of the BFGS update.

(3)

AN ALTERNATIVE VARIATIONAL PRINCIPLE FOR VARIABLE METRIC UPDATING

Larry Nazareth

1. Introduction

The problem under consideration here is that of minimizing a n unconstrained function f ( z ) , z E R n , by means of a variable metric method. The original method of this type is due to Davidon, 1959, whose work was subsequently clarified and extended by Fletcher & Powell, 1963.

The method is thus popularly known as the DFP method.

Given an approximation B to the hessian of f ( z ) , a step 6 2 and the gradient 6 g correspondmg to this step, with 6 z T 6 g # 0, a new approxima- tion B + , which satisfies the quasi-Newton relation B + b z = 6 9 , is defined as follows:

B+ = ( I - p 6 g 6 z T ) ~ ( 1 - p 6 g 6 ~ T ) T

+

p 6 9 b g T where p = 1 / 6 g T 6 z . This is the DFP update.

(4)

If H = B - I , the new approximation H + = B+I to the inverse hessian obtained using the DFP update, satisfies H + 6 g = 6 z and is given by:

By interchanging 6 z and 6 9 and interchanging H and B in (1.1), we obtain the complementary DFP update, known popularly as the BFGS update. This is widely believed to be the most effective variable metric update, and is defined by:

The DFP and BFGS updates are both members of a single parameter family known as the Broyden class, Broyden, 19'70. There are a number of equivalent expressions for it. A convenient one is:

(1.3) where

@ is a real number, and p is defined as in (1.la). There is a corresponding expression for

Be.

In (1.3) we can think of

H!

as being obtained by adding to H suitable rank-l matrices composed from the vectors H 6 g and 6 2 , or equivalently from the vectors ( 6 2

-

~ b) and g bz. The significance of this remark is that when variable metric methods that use e z a c t line searches are

(5)

applied to a quadratic function, the vectors ( 6 2

-

H 6g ) and 6 2 a t t h e current iterate can be shown i o be conjugate to all previous steps. Thus

H!

has what is known a s the hereditary property i.e. it will satisfy t h e quasi-Newton relation on previous steps. (We assume that the reader is reasonably familiar with the terminology and literature on variable metric methods, see Murray, 1 9 7 2 . ) Similar statements can be m a d e about B!.

We shall use the notation of update functions, see Dennis & More, 1977, to write ( 1 . 2 a ) a s H + = u ~ ~ ( ~ z , ~ ~ , H ) and ( 1 . 3 ) a s H!

=

U p ( 6 z , 6 g .H ) . Similar expressions are used for the DFP update.

Also

H >

0 means H is positive definite, and u / / v means the vector u is parallel to the vector v

.

Given 6 z , & g with 6 ~

>

0 ~and H 6 = H ~ , ~ Dennis & More, 1 9 7 7 , show that the update H + = U m ( 6 z , 6 g , H ) is the minimum norm update i n the following sense

H + = argRmin [ (

J B -

H (

I

:

H

symmetric and R d g = 6 2 1 ( 1 . 5 ) where

I 1 . I

( W , is a weighted Frobenius norm defined for any square sym- ~ metric matrix as

and

A!

satisfies 2 d g = 6 2

,A! >

0 .

Using the above weighted norm represents a very natural rescahng of the problem using a positive definite matrix which satisfies t h e quasi- Newton relation on the current step. The originators of this approach include Greenstalt, 1970 and Goldfarb, 1970.

(6)

Here we study an alternative variational principle. Suppose 6 z , represents the step immediately prior to 6 z and 6 9 , the corresponding gradient change, with H 6 9 , = 6 2 - . In general H + 6 g - # 6 z - . Since the purpose behind the formation of H on this prior iteration was to satisfy the quasi-Newton relation on 6 2 , , it seems reasonable to ask w h c h update H? from among those of the form (1.3) minimizes

1

( ~ f d g -

-

6 2 -

1 I v ,

where W is a suitable vector norm. We show that for different choices of W , solutions correspond to the BFGS and DFP updates. In particular, the BFGS is, in a sense, the "best" solution, because the associated choice of W is the most natural one. In the discus- sion we compare the new variational principle with (1.5).

2. Alternative Variational Principle

Let us first study the preliminary question of when an inverse hes- sian approximation H can satisfy a quasi-Newton relation simultaneously over several steps.

Theorem 2.1: Given linearly independent 6 z i and linearly independent b g i , i = 1,2, ..., k which satisfy 6z?6g, # 0, then there is a symmetric matrix H such that H 6 g i

=

6 z i , i

=

1,2,

...

,k if and only if bz:dBj = 6 ~ 3 z , , i # j , lri, j s k .

Proof: (i) Suppose there exists a symmetric matrix H such that H 6 g i = 6 z i , and H 6 g j = b z j , i # j , 1 Si, j r k .

Then

b g f ~ d g i = 6 9 , 6 z i T

(7)

and

a g : ~ a g j

=

aspzj

,

Since

H

is symmetric. 6z:6gj = 6g;6zj, i # j . 1 6 i. j zz k

.

(ii) Suppose now

T T

6 z i 6 g , . = 6 g i 6 z j , i # j . 1 S i , j ~k ( 2 . 2 )

Assume that there exists an index m

<

k and a symmetric Hm such that

~ , 6 g j = & z i t j = 1,2 ,..., m

-

1 (2.3) Let

where 1 ~ , Z 0 is chosen orthogonal to 6 9

. . .

, 6gm-l and 4 d g m # 0.

The latter can always be satisfied since 6 g l ,

. . .

, 6 9 , are linearly independent. Then

Also for j

<

rn we have

( 6 2 ,

-

~ ~ 6 ~= 6~ ~ )2

-

~66 9 2 ( H m h g j ) ~6 ~ g ~

= 622tSgj

-

d g 2 6 z j

by the induction hypothesis ( 2 . 3 ) .

= O b y ( 2 . 2 ) .

(8)

Because of this, and the way u, is defined

Hm+16gj = 6zj for j = 1,2 ,..., m The induction hypothesis therefore holds for j = 1,2, ..., m .

Since the induction hypothesis is rl~viously true for m = 2, the result fol- lowswithH givenby H = Hk+l. o

In general it is clear that me conditions of the above theorem will not hold. Reverting to our simpler notation of Section 1, 6zrdg = dg T6z, will usually not hold. It is then natural to ask which update solves the problem:

min

I I

R6g

- -

62-

1 1 w

:

R

E Up(6z .6g

R

1 1

for some suitable choice of vector norm

1 1 . I

( W .

Theorem 2.2: Given H

>

0 , 6z, = (z

-

z ,) and corresponding bg, = (g

-

g -), let H6g- = 62-. Let 62 be a non-zero step satisfying 6zTbg, = 0, and 6g be the corresponding gradient change with 62 T6g

>

0. Then:

(i) The BFGS update

~ f !

= UBFCS(6z,6g.H) solves the problem (2.4) where

I I

(

I

is the vector norm defined by W = jl?-' such that E6g = 62, ij!

>

0.

(ii) The DFP update H: = UDFP(6z,6g

,H)

solves the problem (2.4). where

(

1 . I

( is taken to be the vector norm defined by W = H".

Prod: We now use the definition of the BFGS and DFF updates and the Broyden family given by (1.2a), (1. l b ) and (1.3) and henceforth we affix

(9)

the symbols B and D to H+ to distinguish the BFGS and DFP updates. It follows from (1.2a) and 6z Tdg

-

= 0 that

We can assume that Hfbg- # 6z- or the result would follow immediately Hence

(H=bg-

-

bz-)/ / b z Now from (1.3)

( H f 6 9 -

-

6z-) = (Hfbg-

-

62-) + Bw(wT6g-) Also

(Hf69-

-

6zJT(E-')w = -p(69 T6z-)6z T(g-l)w

= 0 using (1.4), since w T6g

=

0

Thus ) 1 ~ f b g _ - 6 = - 1 ) 1 H f 6 g - - 6 ~ - 1 ( ~ for all

B

where

1 . 1 I w

is

defined as in (i) in the statement of the theorem.

(ii) The Broyden family can also be written

Hf =

H? +

pwwT , p ascalar.

Now from ( l . l b )

( H f 6 9 -

-

62-)

=

-(6gTH6g-/ 6 g T ~ 6 g ) ~ 6 g and

(HJbg-

-

bz-)

=

(Hf69-

-

6z-) + p(wTbg-)w Also

(10)

again from (1.4).

I t follows that

1 I

H P 69-

-

62-

1

( H - l %

I I

H f 6 9

- -

62-

1 I

H-l for all tp.

3. Discussion

The condition 6zTbg

-

= 0 in Theorem 2.2 holds when z is a minim- izng point of f (2) along the direction 62, (i.e. the line search is exact) and 62 / / Hg

.

This follows because

Now when line searches are exact (and conflicts are unambiguously resolved) we know from Dixon's, 1972, theorem that variable metric methods based upon (1.3) give iterates that are independent of the values of the parameter

8 .

Furthermore, under these conditions, Powell has shown that the single parameter family (1.3) is the most general family of updates that leaves iterates unaltered, see Dixon, 1972. We therefore have a very natural context withn which to ask the question: Which updates H! solves (2.4)? From Theorem 2.2 we see that for what seems to be the most natural choice of W , the solution is the BFGS update.

The requirement that line searches be exact can be dropped, by modifying the way in whch search drections a r e defined. If for given H , > O , 6 2 , = 2 - 2 - and 69, = g

-

g

-

with bg 62

- >

0 we replace 62 / Up(6z, , 6g

-

, H,)g by

Then 6zT69, = 0. Also Dixon's theorem extends t o variable metric

(11)

methods based on (1.3) and (3.2), see Nazareth, 1982. This too is a natural setting for Theorem 2.2, whch again suggest the BFGS update is the appropriate choice.

We have noted that the problem (1.5) has been extensively studied. A problem similar to the one quoted can be formulated for minimizing

I I

B+

-

B

I I

w F in a suitable weighted Frobenius norm, and in this case

the DFP update is the solution. Again, see Dennis & More, 1977. It is therefore open to question whether the BFGS update is singled out. Tt has been argued that since variable metric methods use the inverse hessian, the reasonable thing to do is t o minimize ( IH+

-

H

I 1

F . But search directions can equally well be defined in terms of the hessian B , and one could argue with equal conviction that one should minimize

1

\ B + - B I

I

W , F .

In contrast, the result that would be complementary to Theorem 2.2 does not go through in an analogous manner. The reason for this is that the proof of Theorem 2.2 uses the fact that 6 z T b g , = 0. When working with the complementary form, this relation would transform to b g T 6 2 - = 0. This is not necessarily true for the first case one would con- sider, namely, the case when line searches are exact. If line searches are exact, and 6 9 6 2 , T = 0, then the conditions of Theorem 2.1 hold, and the quasi-Newton relation would be simultaneously satisfied on 6 2 and 6 2 , . Theorem 2.2 singles out the BFGS update since the scaling by

E''

is to be

preferred to the scaling by H".

Finally we point out that Theorem 2.2 can quite easily be generalized to the extended family of updates of Davidon, 1975, and that alternative

(12)

variational principles to (1.5), e.g. (2.4), may provide useful guides for choosing suitable updates within other contexts, for example, quasi- Newton methods for solving systems of nonlinear equations.

(13)

Broyden, C.G. (1970), "The convergence of a class of double-rank minimi- zation algorithms", Journal of the Institute o f Mathematics and its Applications, 6, 76-90.

Davidon, W.C. (1959), "Variable Metric Method for Minimization", AEC Research and Development Report, ANL-5990 (REV.), Argonne National Laboratory, Argonne, Illinois.

Davidon, W.C. (1975), "Optimally conditioned optimization algorithms without line searches", Mathematical Programming, 9, 1-30.

Dennis, J.E. and J.J. More (1977), "Quasi-Newton methods, motivation and theory", S I N Review, 19, 46-89.

Dixon, L.C.W. (1 972), "Quasi-Newton algorithms generate identical points", Mathematicd Programming, 2, 383-387.

Fletcher, R. and M.J.D. Powell (1963), "A rapidly convergent descent

(14)

method for minimization", C o m p u t e r J o u r n a l , 6, 163-168.

Goldfarb, D. (1970), "A family of variable metric methods derived by varia- tional means", M a t h e m a t i c s of C o m p u t a t i o n , 24, 23-26.

Greenstadt, J. (1970), 'Variations on variable metric methods", M a t h e m a t i c s of C o m p u t a t i o n , 24, 1- 18.

Murray, W. (Ed.) (1972), N u m e r i c a l Methods f o r U n c o n s t r a i n e d Q t i m i z a - tion, Academic Press, London and New York.

Nazareth, L. (1982), "Analogues of Dixon's and Powell's theorems for unconstrained minimization with inexact line searches", IIASA Work- ing Paper, WP-82-100.

Referenzen

ÄHNLICHE DOKUMENTE

We extend the recently introduced continuous matrix product state (cMPS) variational class to the setting of (1 + 1)-dimensional relativistic quantum field theories.. This allows one

The main usefulness of the lemma and Theorem 1 is clearly in their application in find- ing/validating the range of values of a given function depending on the elements of the

Initially three reference systems – full Heisenberg interaction, transver- sal and longitudinal interaction separately and transversal interaction only as variational parameters –

Michael Weisberg and Kenneth Reisman argue that the Volterra Principle can be derived from multiple predator-prey models and that, therefore, the Volterra Principle is a prime

Keywords: temporal slowness, slow feature analysis, nonlinear blind source sepa- ration, independent component analysis, auditory

We state in section 2 the main theorem concerning the necessary conditions satisfied by an optimal solution to a... differential

as important examples of replicator equations, both in classical population genetics and in the chemical kinetics of polynucleotide replication.. The corresponding maximum

We introduce a family of Jastrow pair product states for quasi-one-dimensional spin systems. Depending on a parameter they interpolate between the resonating valence-bond ground