Can We Find Near-Approximately-Stationary Points of Nonsmooth Nonconvex Functions?

Ohad ShamirarXiv 2020

Abstract

This paper, authored by Ohad Shamir from the Weizmann Institute of Science, provides a rigorous theoretical analysis of the limits of nonsmooth, nonconvex optimization—a field central to training modern deep learning models. While finding approximately stationary points is efficient for smooth functions, this work proves that for nonsmooth functions, it is fundamentally impossible for black-box algorithms to find points even in the vicinity of such stationary points within finite time. This result suggests that current relaxations of stationarity may be too weak to be meaningful in practice.

Introduction: The Problem of Nonsmoothness

In optimization, finding the absolute global minimum of a nonconvex function is often impossible. Instead, practitioners typically aim for a stationary point—a location where the surface is flat and the gradient is zero. For smooth functions, standard gradient descent reliably finds an "approximately stationary" point.

However, modern artificial intelligence relies heavily on nonsmooth functions, such as those incorporating ReLU activation functions or max-pooling layers. These functions contain "kinks" where the gradient is undefined or changes abruptly. Recent research has proposed $(\delta, \epsilon)$-stationarity as a relaxation, which considers the average of gradients in a small neighborhood. Shamir's work addresses a more intuitive and stringent question: Can we find a point that is actually close (within distance $\delta$) to a point with a small gradient (norm $\le \epsilon$)?

Figure 1: A 3D visualization of a surface where identifying a true stationary point is complicated by the geometry of the function, illustrating the deceptive nature of stationarity in complex landscapes.

Methodology: Oracle Complexity and Adversarial Functions

The paper utilizes the framework of Oracle Complexity, treating optimization algorithms as "black boxes" that query function values and gradients at specific points. To establish the hardness of the problem, Shamir constructs several adversarial functions:

  1. Deceptive Stationarity: A 2D function where a point appears "stationary" under relaxed definitions (average gradient is zero), yet every point in its neighborhood possesses a large, steep gradient.
  2. The "Channel" Construction: A high-dimensional Lipschitz function that resembles a simple cone across most of its domain but hides a vanishingly thin "channel" leading to a flat region.
  3. Algorithm-Dependent Mapping: An affine transformation ensures that any deterministic or "linear-span" algorithm remains mathematically "blind" to the channel, preventing it from finding the flat region in a finite number of steps.

Key Insights and Results

The core finding of the paper is Theorem 1 (The No-Go Result). It states that for any standard gradient-based algorithm, there exists a well-behaved (Lipschitz, bounded below) function where the algorithm will fail to find a point within a constant distance of any $\epsilon$-stationary point. This hardness holds as long as the problem's dimension is at least twice the number of iterations ($d \ge 2T$).

Figure 3: 3D surface and contour plot illustrating the sharp 'kinks' and valleys characteristic of nonsmooth functions, which can hide stationary regions from black-box algorithms.

Several critical insights emerge from this proof:

  • Physical Misleading of Convex Hulls: Popular definitions of stationarity using the "convex hull" of gradients can be misleading. One can have steep, opposing cliffs where the "average" is flat, despite no actual flat ground existing.
  • The Curse of High Dimensions: In high-dimensional spaces, a "hidden" region can be made so small that the probability of a randomized algorithm discovering it is exponentially low.
  • Failure of Heuristics: Even randomized algorithms fail with high probability because the target region is too small to be found by chance.

Discussion and Limitations

While these results provide a sobering "reality check," they come with specific limitations. The proof applies to black-box algorithms that only observe local values and gradients. It does not preclude "white-box" algorithms that might exploit the known structure of a neural network (e.g., the specific locations of ReLU units).

The paper concludes that since "near-stationarity" is unattainable in the general nonsmooth case, the field must seek alternative definitions of success. Potential avenues include randomized smoothing or Lasry-Lions regularization, though these currently face challenges regarding computational cost and dimension dependency. Ultimately, "stationarity" itself may be an insufficient goal for nonsmooth nonconvex problems, as it does not always correlate with local optimality.

Summary updated

BibTeX
@misc{shamir2020can,
  author = {Ohad Shamir},
  title = {{Can We Find Near-Approximately-Stationary Points of Nonsmooth Nonconvex Functions?}},
  year = {2020},
  eprint = {2002.11962},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.11962},
}
Figure