Convex Sets (cont.) Convex Functions

Similar documents
Lecture 2: August 29, 2018

Shiqian Ma, MAT-258A: Numerical Optimization 1. Chapter 2. Convex Optimization

Convex sets and convex functions

Lecture 2: August 31

Convex sets and convex functions

COM Optimization for Communications Summary: Convex Sets and Convex Functions

2. Convex sets. x 1. x 2. affine set: contains the line through any two distinct points in the set

Affine function. suppose f : R n R m is affine (f(x) =Ax + b with A R m n, b R m ) the image of a convex set under f is convex

2. Convex sets. affine and convex sets. some important examples. operations that preserve convexity. generalized inequalities

Convex Optimization. Convex Sets. ENSAE: Optimisation 1/24

Tutorial on Convex Optimization for Engineers

Simplex Algorithm in 1 Slide

Lecture 2: August 29, 2018

Convex Sets. CSCI5254: Convex Optimization & Its Applications. subspaces, affine sets, and convex sets. operations that preserve convexity

Lecture 5: Properties of convex sets

CS675: Convex and Combinatorial Optimization Fall 2014 Convex Functions. Instructor: Shaddin Dughmi

Lecture 4: Convexity

Lecture 2 Convex Sets

Convexity I: Sets and Functions

Introduction to Modern Control Systems

Introduction to Convex Optimization. Prof. Daniel P. Palomar

Convex Optimization - Chapter 1-2. Xiangru Lian August 28, 2015

Mathematical Programming and Research Methods (Part II)

Convex Optimization. 2. Convex Sets. Prof. Ying Cui. Department of Electrical Engineering Shanghai Jiao Tong University. SJTU Ying Cui 1 / 33

60 2 Convex sets. {x a T x b} {x ã T x b}

CS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets. Instructor: Shaddin Dughmi

This lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course?

Convexity: an introduction

Lecture: Convex Sets

Numerical Optimization

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets. Instructor: Shaddin Dughmi

Lecture 2. Topology of Sets in R n. August 27, 2008

Convexity Theory and Gradient Methods

Lecture 2 - Introduction to Polytopes

2. Convex sets. affine and convex sets. some important examples. operations that preserve convexity. generalized inequalities

Convex Optimization M2

Convex Geometry arising in Optimization

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 6

of Convex Analysis Fundamentals Jean-Baptiste Hiriart-Urruty Claude Lemarechal Springer With 66 Figures

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example).

CMU-Q Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization. Teacher: Gianni A. Di Caro

LECTURE 10 LECTURE OUTLINE

Lecture 2 September 3

Convex Sets. Pontus Giselsson

Applied Integer Programming

Introduction to optimization

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Nonlinear Programming

Math 414 Lecture 2 Everyone have a laptop?

Convex Optimization Lecture 2

Section 5 Convex Optimisation 1. W. Dai (IC) EE4.66 Data Proc. Convex Optimisation page 5-1

CS675: Convex and Combinatorial Optimization Spring 2018 Consequences of the Ellipsoid Algorithm. Instructor: Shaddin Dughmi

MTAEA Convexity and Quasiconvexity

Chapter 4 Convex Optimization Problems

13. Cones and semidefinite constraints

Lecture 3: Convex sets

Lecture 19: Convex Non-Smooth Optimization. April 2, 2007

Linear programming and duality theory

Lecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh

Convexity. 1 X i is convex. = b is a hyperplane in R n, and is denoted H(p, b) i.e.,

Aspects of Convex, Nonconvex, and Geometric Optimization (Lecture 1) Suvrit Sra Massachusetts Institute of Technology

POLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if

Lecture 5: Duality Theory

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

EC 521 MATHEMATICAL METHODS FOR ECONOMICS. Lecture 2: Convex Sets

Chapter 4 Concepts from Geometry

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

Lecture 19 Subgradient Methods. November 5, 2008

Conic Duality. yyye

Mathematics 6 12 Section 26

FAQs on Convex Optimization

A Course in Convexity

Alternating Projections

Math 5593 Linear Programming Lecture Notes

Finite Math Linear Programming 1 May / 7

maximize c, x subject to Ax b,

Week 5. Convex Optimization

Convexity and Optimization

Intersection Cuts with Infinite Split Rank

MATH 890 HOMEWORK 2 DAVID MEREDITH

Differential Geometry: Circle Patterns (Part 1) [Discrete Conformal Mappinngs via Circle Patterns. Kharevych, Springborn and Schröder]

Convex Optimization Euclidean Distance Geometry 2ε

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

Integral Geometry and the Polynomial Hirsch Conjecture

Lec13p1, ORF363/COS323

Lower bounds on the barrier parameter of convex cones

Lecture 1: Introduction

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

CS 435, 2018 Lecture 2, Date: 1 March 2018 Instructor: Nisheeth Vishnoi. Convex Programming and Efficiency

Unconstrained Optimization Principles of Unconstrained Optimization Search Methods

CME307/MS&E311 Theory Summary

CS522: Advanced Algorithms

MATHEMATICS Curriculum Grades 10 to 12

LECTURE 18 - OPTIMIZATION

IE 5531: Engineering Optimization I

Polytopes Course Notes

