85
Convex Optimization Lijun Zhang [email protected] http://cs.nju.edu.cn/zlj Modification of http://stanford.edu/~boyd/cvxbook/bv_cvxslides.pdf

LijunZhang [email protected] //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang [email protected] Modification of boyd/cvxbook/bv_cvxslides.pdf

Embed Size (px)

Citation preview

Page 1: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Optimization

Lijun [email protected]://cs.nju.edu.cn/zlj

Modification of http://stanford.edu/~boyd/cvxbook/bv_cvxslides.pdf

Page 2: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Outline

Introduction

Convex Sets & Functions

Convex Optimization Problems

Duality

Convex Optimization Methods

Summary

Page 3: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Mathematical Optimization

Optimization Problem

Page 4: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Applications

Dimensionality Reduction (PCA)

Clustering (NMF)

Classification (SVM)

max∈s. t. 1

min∈ , ∈

min∈ , ∈

s. t. 0, 0

Page 5: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Least-squares

The Problem

Given , predict by Properties

Page 6: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Linear Programming

The Problem

Properties

Page 7: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Optimization Problem

The Problem

Conditions

Page 8: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Optimization Problem

The Problem

Properties

Page 9: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Nonlinear Optimization Definition

The objective or constraint functions are not linear Could be convex or nonconvex

Page 10: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Outline

Introduction

Convex Sets & Functions

Convex Optimization Problems

Duality

Convex Optimization Methods

Summary

Page 11: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Affine Set

Page 12: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Set

Page 13: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Cone

Page 14: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Some Examples (1)

Page 15: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Some Examples (2)

Page 16: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Some Examples (3)

Page 17: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Operations that Preserve Convexity

Page 18: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Intersection

Page 19: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Affine Function

Page 20: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Perspective and Linear-Fractional Function

Page 21: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Functions

Page 22: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Examples on

Page 23: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Examples on and

Page 24: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Restriction of a Convex Function to a Line

Page 25: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

First-order Conditions

Page 26: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Second-order Conditions

Page 27: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Examples

Page 28: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Operations that Preserve Convexity

Page 29: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Positive Weighted Sum & Composition with Affine Function

Page 30: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Pointwise Maximum

Hinge loss: ℓ max 0,1

Page 31: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Pointwise Supremum

Page 32: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Composition with Scalar Functions

Page 33: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Vector Composition

Page 34: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Minimization

Page 35: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Perspective

Page 36: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

The Conjugate Function

Page 37: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Examples

Page 38: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Outline

Introduction

Convex Sets & Functions

Convex Optimization Problems

Duality

Convex Optimization Methods

Summary

Page 39: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Optimization Problem in Standard Form

Page 40: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Optimal and Locally Optimal Points

Page 41: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Implicit Constraints

Page 42: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Convex Optimization Problem

Page 43: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Example

Page 44: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Local and Global Optima

Page 45: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Optimality Criterion for Differentiable

Page 46: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Examples

Page 47: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Popular Convex Problems

Linear Program (LP) Linear-fractional Program Quadratic Program (QP) Quadratically Constrained Quadratic

program (QCQP) Second-order Cone Programming

(SOCP) Geometric Programming (GP) Semidefinite Program (SDP)

Page 48: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Outline

Introduction

Convex Sets & Functions

Convex Optimization Problems

Duality

Convex Optimization Methods

Summary

Page 49: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Lagrangian

Page 50: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Lagrangian

Page 51: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Lagrange Dual Function

Page 52: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Lagrange Dual Function

Page 53: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Least-norm Solution of Linear Equations

Page 54: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Lagrange Dual and Conjugate Function

Page 55: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

The Dual Problem

Page 56: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Weak and Strong Duality

Page 57: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Weak and Strong Duality

Page 58: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Slater’s Constraint Qualification

Page 59: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Complementary Slackness

Page 60: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Karush-Kuhn-Tucker (KKT) Conditions

Page 61: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

KKT Conditions for Convex Problem

Page 62: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (1)

The Optimization Problem

Define the hinge loss as

Its Conjugate Function is

Page 63: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (2)

The Optimization Problem becomes

It is Equivalent to

The Lagrangian is

Page 64: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (3)

The Lagrange Dual Function is

Minimize one by one

Page 65: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (4)

Finally, We Obtain

The Dual Problem is

Page 66: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (5)

Karush-Kuhn-Tucker (KKT) Conditions

Page 67: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (5)

Karush-Kuhn-Tucker (KKT) Conditions

Can be used to recover ∗ from ∗

Page 68: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

An Example—SVM (5)

Karush-Kuhn-Tucker (KKT) Conditions

Can be used to recover ∗ from ∗

Page 69: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Outline

Introduction

Convex Sets & Functions

Convex Optimization Problems

Duality

Convex Optimization Methods

Summary

Page 70: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

More Assumptions

Lipschitz continuous

Strong Convexity

Smooth1 1 1 2

,

,

Page 71: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Performance Measure

The Problem

Convergence Rate

Iteration Complexity

Page 72: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Gradient-based Methods

The Convergence Rate

GD—Gradient Descent AGD—Nesterov’s Accelerated Gradient

Descent [Nesterov, 2005, Nesterov, 2007, Tseng, 2008]

EGD—Epoch Gradient Descent [Hazan and Kale, 2011]

SGD —SGD with -suffix Averaging [Rakhlinet al., 2012]

Page 73: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Gradient Descent (1)

Move along the opposite direction of gradients

Page 74: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Gradient Descent (2)

Gradient Descent with Projection

Projection Operator

Page 75: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Analysis (1)

Page 76: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Analysis (2)

Page 77: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Analysis (3)

Page 78: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

A Key Step (1)

Evaluate the Gradient or Subgradient Logit loss

Page 79: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

A Key Step (1)

Evaluate the Gradient or Subgradient Logit loss

Hinge loss

Page 80: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

A Key Step (2)

Evaluate the Gradient or Subgradient Logit loss

Hinge loss

Page 81: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

A Key Step (3)

Evaluate the Gradient or Subgradient Logit loss

Hinge loss

Page 82: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Outline

Introduction

Convex Sets & Functions

Convex Optimization Problems

Duality

Convex Optimization Methods

Summary

Page 83: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Summary

Convex Sets & Functions Definitions, Operations that Preserve

Convexity Convex Optimization Problems Definitions, Optimality Criterion

Duality Lagrange, Dual Problem, KKT Conditions

Convex Optimization Methods Gradient-based Methods

Page 84: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Reference (1) Hazan, E. and Kale, S. (2011)

Beyond the regret minimization barrier: an optimal algorithm for stochastic strongly-convex optimization. In Proceedings of the 24th Annual Conference on Learning Theory, pages 421–436.

Nesterov, Y. (2005)Smooth minimization of non-smooth functions. Mathematical Programming, 103(1):127–152.

Nesterov, Y. (2007).Gradient methods for minimizing composite objective function. Core discussion papers.

Page 85: LijunZhang zlj@nju.edu.cn //cs.nju.edu.cn/zlj/Course/DM_15_Lecture/Lecture... ·  · 2018-02-24Convex Optimization LijunZhang zlj@nju.edu.cn Modification of boyd/cvxbook/bv_cvxslides.pdf

Reference (2) Tseng, P. (2008).

On acclerated proximal gradient methods for convex-concave optimization. Technical report, University of Washington.

Boyd, S. and Vandenberghe, L. (2004).Convex Optimization. Cambridge University Press.

Rakhlin, A., Shamir, O., and Sridharan, K. (2012)Making gradient descent optimal for strongly convex stochastic optimization. In Proceedings of the 29th International Conference on Machine Learning, pages 449–456.