Docsity

Minimization Techniques: Descent, Steepest Descent, Newton's, and Trust Region Methods, Study notes of Systems Engineering

Toggle sidebar
bg1
11.1
Unconstrained Minimization in Rn
Katta G. Murty, IOE 611 Lecture slides
Consider: min θ(x)overx∈Rn
We consider Descent Methods first. Each iteration in these
methods consists of 2 steps:
1. Find a search direction (a descent direction) ¯yat current
point ¯x.
2. Use a line search method to find the step length ¯
λ.¯x+¯
λ¯yis
the new point, terminate with that as the best point if practical
termination conds. are met. Otherwise go to the next iteration
with the new pt. as current pt.
Steepest Descent Method: Cauchy (1847). A gradient
method.
Search direction is steepest descent direction with Ias the met-
ric matrix, it is −(∇θ(x))Tat x.
Method globally convergent even with inexact line searches.
Far from optimum the method works well, but in the nbhd. of a
96
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Minimization Techniques: Descent, Steepest Descent, Newton's, and Trust Region Methods and more Study notes Systems Engineering in PDF only on Docsity!

Unconstrained Minimization in Rn

Katta G. Murty, IOE 611 Lecture slides

Consider: min θ(x) over x ∈ Rn We consider Descent Methods first. Each iteration in these methods consists of 2 steps:

  1. Find a search direction (a descent direction) ¯y at current point ¯x.
  2. Use a line search method to find the step length λ¯. ¯x + λ¯y¯ is the new point, terminate with that as the best point if practical termination conds. are met. Otherwise go to the next iteration with the new pt. as current pt.

Steepest Descent Method: Cauchy (1847). A gradient

method. Search direction is steepest descent direction with I as the met- ric matrix, it is −(∇θ(x))T^ at x. Method globally convergent even with inexact line searches. Far from optimum the method works well, but in the nbhd. of a

stationary pt. method very slow, taking small nearly orthogonal steps (zigzagging). If Hessian at opt. is PD and its condition no. = its smallest eigen value its largest eigen value =^ α; rate of convergence of method be- comes increasingly slower as α → ∞ depending on initial sol. x^0. Convergence linear with rate bounded above by ( (αα−+1)1)^22.

Levenberg-Marquardt Modified Newton Method

Problems with Newton’s method:

  1. H(x) may not be PD (then Newton direction may not be descent direction), may be singular (then Newton direction not defined).
  2. Step length of 1 may not give desceny in θ(x). Fixed by choosing step length by a line search routine.
  3. Not globally convergent. To avoid 1, 3, use as search direction −(I + H(x))−^1 ∇θ(x) where  > 0 choosen so that I + H(x) is PD. If  too small, I + H(x) may be near singular. If  too large, I + H(x) becomes diagonally dominant & method behaves like steepest descent with linear convergence rate. To choose  start with some  > 0 & ascertain PD of I + H(x) by attempting to construct its Cholesky factorization. If unsuccessful, multiply  by 4 and repeat until such a factorization is available.

Model-Trust Region Methods

Another group ensuring global convergence while ensuring fast local convergence. The N. & L. M. M. N. methods used a quad. model of function to determine search direction, and then a line search technique to determine step length in that direction. The line search technique does not use the Hessian or the full dimensional quad. model of the function. 2nd difficulty with these methods is that region of trust within which quad. approx. at current pt. is sufficiently reliable may not include next pt. xr+1. T. R. methods circumvent these problems by 1st choosing a trial step length ∆r (within which quad. approx. is considered good), and then uses the quad. model to select the best step of at most length ∆r by solving:

min Q(x) = θ(xr) + ∇θ(xr)s +^12 sT^ Hs s. to ||s|| ≤ ∆r

where H = ∇^2 xxθ(xr) is the Hessian and s = x − xr. ∆r is an

form (H + μI) as described above.

Approx. sol. given by following dog-leg step. CP = Cauchy pt., NP = Newton pt., xr+1^ is intersection of line segment joining CP and NP with sphere if intersection exists, or take xr+1^ as NP itself.

Procedure for Selecting ∆r

After xr+1^ obtained with trial value of ∆r, compute Rr = θ(x

r) − θ(xr+1) Q(xr) − Q(xr+1) If : 0 < Rr < 0 .25, make ∆r+1 ∆ 4 r Rr > 0 .75 and ||xr+1^ − xr|| = ∆r, make ∆r+1 = 2∆r. Rr ≤ 0, i.e., θ(x) did not improve in this iteration, reject xr+1, keep xr^ as new pt. and repeat this step with ∆r+1 = ∆ 4 r. Otherwise keep ∆r+1 = ∆r and continue with xr+1^ as new pt.

Quasi-Newton Methods

