Improved Learning Rates for Stochastic Optimization: Two Theoretical Viewpoints

Shaojie Li, Yong Liu · OpenReview

Abstract

Generalization performance of stochastic optimization stands at a central place in learning theory. In this paper, we investigate the excess risk performance and work towards improved learning rates for two popular approaches of stochastic optimization: empirical risk minimization (ERM) and stochastic gradient descent (SGD). Although there exists plentiful generalization analysis of ERM and SGD for supervised learning, current theoretical understandings either require restrictive assumptions (e.g., strong convexity) or yield slow rates ($O(1/\sqrt{n})$), particularly in nonconvex settings. Motivated by these limitations, we provide improved rates under milder assumptions in convex learning and derive faster rates in nonconvex learning. Our analysis spans two popular theoretical viewpoints: stability and uniform convergence. Specifically, in the stability regime, we present high-probability learning rates of order $O(1/n)$ for ERM and SGD. Furthermore, we improve these rates to $O(1/n^2)$ within the uniform convergence regime. To our knowledge, these represent the current state-of-the-art learning rates for ERM and SGD.

Introduction

In machine learning, the ultimate goal is to minimize excess risk—the difference between a model's performance on training data and its performance on the underlying population distribution. While Empirical Risk Minimization (ERM) and Stochastic Gradient Descent (SGD) are the workhorses of the field, theoretical guarantees for their performance often suffer from two primary drawbacks:

  1. The "Slow Rate" Trap: Many existing theories only guarantee a convergence rate of $O(1/\sqrt{n})$, implying that a massive increase in data is required to achieve marginal improvements in accuracy.
  2. The "Strict Assumption" Trap: To achieve "fast rates" (such as $O(1/n)$), researchers typically assume the objective function is strongly convex. However, many modern models, including deep neural networks, do not satisfy this property.

Furthermore, many existing bounds are stated "in expectation," describing average performance. This paper shifts the focus to high-probability bounds, providing rigorous guarantees for individual runs of an algorithm.

Theoretical Frameworks: Stability and Uniform Convergence

The authors approach the problem through two distinct mathematical lenses to bridge the gap between theoretical stability and practical convergence.

1. Algorithmic Stability

Algorithmic stability measures how much a model's output changes when a single training example is replaced. If an algorithm is stable, it is less prone to overfitting. By utilizing uniform stability, the authors derive high-probability rates of $O(1/n)$. This approach is particularly valuable for producing dimension-independent bounds, ensuring that the complexity of the model does not exponentially degrade the learning rate.

2. Uniform Convergence of Gradients

This viewpoint examines how closely the gradient calculated from the training data matches the gradient of the true population. By combining uniform convergence with "localization" techniques, the authors push the learning rates to $O(1/n^2)$. A key innovation here is the use of a Bernstein-type noise condition at the optimal point, which allows for fast rates without requiring the objective function to be Lipschitz continuous.

Relaxing Assumptions: QG and PL Conditions

A major contribution of this work is the replacement of rigid "strong convexity" requirements with milder, more realistic curvature conditions:

  • Quadratic Growth (QG): Used for convex problems, this condition is less restrictive than strong convexity but still allows for the identification of a clear minimum.
  • Polyak-Lojasiewicz (PL) Condition: Used for nonconvex problems, the PL condition is often satisfied by modern neural network architectures.

By proving results under these conditions, the authors make their theoretical findings applicable to a much broader range of practical machine learning tasks.

Key Results and State-of-the-Art Rates

The paper establishes a new suite of high-probability learning rates that improve upon previous benchmarks:

  • Convex ERM & SGD: The analysis achieves $O(1/n)$ via stability and improves this to $O(1/n^2)$ via uniform convergence under the Quadratic Growth condition. This represents the first high-probability $O(1/n)$ stability-based rate for both smooth and non-smooth objectives.
  • Nonconvex Optimization: For objectives satisfying the PL condition, the authors derive $O(1/n^2)$ rates for both ERM and SGD. This is a significant leap from previous $O(1/\sqrt{n})$ or $O(1/n)$ results in nonconvex settings.

Discussion: The End of Overfitting?

One of the most provocative findings (Theorem 32) suggests that under the PL condition, the statistical error actually decreases as the number of iterations increases. This provides a theoretical hint as to why massive, overparameterized neural networks generalize so well in practice: "overfitting" may not be an inevitable consequence of extended training in certain nonconvex landscapes.

Limitations and Future Directions

While the results are state-of-the-art, some hurdles remain. The stability results for nonconvex learning currently rely on a "projection assumption," requiring the algorithm to consistently find the closest optimal point. Additionally, the $O(1/n^2)$ rates are asymptotic, requiring a minimum sample size ($n$) before the fast rate is realized.

Future research may extend these techniques to other optimization methods, such as Stochastic Variance Reduced Gradient (SVRG) and Coordinate Descent, or apply them to the broader field of distribution learning.

Summary updated

BibTeX
@misc{li2021improved,
  author = {Shaojie Li and Yong Liu},
  title = {{Improved Learning Rates for Stochastic Optimization: Two Theoretical Viewpoints}},
  year = {2021},
  eprint = {2107.08686},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.08686},
}
Figure