Docsity

Jensen's Inequality & Convex Optimization: Zeroth Order & Problem Transformation - Prof. B, Essays (university) of Mathematics

Toggle sidebar
bg1
ELL780 ELL 457 Indian Institute of Technology Delhi
Lecture 27 Convex Optimization Problem Transformations
Scribed by: Sapkal Prabhudas Baliram (2020EET2756),Parul Singh (2020EET2761)
Instructors: Sandeep Kumar and Jayadeva
Disclaimer: These notes have not been subjected to the usual scrutiny reserved for formal pub-
lications. They may be distributed outside this class only with the permission of the Course
Coordinator.
Contents
1 Introduction 2
2 Jensen’s Inequality 2
2.1 Zeroth Order Condition .................................. 2
2.2 Generalised Zeroth Order Condition ........................... 3
2.3 Jensen’s Inequality ..................................... 3
3 Transforming Convex Optimization Problem 4
3.1 Optimization Problem: Standard Form .......................... 5
3.2 Equivalent Problems .................................... 6
4 Conclusion 12
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Jensen's Inequality & Convex Optimization: Zeroth Order & Problem Transformation - Prof. B and more Essays (university) Mathematics in PDF only on Docsity!

ELL780 ELL 457 Indian Institute of Technology Delhi Lecture 27 Convex Optimization Problem Transformations Scribed by: Sapkal Prabhudas Baliram (2020EET2756),Parul Singh (2020EET2761) Instructors: Sandeep Kumar and Jayadeva

Disclaimer: These notes have not been subjected to the usual scrutiny reserved for formal pub- lications. They may be distributed outside this class only with the permission of the Course Coordinator.

Contents

1 Introduction 2

2 Jensen’s Inequality 2 2.1 Zeroth Order Condition.................................. 2 2.2 Generalised Zeroth Order Condition........................... 3 2.3 Jensen’s Inequality..................................... 3

3 Transforming Convex Optimization Problem 4 3.1 Optimization Problem: Standard Form.......................... 5 3.2 Equivalent Problems.................................... 6

4 Conclusion 12

1 Introduction

In the previous couple of lectures, we have introduced the concept of convex optimization and defined various sets and functions. Then under convex functions, we have covered zeroth, first and second order conditions. In the last lecture, the concept of epigraph, sub-lavel sets,support function, composition function, extended convex functions, convexity in two variables and point- wise minimum have been studied in depth. In this lecture, in continuation with the previous lecture, we will briefly review the General- ized Zeroth Order condition for more than two variables and discuss how Jensen’s Inequality is generalization of zeroth order condition. Afterwards we will move on to Convex optimization prob- lem,where we will define it and elaborate various forms of optimization problem to include standard form and equivalent problem. Under the equivalent problem section we will discuss various techniques to transform con- vex optimization problems which are helpful in solving them, these techniques includes change of variables,introduction of new variables, introduction of slack variable and eliminating equality constraints.

2 Jensen’s Inequality

2.1 Zeroth Order Condition

The Zeroth order condition for two variables i.e basic inequality is sometimes called as Jensen’s Inequality is expressed as:

λf (x) + (1 − λ)f (y) ≥ f (λx + (1 − λ)y)

sup of f. Then

φ( 1 b − a

∫ (^) b

a

f ) ≤ 1 b − a

∫ (^) b

a

φ(f ).

Proof: We take the following definition of a convex function. φ is convex if for every point (x 0 , φ(x 0 )) on the graph of φ there is a line y = α(x−x 0 )+φ(x 0 ) such that φ(x) ≥ α(x−x 0 )+φ(x 0 ) for all x in the domain of φ. Now let x 0 = (^) b−^1 a

∫ (^) b a f^ and integrate the inequality φ(f (x)) ≥ α(f (x) − x 0 ) + φ(x 0 ).

We get (^) ∫

φ(f ) ≥ α(x 0 − x 0 )(b − a) + (b − a)φ(x 0 ) = (b − a)φ(

b − a

∫ (^) b

a

f ),

