NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficiently avoiding saddle points with zero order methods: No gradients required

Emmanouil-Vasileios Vlatakis-Gkaragkounis, Lampros Flokas, Georgios Piliouras

In many real-world machine learning tasks—such as hyperparameter tuning, black-box adversarial attacks, or reinforcement learning—we do not have access to the gradient of the objective function. Instead, we must rely on "zero-order" access: we can plug in an input and observe the output value, but we remain blind to the slope.

Optimizing non-convex functions under these conditions is notoriously difficult due to saddle points—regions where the gradient is zero, but which are not local minima. While standard gradient descent can be modified to "escape" these points, doing so with zero-order methods has historically been either computationally prohibitive or theoretically unsupported. Previous attempts often relied on "smoothing" the function, which introduced significant slowdowns proportional to the number of dimensions squared ($d^2$) or even to the fourth power ($d^4$).

This paper presents a breakthrough in derivative-free optimization, introducing algorithms that efficiently avoid saddle points and converge to local minima. By cleverly applying the Stable Manifold Theorem and analyzing gradient approximation errors directly, the authors achieve convergence rates that match first-order gradient methods, effectively eliminating the "dimension tax" previously thought inherent to zero-order non-convex optimization.

Bridging the Gap: Methodology

The authors bridge the gap between first-order and zero-order optimization using two primary approaches:

  1. Approximate Gradient Oracles: Instead of relying on a single rigid algorithm, they define a general framework for gradient approximators based on finite differences (e.g., forward, backward, or symmetric differences).
  2. Perturbed Approximate Gradient Descent (PAGD): They introduce a zero-order version of perturbed gradient descent that operates in two modes:
  3. Standard Step: If the approximate gradient is large, the algorithm takes a standard descent step.
  4. Escape Step: If the gradient is small (suggesting a potential saddle point), the algorithm adds a small amount of random noise to the current position and runs a few steps of approximate gradient descent to see if the function value drops significantly.

To prove the efficacy of this approach, the authors adapted the Stable Manifold Theorem. Usually, this theorem applies to fixed dynamical systems. However, zero-order methods are "time-dependent" because the approximation accuracy changes as the algorithm progresses. By expanding the "state space" of the system to include the accuracy parameter, they successfully proved that the probability of the algorithm getting stuck at a saddle point is zero.

Eliminating the Dimension Tax

The core "aha moment" of the paper is the realization that zero-order optimization does not need to be treated as "noisy first-order optimization of a smoothed function." By analyzing the gradient approximation error directly, the authors found they could avoid the dimension-dependent slowdowns that plagued previous work.

Comparison of iteration and evaluation complexities

As shown in the comparison table above, the proposed algorithm (Theorem 4) matches the $\tilde{\mathcal{O}}(1/\epsilon^2)$ iteration complexity of exact first-order methods. The only cost for lacking true gradients is a factor of $d$ in the number of function evaluations required to estimate the gradient, which is the information-theoretic minimum. Compared to previous state-of-the-art zero-order methods like FPSGD, which required $\tilde{\mathcal{O}}(d^4/\epsilon^4)$ function evaluations, this new method requires only $\tilde{\mathcal{O}}(d/\epsilon^2)$.

A key technical insight driving this efficiency is the robustness of "negative curvature" (the downhill direction from a saddle point). Even if the gradient estimate is slightly inaccurate, the underlying geometry of the saddle point is strong enough to push the algorithm away once a small amount of noise is introduced.

Experimental Validation

The paper evaluates the algorithms on synthetic benchmarks designed to stress-test non-convex optimization. One such benchmark is the Rastrigin Function, a classic 2D landscape riddled with local minima and saddle points.

Convergence on the 2D Rastrigin function

The visualization above demonstrates the algorithm's path across the Rastrigin function. Over successive iterations, the initial scattering of points successfully navigates away from the lighter saddle regions and converges into the dark local minima.

Furthermore, the authors tested the algorithm on the "Octopus" function ($d=15$), a complex, high-dimensional landscape specifically designed to trap gradient-based methods in a sequence of saddle points for an exponential amount of time. On this stress test, the zero-order methods performed nearly identically to their first-order counterparts. Interestingly, in some cases, the noise inherent in the gradient approximation actually helped the algorithm escape saddle points faster than standard gradient descent.

Limitations and Future Directions

While a significant step forward, the work has a few limitations. Some of the asymptotic convergence proofs require the objective function to be analytic (smooth and well-behaved), though the core efficiency guarantees hold for general smooth functions. Additionally, the current framework focuses on unconstrained optimization; extending these saddle-avoidance guarantees to problems with constraints (e.g., staying within a specific box or sphere) remains an open challenge. Finally, the authors suggest that similar logic could be applied to other popular zero-order families, such as trust-region or direct search methods, paving the way for future theoretical exploration.

Summary updated

BibTeX
@inproceedings{vlatakisgkaragkounis2019efficiently,
  author = {Emmanouil-Vasileios Vlatakis-Gkaragkounis and Lampros Flokas and Georgios Piliouras},
  title = {{Efficiently avoiding saddle points with zero order methods: No gradients required}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=5zfy1EfNHq},
}
Figure