



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Steepest Descent Method
Kefu Liu
Properties of Gradient Vector
The gradient vector of a scalar function f ( x 1 (^) , x 2 , " , xn )is defined as a column vector
1 2
T
n
f f f f x x x
" c
For example
2 2 f ( x 1 (^) , x 2 (^) ) = 25 x 1 (^) + x 2
at the point
x 1 (^) = .6, x 2 = 4
1
2
x f x
c
The normalized gradient vector
T
c c c c
For example, at the point
x 1 (^) = .6, x 2 = 4
2 2
c
Property 1. The gradient vector represents a direction of maximum rate of increase for
the function f ( ) x at. For example,
x
2 2 f (.6, 4) = 25(.6) + 4 = 25
x x c
The function value becomes
(1) 2 2 f ( x ) = 25(1.083125) + (4.122885) =46.
T
x x c
The function value becomes
(1) 2 2 f ( x ) = 25(1.1) + (4) =46.
T
x x c
The function value becomes
(1) 2 2 f ( x ) = 25(.6) + (4.5) =29.
We can see that moving along the gradient direction results in the maximum increase in
the function.
Property 2. The gradient vector c of f^ (^ x 1^ ,^ x 2^ ,^ "^ ,^ xn )at the point is orthogonal
(normal) to the tangent plane for the surface. For example,
the slope at
x
f ( x ) =constant 2 2 f ( x 1 (^) , x 2 (^) ) = 25 x 1 (^) + x 2 = 25
x 1 (^) = .6, x 2 = 4 can be found to be
2(25) x dx 1 1 (^) + 2 x dx 2 2 = 0
2 1
1 2
slope 3. 4
dx x
dx x
The direction of the tangent line is given by
t
c and t are normal each other as
x x c
(3) 2 2 f ( x ) = 25( .0561)− + (2.332) =5.
c c
x x c
(4) 2 2 f ( x ) = 25(.2016) + (1.9035) =4.
c c
x x c
(5) 2 2 f ( x ) = 25( .2662)− + (1.7269) =4.
It is noted that the function values start to oscillate, i.e., not monotonically reduce. This is
caused by the constant step size. When the search is near the minimum, a smaller step
size should be used. Otherwise, an “overshoot” will occur. Overshoot means that we
move along the steepest direction more than needed. As a matter of fact, we are supposed
to find the best step size at each iteration by conducting a one-D optimization in the
steepest descent direction. For example, the new point can be expressed as a function of
step size α , i.e.,
x x c ⎦
(1) 2 2 f ( x ) = 25(1 − .9929 α ) + (3 −.1191 α )
(1) f ( x )is a function of α. Using the analytical approach, we get
( ) (^) (0) (0) 2(25)(1 .9929 )( .9929) 2(3 .1191 )( .1191) 0
df
d
α α α α
= − − + − − =
(0) 2 2
25(.9929) 3(.1191)
25(.9929 ).
α
= =
(1) (0) (0) (0) 1 .9929^ -.
3 .1191 2.
α
⎡ ⎤ ⎡ ⎤ ⎡ ⎤ = − = (^) ⎢ ⎥ − (^) ⎢ ⎥ =⎢ ⎥ ⎣ ⎦ ⎣ ⎦ ⎣ ⎦
x x c
(1) 2 2 f ( x ) = 25( .0139)− + 2.8784 =8.
f = 8.29is the minimum value we can find at this iteration.
Steepest descent algorithm
Step 1. Estimate a starting design and set the iteration counter
(0) x k = 0. Select a
convergence parameter ε > 0.
Step 2. Calculate the gradient of f ( ) x at the point as. Calculate
( k ) x (^) c (^ k )^^ = ∇ f ( x (^ k ))
T c = c c. If c < ε, then stop the iteration process as
point. Otherwise, go to Step 3.
Step 3. Let the search direction at the current point as.
( k ) x (^) d (^ k^ )^ = − c (^ k )
Step 4. Calculate a step size
( k ) α to minimize. A one-dimensional
search is used to determine
( ) ( ) ( ) (
k k k f x + α d ) ( k ) α.
Step 5. Update the design as. Set
( k 1) ( k ) ( k ) ( ) α
x = x + d
k (^) k = k + 1 and go to Step 2.