Backtracking line search is a foundational technique for finding the right step size in optimization algorithms. Traditionally, this involves shrinking the step size by a fixed constant when certain mathematical criteria aren't met. This paper introduces an adaptive backtracking method that adjusts the step size based on how badly the criterion is violated. Remarkably, this requires zero extra computational overhead and results in a more robust, significantly faster optimization process that preserves the theoretical convergence guarantees of standard methods.
The Problem: Guessing the Shrink Factor
Iterative optimization algorithms (like Gradient Descent or Newton's Method) need to determine a step size (or learning rate) at each iteration. To find an appropriate step size, algorithms often use a "line search" subroutine that checks a specific mathematical criterion, such as the Armijo condition, which ensures the objective function decreases sufficiently.
If the initial step size is too large and violates the criterion, the standard practice is Backtracking Line Search (BLS): multiply the step size by a fixed, predefined constant $\rho \in (0, 1)$—often arbitrarily chosen between 0.1 and 0.8—until the criterion is satisfied.
The problem? Choosing $\rho$ is a guessing game. If $\rho$ is too close to 1, the algorithm wastes time evaluating the function over and over to shrink the step size. If $\rho$ is too small, the step size shrinks too aggressively, leading to tiny steps and agonizingly slow convergence. The authors tackle this inefficiency by asking: Can we dynamically adjust the shrink factor based on the severity of the criterion violation?
The Solution: Adaptive Backtracking Line Search (ABLS)
The authors propose Adaptive Backtracking Line Search (ABLS). Instead of using a fixed constant $\rho$, ABLS uses a dynamic factor $\hat{\rho}(v(\alpha_k))$, where $v(\alpha_k)$ represents the degree to which the line search criterion is violated at the current tentative step size $\alpha_k$.
- What is standard: Checking the line search criterion (like Armijo or the Descent Lemma) yields a binary "pass/fail" to decide if the step size needs shrinking.
- What is new: The authors extract the continuous magnitude of the failure from the exact same calculation. If the violation is severe, ABLS shrinks the step size aggressively. If the violation is mild, it shrinks it gently.
Because the magnitude of the violation is computed as a byproduct of checking the criterion anyway, this adaptive adjustment comes with no additional computational burden. The authors specifically tailor and test this adaptive template for two popular criteria: the Armijo condition (used in Gradient Descent, Accelerated GD, and Adagrad) and the Descent Lemma (used in proximal methods like FISTA).
Key Insights & Theoretical Guarantees
- Free Information: The core "aha moment" is realizing that a failed line search check contains valuable, unused information. By utilizing the continuous violation metric, the algorithm can make smarter jumps without computing any extra gradients or function values.
- High Robustness: ABLS is incredibly robust to the initial step-size guess. While standard BLS can zig-zag or stall if the initial guess is way off, ABLS quickly auto-corrects to an optimal range, saving massive amounts of compute.
- Strong Theoretical Guarantees: The authors mathematically prove that for convex problems, ABLS requires no more function evaluations to find a feasible step size than standard BLS. Furthermore, ABLS strictly preserves the global convergence rates of both standard Gradient Descent and Nesterov's Accelerated Gradient Descent.
Empirical Results
The authors evaluated ABLS on over 15 real-world datasets across three different problem types: Logistic Regression, Linear Inverse Problems (Lasso), and Matrix Factorization (Nonconvex). ABLS consistently outperformed the best-tuned standard BLS across various algorithms and datasets.
- Logistic Regression: When applied to Gradient Descent, ABLS achieved up to a 57.6% reduction in elapsed time compared to the best-performing standard BLS variant. For Adagrad, time gains reached up to 82.7%.
- Matrix Factorization: On this nonconvex problem, ABLS required significantly fewer gradient and function evaluations, leading to massive time gains of up to 93.5% over standard BLS.
- FISTA: For linear inverse problems, ABLS consistently required fewer function evaluations and outperformed standard BLS across all 8 tested datasets (up to 40.8% time gain).
Limitations and Future Work
While highly effective, ABLS is designed for criteria that are affine (linear) in the step size. It does not easily translate to the popular Wolfe conditions, which are not affine and generally aren't enforced by simple backtracking. Additionally, it is unclear if ABLS is useful for general stochastic line search methods that resample mini-batches at every step, because the violation on one batch might not be relevant to the next.
Looking forward, the authors suggest applying adaptive backtracking to other affine criteria, like the Goldstein conditions or nonmonotone criteria. They also highlight a highly promising direction: integrating ABLS into stochastic line search for over-parameterized neural networks (the interpolating regime), showing a successful proof-of-concept experiment training an MLP on MNIST.
Summary updated