High Probability Complexity Bounds for Adaptive Step Search Based on Stochastic Oracles

Billy Jin, Katya Scheinberg, Miaolan XieSIAM J. Optim 2021

Abstract

We consider a step search method for continuous optimization under a stochastic setting where the function values and gradients are available only through inexact probabilistic zeroth- and first-order oracles. Unlike the stochastic gradient method and its many variants, the algorithm does not use a pre-specified sequence of step sizes but increases or decreases the step size adaptively according to the estimated progress of the algorithm. These oracles capture multiple standard settings including expected loss minimization and zeroth-order optimization. Moreover, our framework is very general and allows the function and gradient estimates to be biased. The proposed algorithm is simple to describe and easy to implement. Under fairly general conditions on the oracles, we derive a high probability tail bound on the iteration complexity of the algorithm when it is applied to non-convex, convex, and strongly convex (more generally, those satisfying the PL condition) functions. Our analysis strengthens and extends prior results for stochastic step and line search methods.

Introduction

In the field of stochastic optimization, particularly for training deep neural networks, selecting the optimal learning rate is often a manual and iterative process. Standard Stochastic Gradient Descent (SGD) relies on pre-specified decay schedules that require tedious tuning and do not adapt to the local geometry of the loss function. While adaptive methods like ADAM are widely used, they often lack rigorous theoretical guarantees regarding high-probability complexity bounds.

This paper introduces Stochastic Adaptive Step Search (SASS), an optimization algorithm that replaces fixed learning rate schedules with an adaptive step size that reacts to the algorithm's progress. By leveraging "probabilistic oracles" for function values and gradients, SASS achieves high-probability complexity bounds across non-convex, convex, and strongly convex landscapes, matching the efficiency of deterministic methods while handling the inherent noise of stochastic settings.

Methodology: Stochastic Adaptive Step Search (SASS)

The core logic of SASS (Algorithm 2.1) is designed to be robust and tuning-free. The algorithm follows these primary steps:

  1. Gradient Estimation: Compute a gradient estimate ($g_k$) using a Stochastic First-Order oracle (SFO).
  2. Step Proposal: Propose a new iterate ($x_{k+1} = x_k - \alpha_k g_k$).
  3. Sufficient Decrease Check: Evaluate a modified Armijo condition that accounts for noise ($2\epsilon'_f$).
  4. Adaptation: If the condition is met (a successful step), the step size is increased for the next round; if not, the step size is decreased, and the gradient is re-sampled.

Unlike traditional line search methods, SASS re-computes the gradient estimate and direction every time it backtracks. This makes it significantly more robust to "bad" stochastic directions. Furthermore, the algorithm does not require prior knowledge of the Lipschitz constant $L$, though the final complexity bounds naturally depend on it.

Theoretical Framework and Convergence

The mathematical innovation of this work lies in the "true iteration" concept. The authors define a true iteration as one where the stochastic oracles happen to be accurate. They prove that as long as these true iterations occur with a probability greater than 0.5, the progress made during "good" steps will eventually outweigh the stagnation or damage from noisy "bad" steps.

To derive high-probability bounds, the authors utilize potential functions ($Z_k$) tailored to the function's landscape. They demonstrate that the iteration complexity follows a subexponential distribution, meaning the probability of the algorithm taking significantly longer than expected decays exponentially fast.

Definitions of the potential function $Z_k$ for different landscape classes.

Experimental Results

The authors validated SASS against standard benchmarks, including the Penn Machine Learning Benchmarks (PMLB), MNIST, and Fashion MNIST.

Key results include:

  • Theoretical Efficiency: For non-convex functions, SASS reaches an $\epsilon$-stationary point in $O(L/\epsilon^2)$ iterations with high probability, matching the best-known rates for deterministic gradient descent.
  • Competitive Performance: In head-to-head tests against ADAM and Stochastic Line Search (SLS), SASS was highly competitive. On the 64 PMLB datasets, SASS achieved better test loss than SLS in 32 cases and outperformed ADAM across the majority of datasets.
  • Robustness: Experiments showed that SASS is remarkably robust to the choice of the noise tolerance parameter ($\epsilon'_f$), provided it is not set to zero.

Conclusion and Future Work

SASS provides a theoretically grounded, tuning-free alternative to standard stochastic optimizers. While each iteration requires function value evaluations (forward passes) to check the Armijo condition, this overhead is often offset by the elimination of the need for manual learning rate tuning. Future research directions include exploring adaptive mini-batching heuristics to ensure oracle properties are met more efficiently, potentially further reducing the computational cost per iteration.

Summary updated

BibTeX
@article{jin2021high,
  author = {Billy Jin and Katya Scheinberg and Miaolan Xie},
  title = {{High Probability Complexity Bounds for Adaptive Step Search Based on Stochastic Oracles}},
  journal = {SIAM J. Optim.},
  year = {2021},
}
Figure