Escolar Documentos
Profissional Documentos
Cultura Documentos
Machine Learning
1. Optimization
Models
Short Course
Robust Optimization and Machine Learning What is Optimization?
Definition
Examples
Nomenclature
Other standard forms
Extensions
Convexity
Global vs. local optima
References
Laurent El Ghaoui
What is Optimization?
Definition
Examples
What is Optimization? Nomenclature
Definition Other standard forms
Examples Extensions
Nomenclature Convexity
Other standard forms Global vs. local optima
Extensions Convex problems
Software
Non-convex problems
Non-convex problems
The Role of Convexity References
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Robust Optimization &
Outline Machine Learning
1. Optimization
Models
What is Optimization?
Definition
Examples
What is Optimization? Nomenclature
Definition Other standard forms
Examples Extensions
Nomenclature Convexity
Other standard forms Global vs. local optima
Extensions Convex problems
Software
Non-convex problems
Non-convex problems
The Role of Convexity References
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Robust Optimization &
Optimization problem Machine Learning
1. Optimization
A standard form Models
What is Optimization?
Definition
Examples
Nomenclature
Other standard forms
Extensions
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
min kX T w − yk2
w
where
I X = [x1 , . . . , xm ] is a n × m matrix of data points (xi ∈ Rn );
I y is a response vector;
I k · k2 is the l2 (i.e., Euclidean) norm.
I Many variants (with e.g., constraints) exist (more on this later).
I Perhaps the most popular / useful optimization problem.
Robust Optimization &
Example Machine Learning
1. Optimization
Linear classification Models
What is Optimization?
Definition
Examples
Nomenclature
Other standard forms
Extensions
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
m
X
min max(0, 1 − yi (w T xi + b))
w,b
i=1
where
I X = [x1 , . . . , xm ] is a n × m matrix of data points (xi ∈ Rn );
s.t. −1 ≤ x1 ≤ 2, 0 ≤ x2 ≤ 3. Examples
Nomenclature
Other standard forms
Extensions
Convexity
I Feasible set in light blue. Global vs. local optima
Convex problems
I 0.1- suboptimal set in darker Software
References
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Here, the risk term kwk22 controls the variance associated with noise
in X .
Robust Optimization &
Robust optimization Machine Learning
1. Optimization
Definition Models
In many instances the problem data is not known exactly. Assume that
What is Optimization?
the functions fi in the original problem also depend on an “uncertainty” Definition
vector u that is unknown, but bounded: u ∈ U , with the set U given. Examples
Nomenclature
Other standard forms
Extensions
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
References
(a + u)T x ≤ b, Definition
Examples
Nomenclature
with u’s components are only known within a given set U. The robust Other standard forms
Extensions
counterpart is: Convexity
∀ u ∈ U : (a + u)T x ≤ b. Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Robust counterpart when A is a box (left panel) and a sphere (right panel).
Robust Optimization &
Stochastic optimization Machine Learning
1. Optimization
Definition Models
References
I x-variables correspond to decisions taken now.
I y -variables correspond to decisions taken when uncertainty w is
revealed.
What is Optimization?
Definition
Examples
What is Optimization? Nomenclature
Definition Other standard forms
Examples Extensions
Nomenclature Convexity
Other standard forms Global vs. local optima
Extensions Convex problems
Software
Non-convex problems
Non-convex problems
The Role of Convexity References
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Robust Optimization &
Global vs. local minima Machine Learning
1. Optimization
The curse of optimization Models
optimal. Extensions
Convexity
I In many applications, we are Global vs. local optima
References
Curse of optimization
Optimization algorithms for general problems can be trapped in local
minima.
Robust Optimization &
Convex function Machine Learning
1. Optimization
Definition Models
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Examples:
I Linear programming (f0 , . . . , fm affine).
I Quadratic programming (f0 convex quadratic, f1 , . . . , fm affine).
I Second-order cone programming (f0 linear, fi ’s of the form
kAi x + bi k2 + ciT x + di , for appropriate data Ai , bi , ci , di ).
Robust Optimization &
Software for convex optimization Machine Learning
1. Optimization
Models
I Free (if you have matlab): CVX [3], Yalmip, Mosek’s student
version [1].
What is Optimization?
I Really free: [4] (in development). Definition
Examples
I Commercial: Mosek, CPLEX, etc. Nomenclature
Other standard forms
Extensions
Convexity
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Robust Optimization &
Non-convex problems Machine Learning
1. Optimization
Examples Models
What is Optimization?
Definition
Examples
What is Optimization? Nomenclature
Definition Other standard forms
Examples Extensions
Nomenclature Convexity
Other standard forms Global vs. local optima
Extensions Convex problems
Software
Non-convex problems
Non-convex problems
The Role of Convexity References
Global vs. local optima
Convex problems
Software
Non-convex problems
Non-convex problems
References
Robust Optimization &
References Machine Learning
1. Optimization
Models