which is what we want. This is much easier to remember if b − a = 1:

φ(

f ) ≤

φ(f ).

. Restated: φ(average(f )) ≤ average φ(f ).

3 Transforming Convex Optimization Problem

Sometimes a problem can be transformed to an equivalent problem which might be easier to solve. This can be achieved by transforming the objective function, or re-writing the constraints differently.

For example, if h : RßR is a monotonically increasing mapping, then the problem: argminx f (X) Subject to : X ∈ C can be transformed to the following equivalent problem:

argminx g(f (X))Subject to : X ∈ C

Since h is strictly increasing, h(f (x)) must reach its minimum value at exactly the same value x , which minimizes f (x). However, in certain cases, minimizing h(f (x)) might be easier than directly minimizing f (x). e.g. , the log-likelihood function in several statistical problem is often easier to optimize than directly optimizing the likelihood function. In many cases, such monotone transformations can reveal the ‘hidden convexity’ of a problem, which might not be cursorily obvious. Similarly, if phi : RnßRm^ is a bijective mapping, with its image covering the feasible convex set C , then the variables in the optimization can be changed to yield the following equivalent optimization: argminx f (X) Subject to : X ∈ C can be transformed into :

argminx f (phi(Y ))Subject to : phi(Y ) ∈ C

3.1 Optimization Problem: Standard Form

Definition 3.1 (Standard Form) Standard form of the convex optimization problem is as:

Z*^ = argminf (^) o(X) (1) Subject to : (2) f (^) i(X) ≤ 0 ∀i = 1, 2 , ....m (3) hi(X) = 0 ∀i = 1, 2 , ....p (4)

Here, (a) Objective function, inequality constraints has to be convex functions. (b) Equality con- straints has to be affine function. (c) Implicit constraints has to be satisfied (d) domain all the functions should be complex set.

3.1.1 Examples

Example(Standard Form ): Following example is convex optimization problem:

  1. Least-squares problem:-

Z*^ = argmin || x || Subject to : AX + b ≤ 0 hi(X) = 0

2.Linear programming problem:-

Z*^ = argminCT^ X Subject to : AiT^ X + bi ≤ 0 ∀i = 1, 2 , ....m

Example(Not a convex optimization problem ):Following example is not convex optimization problem:

Z*^ = argmin(X 12 + X 22 ) Subject to : X 1 ≤ 0 X 1 + X 2 = 0

3.2.2 Change of variables

In the change of variable type of transformation a variable is substituted in place of a function to reduce the complexity of the problem or to convert the non convex problem into the convex optimization problem. let’s see the example to understand the concept: Let a function φ : Rn^ −→ Rn, is one-to-one, with image covering the problem domain D We define functions f˜ (^) i and ˜hi as: Given Z = Φ(x) and Φ(x): is a one-to-one function X := Φ-1(z)

Z^ = argminf (^) o(z) X^ = argminf (^) o(Φ(X)) f (^) i(z) <= 0 f (^) i(Φ(X)) <= 0 hi(z) = 0, z ∈ D hi(Φ(X)) = 0, Φ(x) ∈ D

Now lets look further:-

f (^) o(Φ(X)) = f˜ (X)so,

X*^ = argmin f˜ (^) o(X)

Subject to : f^ ˜ (^) i(X) <= 0 ˜hi(X) = 0 X ∈ D = {X|Φ(x) ∈ D}

After change of variable the final solution for one-to-one mapping can be written as:

X^ := Φ-1(Z), Z^ = Φ(X)

Now we will see the example where using change of variable technique is used to convert non

convex problem into convex optimization problem:-

min c 1 log(X 1 ) + c 2 log(X 2 ) + c 3 log(X 3 ) X = [X 1 , X 2 , X 3 ] s.t. a 1 log(X 1 ) + a 2 log(X 2 ) + a 3 log(X 3 ) ≤ b Xi > 1 i = 1, 2 , 3;

