Docsity

Unconstrained Minimization-Optimization Techniques and Methods-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Unconstrained Minimization-Optimization Techniques and Methods-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Convex Optimization — Boyd & Vandenberghe

10. Unconstrained minimization

terminology and assumptions

gradient descent method

steepest descent method

Newton’s method

self-concordant functions

implementation

10–

Unconstrained minimization

minimize

f

x

f

convex, twice continuously differentiable (hence

dom

f

open)

we assume optimal value

p

⋆

= inf

x

f

x

is attained (and finite)

unconstrained minimization methods

produce sequence of points

x

(

k

)

dom

f

k

with

f

x

(

k

)

p

⋆

can be interpreted as iterative methods for solving optimality condition

f

x

⋆

Unconstrained minimization

10–

Strong convexity and implications

f

is strongly convex on

S

if there exists an

m >

such that

2

f

x

mI

for all

x

S

implications

for

x, y

S

f

y

f

x

f

x

T

y

x

m

x

y

2 2

hence,

S

is bounded

p

⋆

, and for

x

S

f

x

p

⋆

m

f

x

2 2

useful as stopping criterion (if you know

m

Unconstrained minimization

10–

Descent methods

x

(

k

+1)

x

(

k

)

t

(

k

)

x

(

k

)

with

f

x

(

k

+1)

< f

x

(

k

)

other notations:

x

x

t

x

x

x

t

x

x

is the

step

, or

search direction

t

is the

step size

, or

step length

from convexity,

f

x

< f

x

implies

f

x

T

x <

i.e.

x

is a

descent direction

General descent method. given

a starting point

x

∈

dom

f

.

repeat

  1. Determine a descent direction

∆

x

.

Line search.

Choose a step size

t >

0

.

Update.

x

:=

x

t

∆

x

.

until

stopping criterion is satisfied.

Unconstrained minimization

10–

Gradient descent method

general descent method with

x

f

x

given

a starting point

x

∈

dom

f

.

repeat

∆

x

:=

−∇

f

(

x

)

.

Line search.

Choose step size

t

via exact or backtracking line search.

Update.

x

:=

x

t

∆

x

.

until

stopping criterion is satisfied.

stopping criterion usually of the form

f

x

2

ǫ

convergence result: for strongly convex

f

f

x

(

k

)

p

⋆

c

k

f

x

(0)

p

⋆

c

depends on

m

x

(0)

, line search type

very simple, but often very slow; rarely used in practice

Unconstrained minimization

10–

quadratic problem in R

2

f

x

x

2 1

γx

2 2

γ >

with exact line search, starting at

x

(0)

γ,

x

(

k

)

1

γ

γ

γ

k

x

(

k

)

2

γ

γ

k

very slow if

γ

or

γ

example for

γ

x

1

x

2

x

(0)

x

(1)

−

10

0

10

−

4 0 4

Unconstrained minimization

10–

a problem in R

100

f

x

c

T

x

500

i

=

log(

b

i

a

Ti

x

k

x( f

)k(

p − )

⋆

exact l.s.

backtracking l.s.

0

50

100

150

200

10

−

4

10

−

2

10

0

10

2

10

4

‘linear’ convergence,

i.e.

, a straight line on a semilog plot

Unconstrained minimization

10–

Steepest descent method

normalized steepest descent direction

(at

x

, for norm

x

nsd

= argmin

f

x

T

v

v

interpretation: for small

v

f

x

v

f

x

f

x

T

v

direction

x

nsd

is unit-norm step with most negative directional derivative

(unnormalized) steepest descent direction

x

sd

f

x

∗

x

nsd

satisfies

f

x

T

sd

f

x

2 ∗

steepest descent method

general descent method with

x

x

sd

convergence properties similar to gradient descent

Unconstrained minimization

10–

choice of norm for steepest descent

x

(0)

x

(1)

x

(2)

x

(0)

x

(1)

x

(2)

steepest descent with backtracking line search for two quadratic norms

ellipses show

x

x

x

(

k

)

P

equivalent interpretation of steepest descent with quadratic norm

P

gradient descent after change of variables

x

P

1

/

2

x

shows choice of

P

has strong effect on speed of convergence

Unconstrained minimization

10–

docsity.com

Newton step

x

nt

2

f

x

−

1

f

x

interpretations

x

x

nt

minimizes second order approximation

f

x

v

f

x

f

x

T

v

v

T

2

f

x

v

x

x

nt

solves linearized optimality condition

f

x

v

f

x

v

f

x

2

f

x

v

f

̂

f

(

x, f

(

x

))

(

x

  • ∆

x

nt

, f

(

x

  • ∆

x

nt

))

f

′

̂

f

′

(

x, f

′

(

x

))

(

x

  • ∆

x

nt

, f

′

(

x

  • ∆

x

nt

))

Unconstrained minimization

10–

docsity.com

Newton decrement

λ

x

f

x

T

2

f

x

−

1

f

x

1

/

2

a measure of the proximity of

x

to

x

⋆

properties

gives an estimate of

f

x

p

⋆

, using quadratic approximation

f

f

x

inf

y

f

y

λ

x

2

equal to the norm of the Newton step in the quadratic Hessian norm

λ

x

x

T nt

2

f

x

x

nt

1

/

2

directional derivative in the Newton direction:

f

x

T

x

nt

λ

x

2

affine invariant (unlike

f

x

2

Unconstrained minimization

10–

Newton’s method

given

a starting point

x

∈

dom

f

, tolerance

ǫ >

0

.

repeat

Compute the Newton step and decrement.

∆

x

nt

:=

−∇

2

f

(

x

)

−

1

∇

f

(

x

)

;

λ

2

:=

∇

f

(

x

)

T

∇

2

f

(

x

)

−

1

∇

f

(

x

)

.

Stopping criterion.

quit

if

λ

2

/

2

≤

ǫ

.

Line search.

Choose step size

t

by backtracking line search.

Update.

x

:=

x

t

∆

x

nt

.

affine invariant,

i.e.

, independent of linear changes of coordinates:

Newton iterates for

f

y

f

T y

with starting point

y

(0)

T

−

1

x

(0)

are

y

(

k

)

T

−

1

x

(

k

)

Unconstrained minimization

10–

damped Newton phase

f

x

2

η

most iterations require backtracking steps

function value decreases by at least

γ

if

p

⋆

, this phase ends after at most

f

x

(0)

p

⋆

/γ

iterations

quadratically convergent phase

f

x

2

< η

all iterations use step size

t

f

x

2

converges to zero quadratically: if

f

x

(

k

)

2

< η

, then

L

m

2

f

x

l

2

L

m

2

f

x

k

2

2

l

−

k

2

l

−

k

l

k

Unconstrained minimization

10–

conclusion:

number of iterations until

f

x

p

⋆

ǫ

is bounded above by

f

x

(0)

p

⋆

γ

  • log

2

log

2

ǫ

0

/ǫ

γ

ǫ

0

are constants that depend on

m

L

x

(0)

second term is small (of the order of

) and almost constant for

practical purposes

in practice, constants

m

L

(hence

γ

ǫ

0

) are usually unknown

provides qualitative insight in convergence properties (

i.e.

, explains two

algorithm phases)

Unconstrained minimization

10–