OFFO minimization algorithms for second-order optimality and their complexity

Serge Gratton, Philippe L. TointComput. Optim. Appl 2023

Abstract

An Adagrad-inspired class of algorithms for smooth unconstrained optimization is presented in which the objective function is never evaluated and yet the gradient norms decrease at least as fast as $O(1/\sqrt{k+1})$ while second-order optimality measures converge to zero at least as fast as $O(1/(k+1)^{1/3})$. This latter rate of convergence is shown to be essentially sharp and is identical to that known for more standard algorithms (like trust-region or adaptive-regularization methods) using both function and derivatives’ evaluations. A related “divergent stepsize” method is also described, whose essentially sharp rate of convergence is slightly inferior. It is finally discussed how to obtain weaker second-order optimality guarantees at a (much) reduced computational cost.

Introduction

In classical optimization, algorithms such as Trust-Region or Line-Search methods rely heavily on the objective function value $f(x)$ to decide if a step is "good." These methods typically require a "sufficient descent" condition—a check to ensure the function value has decreased enough relative to a model's prediction. However, in many modern computational contexts, particularly deep learning, popular algorithms like Adagrad operate without ever checking the function value; they rely solely on gradient information. These are known as OFFO (Objective-Function-Free Optimization) algorithms.

While it has been established that OFFO algorithms can efficiently find first-order points (where the gradient is zero), a significant theoretical gap remained: can these algorithms efficiently find second-order approximate minimizers? That is, can they guarantee convergence to a point that is not a saddle point without ever evaluating the function itself? This paper introduces the ASTR2 algorithm to prove that the answer is yes.

The ASTR2 Algorithm

The authors propose the Adaptively Scaled Trust Region 2 (ASTR2) algorithm, which extends the logic of Adagrad into the second-order regime. The algorithm is characterized by several unique features:

  • Dual Scaling Factors: Unlike standard Adagrad, which uses a single scaling factor for the gradient, ASTR2 maintains two separate scaling factors. One factor scales first-order models, while the other scales second-order models. This allows the algorithm to adaptively adjust its "trust" in different orders of approximation over different neighborhood sizes.
  • The "Always Accept" Policy: In a radical departure from traditional trust-region methods, ASTR2 always accepts the trial point. Because the algorithm never computes $f(x)$, it cannot perform a ratio check of actual versus predicted reduction. Instead, the scaling factors themselves regulate the step size to ensure global convergence.
  • Step Selection Logic: At each iteration, the algorithm chooses between a linear step (based on the gradient) or a quadratic step (incorporating Hessian information). The choice is determined by whether the gradient is large enough relative to the second-order optimality measure.
  • Computational Efficiency: To mitigate the costs associated with full Hessian matrices, the authors demonstrate how ASTR2 can be implemented using Krylov subspaces (such as the Lanczos method), requiring only Hessian-vector products rather than full matrix inversions.

Complexity and Sharpness

The primary contribution of this work is the derivation of worst-case complexity bounds that match the "gold standard" of optimization, despite the lack of function evaluations.

  1. First-Order Complexity: The gradient norm is guaranteed to decrease at a rate of at least $O(1/\sqrt{k+1})$.
  2. Second-Order Complexity: The second-order optimality measures (related to the most negative eigenvalue of the Hessian) converge to zero at a rate of at least $O(1/(k+1)^{1/3})$.

To prove these rates are the best possible for this class of algorithms, the authors construct a specific univariate synthetic function ($f_{\mu,\nu,\epsilon}$). This construction demonstrates that the derived rates are essentially sharp, meaning no algorithm in this class can achieve a better worst-case rate.

Key Insights

This research offers a counter-intuitive "aha moment" for optimization theory: from a pure complexity standpoint, evaluating the objective function provides no advantage for finding second-order minimizers. The "cost" of being function-free is zero in terms of worst-case iteration complexity.

Furthermore, the paper provides a theoretical bridge to the deterministic version of Adagrad. It suggests that the empirical success of such methods in machine learning may be rooted in these fundamental complexity properties, specifically their ability to navigate away from saddle points via "eigen-point decrease" (moving along directions of negative curvature) without needing to verify progress via $f(x)$.

Limitations and Future Work

While the theoretical results are robust, the authors note several areas for further exploration:

  • Practicality: In many real-world scenarios, computing derivatives (gradients and Hessians) automatically yields the function value as a byproduct, making the "OFFO" nature of the algorithm more of a theoretical curiosity than a practical necessity.
  • Dimensionality: The constants within the complexity bounds are intricate and may hide dependencies on the problem's dimensionality, which could impact performance in very high-dimensional spaces.
  • Constraints: This work focuses on unconstrained optimization. Extending these guarantees to convexly constrained problems remains a promising next step for the research team.

Summary updated

BibTeX
@inproceedings{gratton2023offo,
  author = {Serge Gratton and Philippe L. Toint},
  title = {{OFFO minimization algorithms for second-order optimality and their complexity}},
  booktitle = {Comput. Optim. Appl},
  year = {2023},
  url = {https://openreview.net/forum?id=qwO3ixkNyz},
}
Figure