Convex Sets.
C is Convex set if
x,x′∈C then (1−θ)x+θx′∈C for any 0≤θ≤1
Operations on Convex Sets.
If A and B are convex sets, then A∩B is a convex set
Example 1 the set of positive-definite matrices Sn+ is convex because..
Hy={X∣y′Xy>0} is convex for all y.
Sn+=∩yHy Thus Sn+ is convex.
If S∈Rn is convex then f(S)={y∣y=Ax+b,x∈S} is convex.
Similarly, f−1(S) is convex if f(x)=Ax+b is an affine map.
If S is convex then each projection π(S)={y∣(x,y)∈S} is convex.
If C and D are convex, and disjoint then there exists a separating hyperplane between them:
aTx≥b for all x∈C
aTx≤b for all x∈D
Suppose x is an element of the convex set C. and x0 is in the boundary of C.
There is a Hyperplane H s.t. H={x∣aTx=aTx0} and aTx≥aTx0 for all x∈C
Convex Functions.
- proper function : A function f=S⊆Rm→[−∞,∞] is said to be proper if there is no x∈S with f(x)=−∞ and there is some x with f(x)=∞.
- Effective domain domf : the set of points where f is finite. i.e, domf={x∈S∣f(x)<∞}
- A proper convex function f is closed if it is lower semi-continuous; that is, in case for each α the set {x:f(x)>α} is open.
- 동치명제
A function f is convex if and only if the epigraph
epif={(x,t)∈Rn+1∣f(x)≤t}
is a convex set.
- How to show a function is convex?
0차, 1차, 2차 미분의 관점에서 각각 보일 수 있다.
Zeroth-order characterization of convexity
:A function f:Rn→R is convex if and only if g(t)=f(x+tv) is convex for each x∈domf and v∈Rn
특징 : x에 대한 convexity를 t에 대한 convexity로 바꿔버린다.
Example : Log determinant
let f(A)=logdet(A) then let g(t)=f(A+tV).
g(t)=logdet(A+tV)=logdet(A)+logdet(I+tA−1/2VA−1/2)
logdet(A)+∑ilog(1+tλi), where λi is ith eigenvalue of A−1/2VA−1/2.
Therefore, f(A) is concave.
First-order characterization of convexity
: A differentiable function f:Rn→R is convex if and only if f(y)≥f(x)+▽f(x)T(y−x) is convex for every x,y∈domf
특징 : 접선(평면) 성질에 의해 자명.
Second-order characterization of convexity
: Hessian 행렬의 non-posivite-definie 성질확인.
Example : log-sum-exp
f(x)=log∑iexpxi is convex.
Functions of Convex Functions
다음은 함수의 convexity를 보존하는 연산들이다.
-
Nonnegative weighted sum - trivial
-
Composition with an affine function
- If f:Rn→R is convex and g : Rm→Rn is affine, givne by g(x)=Ax+b, then the composition (fog)(x)=f(Ax+b) is convex.
-
pointwise maximum and supremum
The maximum of convex functions is convex. Can be shown with the notion of epigraph. similary,
g(x)=supy∈Af(x,y) is convex if f is convex in x for y∈A
- Example : Largest eigenvalue
For X∈Sn a symmetric matrix.
λmax(X)=supyTy=1yTXy
X is linear for each y s.t. yty=1 thus convex. Therefore, λmax(X) is convex.
-
Composition
- fog is convex if g is concave and f is convex and nondecreasing
- fog is concave if g is concave and f is concave and nondecreasing
- fog is concave if g is convex and f is concave and nonincreasing
Log-Convexity
: f(x)θf(y)1−θ≥f(θx+(1−θ)y)
Important properties
-
The product of log-concave functions is log-concave (trivial)
-
If f:Rn+m→R is log-concave then the marginal
g(x)=∫Rmf(x,y)dy is log-concave.
proof) g(θx1+(1−θ)x2)=∫Rmf(θx1+(1−θ)x2,y)dy
≥∫Rmf(x1,y)θf(x2,y)1−θdy
≥(∫Rmf(x1,y)dy)θ+(∫Rmf(x2,y)dy)1−θ By Jensen's ineq
-
The convolution
(f⋆g)(x)=∫f(x−y)g(y)dy of log-concave functions is log-concave.
Conjugate function
The conjugate function f∗ of a proper function f is given by
f∗(y)=supx∈domf{<x,y>−f(x)}. The conjugate is always a convex function : trivial
-
If f is differentiable, then y=▽f(x∗)
-
If f is strictly convex, we can write ▽f−1(y)=x∗, so f∗(y)=<▽f−1(y),y−f(▽f−1(y))
-
Fenchel's inequality
From definition, f(x)+f(x∗)≥<x,y>
-
Fenchel's duality
Suppose that f:Rn→R∪{∞} and g:Rm→R∪{∞} are closed proper convex functions and A∈Rmn is an m x n matrix. Then
infx{f(x)+g(Ax)}=supλ{−f⋆(ATλ)−g⋆(−λ)}
proof : by Fenchel's inequality
Question:
-
127p-separating / supporting plane pf
-
epigraph convexity pf
-
129p closed convex function??
-
130p zeroth-order pf
-
133p 134p log convexity properties : convolution 의미?