Docsity

Parameter Optimization III - Convex - Lecture Notes | CS 8803, Study notes of Computer Science

Partial preview of the text

Download Parameter Optimization III - Convex - Lecture Notes | CS 8803 and more Study notes Computer Science in PDF only on Docsity!

CS 8803-MDM Lecture 24

Parameter Optimization III: Convex

Alexander Gray

[email protected]

Georgia Institute of Technology

CS 8803-MDM Lecture 24 – p. 1/

Today

1. Convex Optimization Problems2. Convex Optimization Methods

CS 8803-MDM Lecture 24 – p. 2/

Convex Functions

It used to be that optimization was divided into linear andnonlinear objective functions. Now the distinction isbetween convex and non-convex functions.A

convex set

C

has the property that for any two points

x

1

and

x

2

in

C

α

, a line segment

αx

1

α

x

2

C.

(1)

A

convex function

f

has the property that

dom

f

, the domain

of

f

, is a convex set and for any two points in

dom

f

f

αx

1

α

x

2

αf

x

1

α

f

x

2

(2)

This inequality is often called

Jensen’s inequality

f

is

concave

if

f

is convex.

CS 8803-MDM Lecture 24 – p. 4/

Convex Functions

Examples of convex functions:

affine functions

f

x

Ax

b

quadratic functions exponential

f

x

e

ax

powers

f

x

x

a

a

or

a

logarithm

f

x

) = log

x

all norms maximum

f

x

) = max(

x

1

,... , x

N

nonnegative weighted sum of convex functions f

α

1

f

1

α

K

f

m

α

k

maximum of convex functions

f

x

) = max(

f

1

x

, f

2

x

CS 8803-MDM Lecture 24 – p. 5/

Least-Squares

Consider the least-squares problem

Find

x

∗

= arg min

x

∈

R

D

Ax

b

2 2

x

T

A

T

Ax

b

T

Ax

b

T

b.

(4)

This is quadratic and unconstrained.It can be solved analytically as

x

∗

A

−

1

b

. So this is a

special easy case.

CS 8803-MDM Lecture 24 – p. 7/

Unconstrained Convex Optimization

The conditions for optimality of a convex function, in theunconstrained case, boil down to the necessary andsufficient condition

f

x

(5)

So for convex functions without constraints, unconstrainedoptimization methods like Newton’s method find the

global

minimum.If we use

L

1

or

L

∞

minimization, we end up with a

constrained optimization problem.

CS 8803-MDM Lecture 24 – p. 8/

Linear Programming

When the objective and constraint functions are all affine,the problem is called a

linear program

(LP), which has the

form

Find

x

∗

= arg min

x

∈

R

D

c

T

x

d

(9)

subject to

Gx

h

(10)

Ax

b.

(11)

CS 8803-MDM Lecture 24 – p. 10/

Quadratic Programming

When the objective function is quadratic and the constraintfunctions are affine, the problem is called a

quadratic

program

(QP), which has the form

Find

x

∗

= arg min

x

∈

R

D

1 2

x

T

P x

q

T

x

r

(12)

subject to

Gx

h

(13)

Ax

b.

(14)

If the constraints are also quadratic, the problem is called a quadratically constrained quadratic program

(QCQP):

Find

x

∗

= arg min

x

∈

R

D

1 2

x

T

P x

q

T

x

r

(15)

subject to

1 2

x

T

P

i

x

q

T i

x

r

i

i

,... , M

(16)

Ax

b.

(17)

CS 8803-MDM Lecture 24 – p. 11/

Geometric Programming

A

geometric program

(GP) is a problem of the form

Find

x

∗

= arg min

x

∈

R

D

f

x

(21)

subject to

c

i

x

i

,... , M

(22)

d

i

x

i

,... , N

(23)(24)

where

f

and the

c

i

have the form

log

k

e

a

T 1

k

x

b

ik

(25)

and the

d

i

have the form

e

g

T i

x

h

i

CS 8803-MDM Lecture 24 – p. 13/

Semidefinite Programming

A

semidefinite program

(SDP) has the form

Find

x

∗

= arg min

x

∈

R

D

c

T

x

(26)

subject to

x

1

F

1

x

n

F

n

G

(27)

Ax

b.

(28)(29)

CS 8803-MDM Lecture 24 – p. 14/

Lagrangian Duality

Consider again the general form for an optimizationproblem:

Find

x

∗

= arg min

x

∈

R

D

f

x

(30)

subject to

c

i

x

i

,... , M

(31)

d

i

x

i

,... , N.

(32)

CS 8803-MDM Lecture 24 – p. 16/

Lagrangian Duality

We can rewrite the original problem as the unconstrainedoptimization problem

Find

x

∗

= arg min

x

∈

R

D

f

x

M

i

I

∞

c

i

x

N

i

I

∞

d

i

x

(33)

where

I

∞

is the indicator-like function which takes the value

0 if the constraint function is satisfied by

x

and

otherwise.

CS 8803-MDM Lecture 24 – p. 17/

Lagrangian Duality

We define the

dual function

g

as the minimum value of the

Lagrangian over

x

g

λ, η

) = inf

x

L

x, λ, η

(35)

Since the dual function is the pointwise infimum of a familyof affine functions of

λ, η

, it is concave, even if the original

problem is not convex. The dual function yields a lowerbound on the optimal value:

g

λ, η

x

∗

CS 8803-MDM Lecture 24 – p. 19/

Lagrangian Duality

The dual function value

g

λ, η

is its optimal value over

x

Now we’d like to find the best lower bound that can beobtained from the dual function:

Find

λ

∗

, η

∗

= arg max

λ,η

g

λ, η

(36)

subject to

λ

(37)

This is called the

dual problem

, while the original problem is

called the

primal problem

. This is always a convex

optimization problem because the objective function isconcave and the constraint is convex, even if the primalproblem is not convex.

CS 8803-MDM Lecture 24 – p. 20/