As we can see that it is not a problem of convex optimization because log is concave function so we convert it into convex optimization problem by the given substitution:-

Z 1 = log(x 1 ), Z 2 = log(x 2 ), Z 3 = log(x 3 ), Xi = eZi^ , so, Z∗ = minc 1 z 1 + c 2 z 2 + c 3 z 3 a 1 z 1 + a 2 z 2 + a 3 z 3 leqb zi ≥ 0

Now its a problem of linear programming which is a special case of convex optimization only.

Z− > XeZ*

3.2.4 Introduction of slack variable

In many scenarios, slack variables can be added to inequality constraints to transform them to equalities. These transformations are only possible for affine inequality constraints. Introducing a slack variable replaces an affine inequality with an equality and a non-negativity constraint. One simple transformation is based on the observation that f (^) i(X) ≤ 0 ∀i = 1, 2 , ....m if and only if there is an si(X) ≥ 0 ∀i = 1, 2 , ....m that satisfies fi(x)+si = 0. Here the variable si is called as slack variable. Using this transformation we obtain the problem:-

Z*^ = argminf (^) o(X) Subject to : si ≥ 0 ∀i = 1, 2 , ....m f (^) i(X) + si = 0 ∀i = 1, 2 , ....m hi(X) = 0 ∀i = 1, 2 , ....p

Introducing slack variables replaces each inequality constraint with an equality constraint, and a non-negativity constraint. Let’s Look some examples to demonstrate the concept of introducing slack variable:- Example 1:

3.2.5 Eliminating Equality Constraints

There is another way to check the convex optimization problem feasibility. In this method we remove the inequality constraints and get them into the objective function.If we can explicitly parametrize all solutions of the equality constraints hi(X) = 0 ∀i = 1, 2 , ....p using some parameter z ∈ Rk, then we can eliminate the equality constraints from the convex optimization problem given. Suppose the function given φ : Rn^ −→ Rn^ is such that x satisfies the equality constraints if and only if some z ∈ Rk^ such that x = phi(z). The optimization problem after removing this condition becomes:- minz f˜ (^) o(z) = f 0 (Φ(z)) S.T minz f˜ (^) i(z) = f (^) i(Φ(z)) ≤ 0 ∀i = 1, 2 ...m The above problem is equivalent form of the original form and thus gives the optimal solution for the problem which is optimal in both the forms of the problem. Let us assume a general convex problem with (affine) equality constraints: minX {f (^) o(X)

Subject → gi(X) ≤ 0 ∀i = 1, 2 ...m AX = b Suppose we have Axsubscript(o) = b. Then, any solution x of Ax = b corresponds to a solution xx0 for Ax = 0. Suppose the columns of a matrix M span the null-space of A. Then any solution for Ax = b can be given by some M y , where the vector y gives the weights of the basis solutions. Hence, any solution for Ax = b can be given as x := M y + x0, where the columns of M span the null space of A. Thus, the equality constraints can be eliminated in the above optimization to yield the following equivalent formulation: minx{f (M y + x(0))subjecttog(i)(M y + x(0)) ≤ 0 , ∀i = 1, ..., m.

3.2.6 Relaxing Non-Affine Equality Constraints

Consider any optimization: argminx f (X) Subject to : X ∈ C Any such problem can be relaxed by enlarging its constraint set. .i.e., choosing C(0) ⊆ C: argminx f (X) Subject to : X ∈ C′^ Since the feasible set is larger, the optimal value of the new problem is at least as low as that of the original problem. The most important scenario where this is useful is to relax non-affine equality constraints. i.e., replacing constraints of the formh(i)(x) = 0 for convex but non-affine functions h(i)(x) by inequality constraints h(i)(x) ≤ 0. Relaxing such constraints can make a non-convex problem convex. In certain cases, it can be shown that the relaxed problem’s solution is identical to that of the original problem. This can be done, for example, by arguing that the equality constraint must be active at the optimal solution. e.g., the Maximum Utility problem.