Abstract
Population risk is always of primary interest in machine learning; however, learning algorithms only have access to the empirical risk. Even for applications with nonconvex nonsmooth losses (such as modern deep networks), the population risk is generally significantly more well-behaved from an optimization point of view than the empirical risk. In particular, sampling can create many spurious local minima. We consider a general framework which aims to optimize a smooth nonconvex function $F$ (population risk) given only access to an approximation $f$ (empirical risk) that is pointwise close to $F$ (i.e., $\|F-f\|_{\infty} \le ν$). Our objective is to find the $ε$-approximate local minima of the underlying function $F$ while avoiding the shallow local minima---arising because of the tolerance $ν$---which exist only in $f$. We propose a simple algorithm based on stochastic gradient descent (SGD) on a smoothed version of $f$ that is guaranteed to achieve our goal as long as $ν\le O(ε^{1.5}/d)$. We also provide an almost matching lower bound showing that our algorithm achieves optimal error tolerance $ν$ among all algorithms making a polynomial number of queries of $f$. As a concrete example, we show that our results can be directly used to give sample complexities for learning a ReLU unit.
Introduction
In machine learning, the primary objective is to minimize the population risk ($F$), which represents the expected loss over the entire data distribution. However, in practice, we only have access to the empirical risk ($f$), calculated from a finite sample. While the population risk is often smooth and well-behaved, the process of sampling creates "spurious" local minima in the empirical risk. These are shallow pits in the optimization landscape that do not represent true underlying patterns but can easily trap standard optimization algorithms.
Problem Formulation
The core challenge is: how can we find an $\epsilon$-approximate local minimum of a smooth function $F$ when we only have access to an approximation $f$ that is pointwise close to $F$ (i.e., $\|F - f\|_\infty \le \nu$)?
The ZPSGD Algorithm
The authors propose an algorithm called Zero-th order Perturbed Stochastic Gradient Descent (ZPSGD). It combines three key ideas:
- Gaussian Smoothing: Since the empirical risk $f$ might be non-smooth, the algorithm optimizes a smoothed version of $f$. This is done by averaging function values in a small neighborhood, effectively "blurring" out the shallow, spurious local minima.
- Zero-th Order Gradient Estimation: The algorithm does not require the gradient of $f$. Instead, it estimates the gradient of the smoothed function using only function evaluations (queries) of $f$.
- Perturbations: To avoid getting stuck at saddle points, the algorithm occasionally adds random noise to its current position.
Theoretical Results and Key Insights
The paper provides a rigorous characterization of the error tolerance $\nu$ required to find an $\epsilon$-approximate local minimum.
The $\epsilon^{1.5}$ Scaling
The authors discover that the noise level $\nu$ must be no larger than $O(\epsilon^{1.5})$. This specific power ($1.5$) is a fundamental geometric property of how local minima emerge from perturbations in non-convex landscapes.
The Curse of Dimensionality
For algorithms that run in polynomial time, the tolerable noise level $\nu$ must decrease as $1/d$, where $d$ is the number of dimensions. This implies that as models grow in size, they become increasingly sensitive to sampling noise when attempting to locate true local minima.
Statistical-Computational Gap
The research highlights a gap between what is possible with infinite time versus polynomial time. With exponential time, one can tolerate much more noise ($\nu \approx \epsilon^{1.5}$) because grid searches can ignore dimensionality. However, for efficient algorithms, the $1/d$ dependence is shown to be optimal.
Conclusion
This work establishes the optimal error tolerance for finding local minima of the population risk using empirical data. The proposed ZPSGD algorithm is guaranteed to find an $\epsilon$-second-order stationary point of $F$ as long as $\nu \le O(\epsilon^{1.5}/d)$. These results provide a theoretical framework for understanding the sample complexity of non-convex learning tasks, such as training ReLU units.
Summary updated