Complexity of Finding Stationary Points of Nonconvex Nonsmooth Functions

Jingzhao Zhang, Hongzhou Lin, Stefanie Jegelka, Suvrit Sra, Ali JadbabaieICML 2020

Introduction

In the realm of optimization, finding "stationary points" (where the gradient is zero) is a standard objective. For smooth functions, well-established "non-asymptotic" rates exist, dictating exactly how many iterations are required to get within $\epsilon$ of a solution. However, modern machine learning—particularly deep learning—relies heavily on nonsmooth functions (e.g., ReLU activations) and nonconvex landscapes.

Until now, finite-time guarantees for this specific combination were missing. Most existing theory was "asymptotic," guaranteeing convergence only as time approaches infinity. This paper provides the first non-asymptotic complexity analysis for finding stationary points in nonsmooth, nonconvex optimization, focusing on the broad class of Hadamard semi-differentiable functions.

The Intractability Wall and a New Metric

The authors tackle a fundamental barrier: for nonsmooth nonconvex functions, finding a traditional stationary point in finite time is actually intractable. Because the function can change its slope abruptly, no algorithm can guarantee finding a point with a nearly zero gradient in a finite number of steps.

To bypass this, the authors introduce a more practical target: $(\delta, \epsilon)$-stationarity. Instead of seeking a single point with a small gradient, they look for a point $x$ where a convex combination of gradients in a small neighborhood (of radius $\delta$) is small. Intuitively, while the slope exactly at $x$ might be steep or undefined, the "average" slope around $x$ is nearly flat. This shifts the goalpost just enough to bridge the gap between nonsmooth and smooth optimization.

Interpolated Normalized Gradient Descent (INGD)

To achieve this new standard of stationarity, the authors propose a randomized algorithm called Interpolated Normalized Gradient Descent (INGD), applicable in both deterministic and stochastic settings.

  • Randomized Search: In smooth optimization, the gradient dictates the descent direction. In nonsmooth landscapes, a single point's gradient can be misleading. INGD randomly samples points along a segment to find a "generalized" gradient, effectively averaging out the nonsmoothness to escape sharp, problematic areas.
  • Normalization and Momentum: The algorithm employs normalized steps and a momentum-like term to stabilize the inherently "jumpy" nature of nonsmooth gradients.

Theoretical Complexity Bounds

The paper's primary contribution is providing concrete complexity bounds for finding a $(\delta, \epsilon)$-stationary point. The authors prove a lower bound showing that any algorithm must have at least a $1/\delta$ dependence in its complexity, meaning a "local" view of a nonsmooth function comes at a strict computational cost.

Summary of deterministic and stochastic rates for finding stationary points.

As shown in the theoretical rates above, the INGD algorithm achieves a complexity of $\tilde{\mathcal{O}}(\epsilon^{-3}\delta^{-1})$ in deterministic settings and $\tilde{\mathcal{O}}(\epsilon^{-4}\delta^{-1})$ in stochastic settings.

Empirical Validation

While primarily a theoretical breakthrough, the authors validate their findings by training a ResNet20 model on the CIFAR-10 dataset. This serves as a proof of concept to demonstrate that the theoretically derived Stochastic INGD performs competitively with industry-standard optimizers.

Train and test accuracy of SGD, ADAM, and INGD on ResNet20/CIFAR-10.

In these experiments, the INGD algorithm matches the training and test accuracy of SGD with momentum and eventually outperforms ADAM in terms of final test accuracy. This suggests that the theoretical momentum and adaptivity mechanisms derived in the paper translate effectively to practical deep learning scenarios.

Limitations and Future Work

The paper opens several avenues for future research:

  • Optimal $\epsilon$ Dependence: While the $\delta^{-1}$ dependence is proven optimal, it remains an open question whether the $\epsilon^{-3}$ or $\epsilon^{-4}$ rates can be further improved.
  • Function Evaluations: The deterministic version of INGD requires checking the function value to confirm descent. In massive-scale machine learning, calculating the exact loss across a full dataset is often prohibitively expensive.
  • Beyond Directional Differentiability: The analysis assumes functions are "directionally differentiable." While this covers standard architectures like ReLUs, expanding the theory to even less structured functions remains a challenge.

Summary updated

BibTeX
@inproceedings{zhang2020complexity,
  author = {Jingzhao Zhang and Hongzhou Lin and Stefanie Jegelka and Suvrit Sra and Ali Jadbabaie},
  title = {{Complexity of Finding Stationary Points of Nonconvex Nonsmooth Functions}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=EQ2ANvqEcQ6},
}
Figure