This lecture:

Batch Optimization

The most basic optimization framework is the focus of traditional “mathematical optimization” / “nonlinear programming”:

<aside> 🚧 Classic “mathematical” optimization

Goal:

$$ \newcommand{\E}{\mathbb E}

\begin{aligned} \min \quad & F(w) \\ \text{s.t. } \quad & w \in W \end{aligned} $$

</aside>

In the context of ML—

One prominent instance is “Empirical Risk Minimization”, aka finite-sum optimization:

<aside> 🚧 Finite-sum optimization / Empirical Risk Minimization (ERM)

Goal:

$$ \newcommand{\E}{\mathbb E}

\begin{aligned} \min_{w \in W} \; F_S(w) = \frac1n \sum_{i=1}^n f(w,z_i) \end{aligned} $$

given sample $S$ of data samples / examples $z_1, \ldots, z_n \in Z$

</aside>