Docsity

Geometric Problems-Convex Optimization-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Geometric Problems-Convex Optimization-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Convex Optimization — Boyd & Vandenberghe

8. Geometric problems

-^ extremal volume ellipsoids •^ centering •^ classification •^ placement and facility location

Minimum volume ellipsoid around a set L¨owner-John ellipsoid^ of a set

C: minimum volume ellipsoid

E^ s.t.^ C^ ⊆ E

-^ parametrize

E^ as^ E^ =^ {v^

| ‖Av^ +^ b‖≤^2

1 }; w.l.o.g. assume

n A ∈ S ++

-^ vol^ E^ is proportional to

−^1 det A; to compute minimum volume ellipsoid,minimize (over A,^ b)^ log det

−^1 A

subject to^

sup‖Av^ +v∈C^

b‖≤^12

convex, but evaluating the constraint can be hard (for general

C)

finite set^ C^ =

{x,... , x}^1 m

minimize (over

A,^ b)^ log det

−^1 A

subject to^

‖Ax+^ b‖≤i^2

1 ,^ i^ = 1,... , m

also gives L¨owner-John ellipsoid for polyhedron

conv{x,... , x^1

}m

Geometric problems^

Efficiency of ellipsoidal approximationsn C ⊆ Rconvex, bounded, with nonempty interior • L¨owner-John ellipsoid, shrunk by a factor

n, lies inside^

C

-^ maximum volume inscribed ellipsoid, expanded by a factor

n, covers^ C

example^ (for two polyhedra in

2 R)

factor^ n^ can be improved to

√ n^ if^ C^ is symmetric Geometric problems^

Centering

some possible definitions of ‘center’ of a convex set

C:

-^ center of largest inscribed ball (’Chebyshev center’)for polyhedron, can be computed via linear programming (page 4–19) •^ center of maximum volume inscribed ellipsoid (page 8–3)

xxchebcheb^

xmve

MVE center is invariant under affine coordinate transformations Geometric problems^

analytic center of linear inequalities

T ax^ ≤^ b,^ i^ = 1ii^

,... , m

xis minimizer ofac^ φ(x) =^ −

m∑T^ log(b−^ ai^ i i=

x)

xac

inner and outer ellipsoids from analytic center:

E⊆ {x^ |^ ainner^

Tx^ ≤^ b, i^ = 1ii^

,... , m} ⊆ Eouter

where^ Einner^

=^ {x^ |^ (x^ −^

T^2 x)∇φ(xacac )(x^ −^ x)^ ≤^ ac

E=^ {xouter^

T^ | (x − x)∇ac 2 φ(x)(x^ −^ xac

)^ ≤^ m(m^ −ac

Geometric problems^

Linear discrimination

separate two sets of points

{x,... , x}^1 N^

,^ {y,... , y}^1 M^

by a hyperplane:

T^ ax+^ b >^0 ,i^ i^ = 1,... , N,

T^ ay+^ b <i^ 0 ,^ i^ = 1,... , M

homogeneous in

a,^ b, hence equivalent toT (^) ax+ b ≥ 1 ,^ i^ = 1,... , N,i

T^ ay+^ bi^ ≤ −^1 ,^ i^ = 1

,... , M

a set of linear inequalities in

a,^ b Geometric problems^

Lagrange dual of maximum margin separation problem (1)

maximize^1

T^ T^ λ^ +^1 μ subject to^2

∥∑∥Nλx−∥ii^ i=^

∥∑∥M μy∥iii=1 2

≤^1

T^ T^1 λ^ =^1 μ,^

λ^ ^0 ,^ μ^ ^

from duality, optimal value is inverse of maximum margin of separation interpretation^ •^ change variables to

T^ θ= λ/ 1 λi i

T^ , γ= μ/ 1 μi i T^ , t = 1/( 1 λ^ T^ + 1 μ)

-^ invert objective to minimize

T^ T 1 /( 1 λ^ +^1 μ) =^ t minimize^ t^ ∥∥ subject to∥

∑∑Nθx−^ ii^ i=^

∥∥Mγy^ ≤^ t∥iii=1 2 T^ θ  0 , 1 θ^ = 1,^ γ^ ^0 ,

T^1 γ^ = 1

optimal value is distance between convex hulls Geometric problems^

Approximate linear separation of non-separable sets^ minimize

T^ T^1 u^ +^1 v T^ subject to ax+^ b^ ≥i^ 1 −^ u,^ i^ = 1i

,... , N

T^ ay+^ b^ ≤ −i^ 1 +^ v,^ i^ = 1i

,... , M

u^ ^0 ,^ v^ ^

-^ an LP in^ a,

b,^ u,^ v

-^ at optimum,

u= max{^0 ,i^

T^1 − ax−^ b}i^ ,^ v= max{^0 i^

T^ , 1 + ay+^ bi^

-^ can be interpreted as a heuristic for minimizing #misclassified points Geometric problems^

Nonlinear discrimination

separate two sets of points by a nonlinear function:^ f^ (x)i

^0 ,^ i^ = 1,... , N,

f^ (y)^ <^ i

0 ,^ i^ = 1,... , M

-^ choose a linearly parametrized family of functions

T^ f (z) = θF^ (z

F^ = (F,... , F^1

n^ k^ ) : R→^ Rk are basis functions

-^ solve a set of linear inequalities in

θ: T^ θF^ (x)^ ≥^1 ,i i^ = 1,... , N,

T^ θF^ (y)i ≤ −^1 ,^ i^ = 1

,... , M

Geometric problems^

quadratic discrimination

T^ : f (z) = zP z T^ + qz^ +^ r

TT^ xP x+^ qxi^ i^

+^ r^ ≥^1 ,^ i

TT^ yP y+^ qyi^ ii^ +^ r^ ≤ −^1

can add additional constraints (

e.g.,^ P^  −I^

to separate by an ellipsoid)

polynomial discrimination

:^ F^ (z)^ are all monomials up to a given degree separation by ellipsoid

separation by 4th degree polynomial Geometric problems^

example:^ minimize

∑ h(‖^ (i,j)∈A^ x−^ x‖), with 6 free points, 27 linksi^ j^2 optimal placement for

h(z) =^ z,^ h(

(^2) z) = z,^ h(z) = (^4) z

−^1

1 (^10) − 1

−^1

1 (^10) − 1

−^1

1 (^10) − 1

histograms of connection lengths

‖x−^ x‖i^ j^2 0 0.^5

1.^5 4 3 2 1 0

0 0.^5

1 1.^5 4 3 2 1 0

0 0.^5

1 1.^5 6 5 4 3 2 1 0

Geometric problems^