[Paper Review] Generalization of ERM in Stochastic Convex Optimization: The Dimension Strikes Back
This paper demonstrates that in stochastic convex optimization, empirical risk minimization (ERM) requires a sample size scaling linearly with dimension $d$ for standard $\/ell_p/\ell_q$ settings, even under Lipschitz and bounded-radius constraints. This dimension-dependent sample complexity stands in stark contrast to alternative methods that achieve dimension-independent or logarithmic sample complexity in certain norms, revealing a fundamental limitation of ERM in high-dimensional settings.
In stochastic convex optimization the goal is to minimize a convex function $F(x) \doteq \E_{f\sim D}[f(x)]$ over a convex set $\K \subset \R^d$ where $D$ is some unknown distribution and each $f(\cdot)$ in the support of $D$ is convex over $\K$. The optimization is based on i.i.d.~samples $f^1,f^2,\ldots,f^n$ from $D$. A common approach to such problems is empirical risk minimization (ERM) that optimizes $F_S(x) \doteq \frac{1}{n}\sum_{i\leq n} f^i(x)$. Here we consider the question of how many samples are necessary for ERM to succeed and the closely related question of uniform convergence of $F_S$ to $F$ over $\K$. We demonstrate that in the standard $\ell_p/\ell_q$ setting of Lipschitz-bounded functions over a $\K$ of bounded radius, ERM requires sample size that scales linearly with the dimension $d$. This nearly matches standard upper bounds and improves on $\Omega(\log d)$ dependence proved for $\ell_2/\ell_2$ setting in (Shalev-Shwartz et al. 2009). In stark contrast, these problems can be solved using dimension-independent number of samples for $\ell_2/\ell_2$ setting and $\log d$ dependence for $\ell_1/\ell_\infty$ setting using other approaches. We also demonstrate that for a more general class of range-bounded (but not Lipschitz-bounded) stochastic convex programs an even stronger gap appears already in dimension 2.
Motivation & Objective
- To understand the sample complexity required for empirical risk minimization (ERM) to generalize in stochastic convex optimization.
- To investigate whether ERM achieves uniform convergence of the empirical risk $F_S$ to the true risk $F$ over the convex set $\K$.
- To compare the sample complexity of ERM with alternative approaches across different norm settings ($\ell_2/\ell_2$, $\ell_1/\ell_\infty$, and range-bounded functions).
- To identify settings where ERM's sample complexity is provably worse than that of other methods, especially in high dimensions.
Proposed method
- Analyzes the generalization performance of ERM in stochastic convex optimization under standard $\ell_p/\ell_q$ norm constraints.
- Considers the setting where each $f(\cdot)$ is convex over a convex set $\K \subset \mathbb{R}^d$ with bounded radius and Lipschitz constant, and $F(x) = \mathbb{E}_{f \sim D}[f(x)]$.
- Derives a lower bound on the number of i.i.d. samples $n$ required for ERM to achieve uniform convergence of $F_S(x)$ to $F(x)$ over $\K$, showing $n = \Omega(d)$ for standard settings.
- Compares ERM's sample complexity with alternative methods that achieve $O(\log d)$ or dimension-independent sample sizes in specific norm pairs.
- Uses a construction in dimension 2 to demonstrate a strong gap in sample complexity for range-bounded but not Lipschitz-bounded functions.
- Establishes that the linear dependence on $d$ nearly matches existing upper bounds, showing ERM's sample complexity is tight in this regime.
Experimental results
Research questions
- RQ1What is the minimum number of samples required for ERM to generalize in stochastic convex optimization under standard $\ell_p/\ell_q$ constraints?
- RQ2How does the sample complexity of ERM compare to alternative methods in different norm settings, such as $\ell_2/\ell_2$ and $\ell_1/\ell_\infty$?
- RQ3Is there a fundamental gap between ERM's performance and that of other optimization methods in high-dimensional settings?
- RQ4Can the linear dependence of ERM's sample complexity on dimension $d$ be avoided in certain function classes, such as range-bounded but not Lipschitz-bounded functions?
- RQ5Does the dimension dependence of ERM's sample complexity nearly match known upper bounds, indicating tightness?
Key findings
- ERM requires $\Omega(d)$ samples to achieve uniform convergence in the standard $\ell_p/\ell_q$ setting with Lipschitz and bounded-radius constraints, nearly matching existing upper bounds.
- This linear dependence on dimension $d$ contrasts sharply with alternative methods that achieve dimension-independent or $O(\log d)$ sample complexity in $\ell_2/\ell_2$ and $\ell_1/\ell_\infty$ settings.
- A stronger gap in sample complexity emerges even in dimension 2 for range-bounded (but not Lipschitz-bounded) stochastic convex programs.
- The result establishes that ERM's sample complexity is fundamentally limited by dimension in standard settings, highlighting a key weakness compared to other optimization approaches.
- The analysis confirms that the $\Omega(d)$ lower bound nearly matches known upper bounds, indicating that ERM's sample complexity is tight in this regime.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.