A classification for the performance of online SGD for high-dimensional inference

Gérard Ben Arous, Reza Gheissari, Aukosh Jagannath

TL;DR

This paper introduces a new concept, the "information exponent," to classify the difficulty of high-dimensional inference problems for online Stochastic Gradient Descent (SGD). They show that this exponent, derived from the population loss function, precisely predicts the sample complexity needed for SGD to find a good solution, revealing that most data is often used in an initial "search" phase.

What Problem Does This Paper Address?

Stochastic Gradient Descent (SGD) is a workhorse for optimization in machine learning and data science, especially in high-dimensional settings where we infer parameters from noisy data. However, understanding why and how SGD succeeds in these complex, often non-convex landscapes, particularly when starting from a random guess, has been challenging. Traditional analyses often rely on strong assumptions like convexity, which don't hold for many real-world problems. This paper aims to bridge this gap by providing a more general framework to predict SGD's performance, specifically focusing on the sample complexity (how much data is needed) and the distinct phases of its operation: an initial "search" phase and a subsequent "descent" phase.

Methods

The authors introduce a novel quantity called the information exponent of the population loss function. This exponent is determined by the first non-zero term in the Taylor expansion of the loss function around the "equator" of the parameter space (where correlation with the true parameter is minimal). They then use this exponent to establish sharp theoretical thresholds for the sample complexity required for SGD to achieve "weak recovery" (finding a macroscopic correlation with the true parameter) and "strong recovery" (consistent estimation). Their analysis relies on a system of difference inequalities and carefully controls the effects of both the population loss (the "drift") and the sample-wise error (the "directional error martingale"). Crucially, their approach avoids assumptions like uniform convexity or Lipschitz bounds on the loss function.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and applies its framework to established inference tasks rather than introducing new datasets.

Key Insights and Ideas

  • The Information Exponent is Key: The paper demonstrates that a simple geometric property of the population loss function – its information exponent – dictates the sample complexity of SGD in high dimensions. This is a significant simplification compared to relying on complex landscape properties.
  • Two-Phase SGD: The analysis confirms the heuristic view of SGD operating in two phases: an initial, often slow, "search" phase to establish some correlation with the true parameter, followed by a rapid "descent" phase to a local minimum.
  • Search Phase Dominance: For problems with an information exponent of 2 or higher, almost all the data is consumed in the initial search phase. Once non-trivial correlation is achieved, the descent is remarkably fast and independent of the information exponent.
  • Activation Functions Matter Dramatically: In supervised learning, minor changes to the activation function can drastically alter the information exponent and, consequently, the sample complexity required for estimation.
  • Beyond Convexity: The framework provides guarantees for non-convex loss functions, which are prevalent in many high-dimensional inference problems.

Key Results

The paper establishes sharp thresholds for sample complexity based on the information exponent ($k$):

  • k=1: Linear sample complexity for weak recovery.
  • k=2: Quasi-linear sample complexity (logarithmic factor).
  • k≥3: Polynomial sample complexity ($N^{k-2}$ up to logarithmic factors).

These thresholds are shown to be nearly optimal. The analysis also reveals that the descent phase takes at most linear time in the number of samples, regardless of the information exponent. The authors apply these results to a range of problems, including phase retrieval, generalized linear models, online PCA, and spiked tensor models, showing how their framework classifies these problems and predicts their difficulty for SGD.

Limitations and Future Work

  • Focus on Rank-One: The current analysis is primarily focused on rank-one parameter estimation problems. The authors suggest that their classification framework might extend to more general settings, including finite rank estimation and offline algorithms.
  • Sphere vs. Full Space: The analysis is restricted to parameters on the unit sphere. They speculate that a similar classification might hold in full space with appropriate regularization (e.g., an L2 penalty).
  • Initialization Dependence: While the results are strong for random initializations near the equator, the behavior for initializations exactly at the equator (where the correlation is zero) might require further investigation, though they note that symmetry can often handle this.
  • Generalization of Assumptions: The authors mention that their results hold for a broader class of losses where $\phi$ varies with $N$, provided certain generalizations of their assumptions are met.

The paper opens avenues for understanding SGD's behavior in a wider range of complex, high-dimensional statistical learning problems by providing a principled way to classify their difficulty.

Summary updated

Abstract

Stochastic gradient descent (SGD) is a popular algorithm for optimization problems arising in high-dimensional inference tasks. Here one produces an estimator of an unknown parameter from independent samples of data by iteratively optimizing a loss function. This loss function is random and often non-convex. We study the performance of the simplest version of SGD, namely online SGD, from a random start in the setting where the parameter space is high-dimensional. We develop nearly sharp thresholds for the number of samples needed for consistent estimation as one varies the dimension. Our thresholds depend only on an intrinsic property of the population loss which we call the information exponent. In particular, our results do not assume uniform control on the loss itself, such as convexity or uniform derivative bounds. The thresholds we obtain are polynomial in the dimension and the precise exponent depends explicitly on the information exponent. As a consequence of our results, we find that except for the simplest tasks, almost all of the data is used simply in the initial search phase to obtain non-trivial correlation with the ground truth. Upon attaining non-trivial correlation, the descent is rapid and exhibits law of large numbers type behavior. We illustrate our approach by applying it to a wide set of inference tasks such as phase retrieval, and parameter estimation for generalized linear models, online PCA, and spiked tensor models, as well as to supervised learning for single-layer networks with general activation functions.
BibTeX
@article{arous2021classification,
  author = {Gérard Ben Arous and Reza Gheissari and Aukosh Jagannath},
  title = {{A classification for the performance of online SGD for high-dimensional inference}},
  journal = {J. Mach. Learn. Res.},
  year = {2021},
  url = {https://openreview.net/forum?id=re5KAEiruK},
}
Figure