Professional Documents
Culture Documents
Yi Zhang
Outline
Examples
Outline
Examples
Differentiable functions
Subdifferential of f
The subdifferential of f at x
Set of all subgradients of f at x Denoted as A convex set can be an empty set (f not convex) set,
If f is convex
is non empty for all x in dom(f) non-empty If f is differentiable at x, If contains only one element g then g,
f is differentiable at x, and g =
is the convex hull of i.e., th convex h ll of union of subgradients of all i the hull f i f b di t f ll active functions
Optimality conditions
Is g a descent direction?
Is
i.e., -g is a descent direction for This holds f any z s.t. f(z) < f(x) e.g., x* for f( ) f( ) *
Proof
Outline
Examples
Subgradient method
Why converge?
Why converge?
, and small t
Why converge?
f convex, subgradient g exists at any x f(x ) f(x*) >= f(x) + gT(x x*) x)
Why converge?
Key point 1: -g is a descent direction for || x x x* ||2 at x Key point 2: projection decreases || x x* ||2
Very large set, say, 108 examples V l t l Coming one by one, i.e., data streams
E.g.,
Why converge?
Proof similar to deterministic cases, but take , expectation over both sides
Outline
Examples
is the convex hull of i.e., th convex h ll of union of subgradients of all i the hull f i f b di t f ll active functions
Minimize:
Find the active function j at current x We just need one subgradient (not the whole set) Subgradient method
Subgradient method!
Constraint generation: start from a few constraints, and gradually add violated constraints Subgradient: write all constraints into the objective function, and calculate the subgradient Find most violated constraint Find active function in a pointwise maximum term