Empirical Risk Minimization for Stochastic Convex Optimization: O(1/n)- and O(1/n2)-type of Risk Bounds

Lijun Zhang, Tianbao Yang, Rong Jin

Abstract

In Stochastic Convex Optimization (SCO), Empirical Risk Minimization (ERM) has traditionally been perceived as slower than Stochastic Approximation (SA) methods, with risk bounds typically limited to $O(1/\sqrt{n})$ or $O(1/n)$. This paper challenges that paradigm by demonstrating that the smoothness of objective functions can be leveraged to achieve significantly faster convergence. We establish new "optimistic" risk bounds of $O(1/n)$ and introduce a groundbreaking $O(1/n^2)$-type risk bound for scenarios with large sample sizes and small minimum risks. These results provide a new theoretical foundation for the efficiency of ERM in both general SCO and supervised learning contexts.

Introduction

Empirical Risk Minimization (ERM) is a fundamental technique in supervised learning, yet its theoretical guarantees in the broader field of Stochastic Convex Optimization (SCO) have often been pessimistic. Previous research suggested that ERM might struggle with certain convex problems that are efficiently handled by other methods, with standard bounds often stagnating at $O(1/\sqrt{n})$ for general convex functions or $O(1/n)$ for strongly convex ones.

This work investigates whether the "smoothness" of objective functions—specifically, the property that gradients do not change abruptly—can be utilized to break these historical barriers. By shifting the focus from simple Lipschitz continuity to smoothness and curvature, the authors provide a unified framework that yields substantially improved risk bounds.

Problem Formulation and Methodology

The core objective of SCO is to minimize an expected objective function: $$F(w) = \mathbb{E}[f(w)]$$ where access is limited to random samples of $f$. The ERM approach minimizes the empirical average of $n$ collected samples: $$\hat{F}(w) = \frac{1}{n} \sum_{i=1}^n f_i(w)$$

The analysis in this paper relies on three primary mathematical strategies:

  1. Uniform Convergence of Gradients: Rather than focusing solely on function value convergence, the authors analyze the convergence of the empirical function's gradients to the expected gradients.
  2. Exploiting Smoothness and Convexity: By assuming smoothness, concentration inequalities for vectors are employed to bound the excess risk more tightly.
  3. Complexity Measures: The authors utilize covering numbers to derive dimensionality-dependent bounds for general SCO and Rademacher complexity for dimensionality-independent bounds in supervised learning (e.g., generalized linear models).

As a purely theoretical contribution, this work does not rely on empirical datasets; instead, the results are established through rigorous mathematical proofs and theorems.

Key Results and Insights

The primary contribution of this work is the derivation of a hierarchy of new risk bounds that outperform existing benchmarks. The most significant finding is the establishment of an $O(1/n^2)$-type bound, which occurs when the function is both smooth and strongly convex, provided the sample size $n$ is sufficiently large.

Comparison of risk bounds for ERM in SCO across different literature and the current work.

Key insights from these results include:

  • The Power of Smoothness: Smoothness acts as a "booster" for risk bounds. When the minimum possible risk ($F_*$) is small—a common scenario in well-specified machine learning models—ERM accelerates to an $O(1/n)$ "optimistic" rate.
  • The $O(1/n^2)$ Breakthrough: For smooth and strongly convex functions with $n = \tilde{\Omega}(\kappa d)$, the risk bound drops to $O(1/\lambda n^2 + \kappa F_*/n)$. This represents the first time such a rate has been proven for ERM in this setting.
  • Dimensionality Independence: In the context of supervised learning (specifically GLMs), the requirement for a large $n$ can be made independent of the dimension $d$, extending the applicability of these fast rates to infinite-dimensional problems like kernel methods.

Discussion and Future Work

While these results significantly advance the understanding of ERM, several avenues for future research remain. The current bounds are tied to Hilbert or Euclidean spaces due to the specific definitions of smoothness and strong convexity used. Extending these findings to other geometries, such as $\ell_1$ or $\ell_\infty$ spaces, is a key challenge. Additionally, while this work vindicates ERM, similar $O(1/n^2)$ bounds have yet to be established for Stochastic Approximation (SA) methods like SGD, representing a promising frontier for optimization theory.

Summary updated

BibTeX
@inproceedings{zhang2017empirical,
  author = {Lijun Zhang and Tianbao Yang and Rong Jin},
  title = {{Empirical Risk Minimization for Stochastic Convex Optimization: O(1/n)- and O(1/n2)-type of Risk Bounds}},
  booktitle = {Conference on Learning Theory},
  year = {2017},
  url = {https://openreview.net/forum?id=vYoWkvejSIN},
}
Figure