Methods based on building up the Hessian through the com- puted values of ∇θ(x) & θ(x). Also called Secant Methods. Br = approximation to Hessian at rth step Methods usually begin with B 0 = I, and many of these meth- ods maintain Br symmetric and PD. If xr^ is current pt. & Br the current approx., then the search direction at xr^ is sr^ = −B r− 1 (∇θ(xr))T^ ; and a line search is performed to get the next point. Variable metric property. Quasi-Newton Condition: From Taylor series expansion we have (∇θ(xr+1))T^ ≈ (∇θ(xr))T^ +∇^2 xxθ(xr)(xr+1^ − xr). The condition requires that Br+1 satisfy

(∇θ(xr+1) − ∇θ(xr))T^ = Br+1(xr+1^ − xr) Updating formulae generally also have hereditary symme- try, hereditary PD properties. Most successful of these methods is the BFGS method, which uses the updating formula:

Conjugate Direction (Gradient) Methods

Introduced by Hestenes & Stiefel (1952), originally for solving Ax = b , square nonsingular system, through min (Ax − b)T^ (Ax − b). These methods use only 1st order derivatives, and do not need storing or updating a square matrix. First consider min f (x) = cx + 12 xT^ Ax where A is PD Sym- metric. These methods developed originally to solve this problem using at most n line searches.

Conjugacy wrt A (PD Symmetric): Set of nonzero vec-

tors {p. 1 ,... , p.n} is said to be conjugate wrt A iff p.iAp.j = 0 ∀i 6 = j. Let Pn×n be s. th. its set of col vectors is conjugate wrt A. Then the linear transformation x = P z diagonalizes f (x) into F (z) = cP z + 12 P T^ AP z. P T^ AP is diagonal because of the conjugacy condition. Hence F (z) is separable in the z variables, i.e., F (z) = ∑nj=1 Fj (zj), so minimizing F (z) can be carried out through n line searches by the alternating variable method. So,

in the x-space, f (x) can be minimized through n line searches, once in each of the directions {P. 1 ,... , P.n} in any order. The C. G. methods generate the C. directions one after the other, so that each is a descent direction at current pt. at the time that direction is generated. General C. G. Method: Step 1: Initiate with any pt. x^0. Search direction in this step is the steepest descent direction y^0 = −(∇f (x^0 ))T^. Do a line search. General Step: Let xr^ be current pt. Search direction is yr^ = −(∇f (xr))T^ + βryr−^1. Do a line search. to get next pt. xr+1. If r + 1 = n, this pt. is optimal, terminate. Otherwise go to the next step.

Different C. G. methods use different formula for βr. These are:

βr =

    

||∇^ ||∇ff(x(xr−r)^1 ||)||^22 Fletcher & Reeves method (∇f(xr)−∇ ||∇ff((xxrr−−^11 ))()|| 2 ∇ f(xr))T Polak, Ribiere, Polyak method (^ −||∇∇f(xfr(−x^1 r)))||y^2 r^ C. descent method Each direction is descent direction at current pt. if all line searches are carried exactly. For quad. function f (x) all above

The Simplex Direct Search Method for NLP

Nelder & Mead (1965). A pattern search technique useful for problems of low dimension. Not good when dimension is high. Aim is to obtain a small simplex containing a minimum. In the end either the best vertex is taken as the best pt., or the best pt. obtained by some interpolation in final simplex. Four types of moves. Each iteration begins with a simplex < x^1 ,... , xn+1 > with its vertices sorted so that θ(xi) ≤ θ(xi+1) ∀i.

  1. Method tries to replace worst vertex xn+1^ by a better pt. Best facet of current simplex is < x^1 ,... , xn^ > (it excludes worst vertex), its centroid is ¯x = (^1) n^ ∑ni=1 xi. Reflexion xr^ of xn+1^ through x¯ in this facet is xr^ = 2¯x − xn+1.

1.1. If θ(xr) < θ(x^1 ), very successful. Now try expanding simplex in same direction. Let xe^ = 2xr^ − xn+1.

Expansion successful if θ(xe) < θ(x^1 ). In this case, the new simplex is < xe, x^1 ,... , xn^ >, go to next iteration.

If expansion unsuccessful (i.e., θ(xe) ≥ θ(x^1 )), new sim- plex is < xr, x^1 ,... , xn^ >, go to next iteration.

1.2. If θ(x^1 ) ≤ θ(xr) ≤ θ(xn), new simplex is < x^1 ,... , xn, xr^ >, sort its vertices & go to next iteration.

1.3. If θ(xr) ≥ θ(xn+1), try to contract simplex internally along reflection direction. Let xc^ = 12 (¯x + xn+1).

Contraction successful if θ(xc) < θ(xn+1), new simplex is < x^1 ,... , xn, xc^ >, sort vertices & go to next iteration.

Contraction failed if θ(xc) ≥ θ(xn+1), now shrink simplex (we tacitly assume that we are close enough to minimizer to need smaller moves for improvement). New simplex is < x^1 , x^1 + 2 x^2 ,... , x^1 + 2 x n+1 >, sort vertices & go to next iteration.

1.4. If θ(xn) ≤ θ(xr) ≤ θ(xn+1), define the shadow contrac- tion pt. xsc^ = 12 (xr^ + xn+1), carry out Step 1.3 with xsc^ replacing xc^ there.