LP Geometry: outline. A general LP. minimize x c T x s.t. a T i. x b i, i 2 M 1 a T i x = b i, i 2 M 3 x j 0, j 2 N 1. where

Figure 2.1: An example of a convex set and a nonconvex one.

Unconstrained Optimization

Machine Learning. Topic 5: Linear Discriminants. Bryan Pardo, EECS 349 Machine Learning, 2013

Transcription:

Convex Sets (cont.) Convex Functions Optimization - 10725 Carlos Guestrin Carnegie Mellon University February 27 th, 2008 1 Definitions of convex sets Convex v. Non-convex sets Line segment definition: Convex combination definition: Probabilistic interpretation: If C R n is convex Define a probability distribution Then 2 1

General convex hull Given some set C Convex hull of C, conv C Properties of convex hull: Idempotency: Convexity: Usefulness: 3 Examples of convex sets we have already seen R n point half space polyhedron line line segment linear subspace 4 2

First non-linear example: Euclidean balls and Ellipsoids B(x c,r) - ball centered at x c centered at r: Convexity: Ellipsoid: (x-x c ) T -1 (x-x c ) 1 is positive semidefinite 5 Examples of Norm Balls Scaled Euclidian (L 2 ) L 1 norm (absolute) Mahalanobis L1 (max) norm 6 3

Norm balls Convexity of norm balls Properties of norms: Scaling Triangle inequality Norm balls are extremely important in ML What about achieving a norm with equality? 7 Cones Set C is a cone if set is invariant to non-negative scaling If the cone is convex, we call it: extremely important in ML (as we ll see) A cool cone: The ice cream cone a.k.a. second order cone 8 4

Positive semidefinite cone Positive semidefinite matrices: Positive semidefinite cone: Alternate definition: Eigenvalues Convexity: Examples in ML: A fundamental convex set Useful in a huge number of applications Basis for very cool approximation algorithms Generalizes pretty many named convex optimization problems 9 Operations that preserve convexity 1: Intersection Intersection of convex sets is convex Examples: Polyhedron Robust linear regression Positive semidefinite cone 10 5

Operations that preserve convexity 2: Affine functions Affine function: f(x) = Ax + b Set S is convex Image of S under f is convex Translation: Scaling: General affine transformation: Why is ellipsoid convex? (x-x c ) T -1 (x-x c ) 1 is positive semidefinite 11 Operations that preserve convexity 3: Linear-fractional functions Linear fractional functions: Closely related to perspective projections (useful in computer vision) Given convex set C, image according to linear fractional function: Example: 12 6

Separating hyperplane theorem Theorem: Every two non-intersecting convex sets C and D have a separating hyperplane: Intuition of proof (for special case) Minimum distance between sets: If minimum is achieved in the sets (e.g., both sets closed, and one is bounded), then 13 Supporting hyperplane General definition: Some set C R n Point x 0 on boundary Boundary is the closure of the set minus its interior Supporting hyperplane: Geometrically: a tangent at x 0 Half-space contains C: Theorem: for any non-empty convex set C, and any point x 0 in the boundary of C, there exists (at least one) supporting hyperplane at x 0 (One) Converse: If set C is closed with non-empty interior, and there is a supporting hyperplane at every boundary point, then C is convex 14 7

What you need to know Definitions of convex sets Main examples of convex sets Proving a set is convex Operations that preserve convexity There are many many many other operations that preserve convexity See book for several more examples Separating and supporting hyperplanes 15 Convex Functions Function f:r n R is convex if Domain is convex Generalization: Jensen s inequality: Strictly convex function: 16 8

Concave functions Function f is concave if Strictly concave: We will be able to optimize: 17 Proving convexity for a very simple example f(x)=x 2 18 9

First order condition If f is differentiable in all dom f Then f convex if and only if dom f is convex and 19 Second order condition (1D f) If f is twice differentiable in dom f Then f convex if and only if dom f is convex and Note 1: Strictly convex if: Note 2: dom f must be convex f(x)=1/x 2 dom f = {x R x 0} 20 10

Second order condition (general case) If f is twice differentiable in dom f Then f convex if and only if dom f is convex and Note 1: Strictly convex if: 21 Quadratic programming f(x) = (1/2) x T Ax + b T x + c Convex if: Strictly convex if: Concave if: Strictly concave if: 22 11

Simple examples Exponentiation: e ax convex on R, any a R Powers: x a on R ++ Convex for a 0 or a 1 Concave for 0 a 1 Logarithm: log x Concave on R ++ Entropy: -x log x Concave on R + (0 log 0 = 0) 23 A few important examples for ML Every norm on R n is convex Log-sum-exp: Convex in R n Log-det: Convex in S n ++ 24 12

Extended-value extensions Convex function f over convex dom f Extended-value extension: Still convex: Very nice for notation, e.g., Minimization: Sum: f 1 over convex dom f 1 f 2 over convex dom f 2 25 Epigraph Graph of a function f:r n R {(x,t) x dom f, f(x)=t} Epigraph: epi f = Theorem: f is convex if and only if 26 13

Support of a convex set and epigraph If f is convex & differentiable f(x) f(x 0 ) + f(x 0 )(x- x 0 ) For (x,t) epi f, t f(x), thus: Rewriting: Thus, if convex set is defined by epigraph of convex function Obtain support of set by gradient!! If f is not differentiable 27 14