Papers
Topics
Authors
Recent
Search
2000 character limit reached

Backtracking Line Search

Updated 5 July 2026
  • Backtracking line search is an inexact line-search method that selects a step size from a geometric sequence to satisfy the Armijo sufficient decrease condition.
  • It systematically reduces the trial step until the decrease in the objective function is significant relative to a local linear or quadratic model.
  • The technique extends to various settings, including convex-composite, distributed, stochastic, and quantum optimization, ensuring convergence through robust theoretical guarantees.

Searching arXiv for recent and representative papers on backtracking line search and related line-search methods. arXiv search query: backtracking line search optimization Armijo Backtracking line search is an inexact line-search procedure that selects the first value in a geometrically decreasing sequence of trial step sizes that satisfies a prescribed acceptance condition, most often Armijo sufficient decrease. In its standard form, given a current iterate, a descent direction, an initial step size, and a contraction factor, it repeatedly shrinks the trial step until the objective decrease is large enough relative to a local model. The same mechanism appears, with different local models and acceptance tests, in smooth gradient methods, convex-composite Gauss–Newton schemes, Frank–Wolfe variants, stochastic optimization, distributed dual methods, variational quantum optimization, self-consistent field iterations, and multidimensional searches for diagonal preconditioners (Zhang et al., 24 Jun 2026, Burke et al., 2018, Pedregosa et al., 2018, Kunstner et al., 2023).

1. Fundamental scheme

In smooth Euclidean optimization, an iteration has the form

xk+1=xk+αkdk,x_{k+1} = x_k + \alpha_k d_k,

where dkd_k is a descent direction satisfying

f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.

Backtracking chooses αk\alpha_k from a geometric sequence

α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),

or equivalently β/2k\beta/2^k in the notation used for adaptive QNGD, and returns the first step satisfying the relevant sufficient-decrease test (Zhang et al., 24 Jun 2026, Atif et al., 2022).

For the standard Armijo condition, the accepted step satisfies

f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).

With dk=f(xk)d_k=-\nabla f(x_k), this becomes the familiar decrease test

f(xkαf(xk))f(xk)c1αf(xk)2.f(x_k - \alpha \nabla f(x_k)) \le f(x_k) - c_1 \alpha \|\nabla f(x_k)\|^2.

The Lean formalization of line-search theory makes this structure explicit through predicates for Armijo admissibility, descent directions, and the minimal exponent j0j_0 such that dkd_k0 is acceptable (Zhang et al., 24 Jun 2026).

The basic rationale is first-order. If

dkd_k1

then any descent direction admits sufficiently small Armijo steps. This underlies the finite termination of the backtracking loop and the strict decrease property once a positive acceptable step has been found (Zhang et al., 24 Jun 2026).

2. Acceptance criteria and line-search conditions

Backtracking is usually associated with Armijo decrease, but the underlying pattern is broader: a trial step is repeatedly reduced until a model-based inequality holds. Different problem classes replace the smooth linear model by more structured surrogates.

Setting Acceptance condition Distinctive feature
Smooth descent dkd_k2 Classical Armijo rule
Convex-composite dkd_k3 Uses dkd_k4 instead of dkd_k5
Convex-composite weak Wolfe Armijo test plus dkd_k6 Curvature condition without smooth derivatives
Frank–Wolfe dkd_k7 Local quadratic surrogate with Lipschitz estimate dkd_k8
Stochastic line search dkd_k9 Noisy function and gradient estimates
Distributed dual descent f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.0 Local Armijo rule over f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.1-hop neighborhoods

In convex-composite optimization, the decisive object is

f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.2

which is convex in f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.3, satisfies f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.4, and obeys the ray inequality f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.5 for f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.6. This allows Armijo backtracking to be transplanted from smooth optimization to extended-valued nonsmooth convex-composite problems (Burke et al., 2018).

In projection-free methods, the role of the line model is played by a quadratic surrogate

f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.7

and the backtracking loop increases the local Lipschitz estimate f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.8 until f(xk),dk<0.\langle \nabla f(x_k), d_k\rangle < 0.9 holds (Pedregosa et al., 2018).

The formalization literature also distinguishes Armijo, Goldstein, Wolfe, and nonmonotone variants such as Grippo and Zhang–Hager. In that framework, backtracking is primarily tied to Armijo admissibility, while Wolfe conditions enter global convergence theory through Zoutendijk-type arguments (Zhang et al., 24 Jun 2026).

3. Convergence theory

A central misconception is that backtracking is only a heuristic for choosing a learning rate. Across multiple settings, it is a convergence mechanism with precise worst-case guarantees.

In the smooth setting, first-order approximation implies existence of a positive Armijo step along any descent direction, and Armijo admissibility implies strict decrease. The Lean formalization proves these facts abstractly and then uses Wolfe-based hypotheses to formalize the Zoutendijk theorem and the resulting liminf convergence of steepest-descent gradient norms to zero (Zhang et al., 24 Jun 2026).

For convex-composite Gauss–Newton methods, the global backtracking theorem states that one of two outcomes occurs: finite termination at a first-order stationary point, or αk\alpha_k0. If the directions are approximate subproblem minimizers satisfying

αk\alpha_k1

then, provided the unbounded-decrease alternative does not occur, every cluster point is first-order stationary (Burke et al., 2018).

For adaptive Frank–Wolfe variants, replacing exact one-dimensional line search by backtracking preserves the standard rate structure. In the nonconvex case, the Frank–Wolfe gap converges to zero with an

αk\alpha_k2

bound. In the convex case, the last-iterate primal-dual gap is

αk\alpha_k3

For strongly convex objectives over polytopes, away-step and pairwise variants retain global linear convergence (Pedregosa et al., 2018).

For conditional gradient sliding with line search, the theoretical performance remains that of the original accelerated projection-free method: gradient evaluations scale as

αk\alpha_k4

and linear oracle calls as

αk\alpha_k5

while eliminating prior knowledge of both the Lipschitz constant αk\alpha_k6 and the total number of iterations αk\alpha_k7 (Nazari et al., 2020).

In stochastic optimization, a backtracking Armijo scheme with probabilistically accurate gradients and function values matches the standard worst-case complexity for first-order methods: expected αk\alpha_k8 iterations to reach a near-stationary point, αk\alpha_k9 rates in the convex case, and α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),0 rates for strongly convex objectives (Paquette et al., 2018).

4. Structured models and generalized search spaces

Backtracking line search becomes substantially richer when the underlying local model is not the smooth first-order Taylor approximation.

In convex-composite optimization, the model α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),1 is not merely a technical replacement for α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),2; it encodes structure. The equivalence

α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),3

shows that the absence of negative model directions is itself a first-order stationarity certificate. This makes backtracking and the Gauss–Newton subproblem part of a single variational construction rather than two loosely coupled heuristics (Burke et al., 2018).

In Frank–Wolfe methods, backtracking is likewise model-based rather than derivative-free. The surrogate α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),4 incorporates a local Lipschitz estimate α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),5, and the accepted step

α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),6

automatically respects feasibility constraints such as α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),7 in away-step and pairwise variants. This is the projection-free analogue of classical Armijo shrinkage, but with the feasible segment and the dual gap geometry built into the rule (Pedregosa et al., 2018).

A more radical extension is multidimensional backtracking, where the scalar step size is replaced by a diagonal preconditioner

α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),8

The sufficient progress condition becomes

α0, γα0, γ2α0,,γ(0,1),\alpha_0,\ \gamma \alpha_0,\ \gamma^2 \alpha_0,\dots,\qquad \gamma\in(0,1),9

The paper’s key insight is that hypergradients with respect to β/2k\beta/2^k0 define separating hyperplanes, so invalid preconditioners can be cut away by a cutting-plane method. The resulting ellipsoid-based scheme is provably competitive with the best fixed diagonal preconditioner, with a β/2k\beta/2^k1-competitive guarantee and no manual tuning (Kunstner et al., 2023).

Distributed optimization introduces a different generalization: the replacement of global Armijo tests by local ones. In network dual descent, each node evaluates

β/2k\beta/2^k2

using only local and β/2k\beta/2^k3-hop information, and the global step size is the minimum of the locally acceptable values. For ADD-β/2k\beta/2^k4 directions, this local rule recovers the decisive centralized properties: global decrease and eventual acceptance of the unit step near the optimum (Zargham et al., 2012).

5. Geometry-aware and application-specific variants

Backtracking line search is particularly effective when the search direction already encodes non-Euclidean geometry or second-order structure.

In variational quantum algorithms, adaptive QNGD chooses the natural-gradient direction

β/2k\beta/2^k5

where β/2k\beta/2^k6 is the Fubini–Study metric, and then selects

β/2k\beta/2^k7

as the first grid value satisfying the Armijo decrease test

β/2k\beta/2^k8

The additional quantum cost of the line search is small relative to the β/2k\beta/2^k9 cost of the full metric, and the same adaptive scheme applied to Euclidean SGD can attain performance similar to optimally tuned QNGD in several test cases (Atif et al., 2022).

In self-consistent field iterations for Kohn–Sham DFT, the damping parameter is chosen by a backtracking procedure driven by a quadratic model of the energy along the SCF direction,

f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).0

A step is accepted if either the energy decreases or the preconditioned residual decreases. This is not a pure Armijo scheme, but it retains the core backtracking logic while adapting it to the peculiar cost structure of SCF iterations (Herbst et al., 2021).

Backtracking also appears in second-order nonconvex methods designed to avoid saddles. New Q-Newton Backtracking chooses a direction f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).1 from a modified Hessian and accepts f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).2 satisfying

f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).3

Within the generalized framework, the method has descent, convergence of cluster points to critical points, and—under additional assumptions—avoidance of saddle points and quadratic local convergence at nondegenerate local minima (Truong, 2021, Truong, 2022).

For robust strict saddle problems in low-rank optimization, the line search is coupled to both gradient and negative-curvature directions. The local phase uses Armijo backtracking on gradient steps, while curvature steps satisfy a second-order decrease condition. The resulting complexity is polynomial in the geometric scale parameter f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).4 and logarithmic in the target tolerances for approximate second-order optimality (O'Neill et al., 2020).

6. Comparisons, computational issues, and formal verification

Backtracking is often compared to exact line search. In Newton’s method, the comparison is especially sharp. Greedy Newton replaces Armijo backtracking by exact minimization along the Newton direction and obtains a global linear factor

f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).5

whereas standard backtracking Newton with the paper’s benchmark parameters yields

f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).6

Both retain local superlinear behavior, but exact line search can exploit step sizes significantly larger than f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).7, while classical backtracking is more conservative away from the solution (Shea et al., 2024).

The internal cost of backtracking itself has also become an object of study. If Armijo’s backtracking problem is abstracted as the search for the first point in the geometric sequence

f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).8

that satisfies f(xk+αdk)f(xk)+c1αf(xk)Tdk,c1(0,1).f(x_k + \alpha d_k) \le f(x_k) + c_1 \alpha \nabla f(x_k)^T d_k, \qquad c_1\in(0,1).9, then classical backtracking needs at most

dk=f(xk)d_k=-\nabla f(x_k)0

function evaluations under a lower bound dk=f(xk)d_k=-\nabla f(x_k)1. A bracketing method based on bisection in the logarithmic scale reduces this to

dk=f(xk)d_k=-\nabla f(x_k)2

and an ITP-based analogue asymptotically requires

dk=f(xk)d_k=-\nabla f(x_k)3

evaluations for sufficiently smooth functions (Bramburger et al., 2021). This suggests that even the “three-line” inner loop of Armijo search admits nontrivial algorithmic optimization.

A second common misconception is that backtracking lacks rigorous foundations outside textbook smooth descent. The formalization in Lean 4 translates Armijo, Goldstein, Wolfe, and nonmonotone conditions into machine-checkable predicates and includes a formal proof of Zoutendijk’s theorem. This establishes a reusable verification layer for line-search theory rather than merely an implementation recipe (Zhang et al., 24 Jun 2026).

Several limitations recur across the literature. In quantum natural gradient methods, the metric can be ill-conditioned or singular, motivating pseudo-inversion with an eigenvalue threshold; the convergence arguments assume exact gradients and function evaluations, whereas real NISQ hardware introduces noise (Atif et al., 2022). In distributed line search, the local Armijo rule depends on structural assumptions on the Hessian approximation and on network connectivity through dk=f(xk)d_k=-\nabla f(x_k)4 (Zargham et al., 2012). More generally, backtracking is simpler than weak Wolfe or exact line search, but this simplicity can make it conservative: it guarantees sufficient decrease, not maximal decrease, and several papers can be read as efforts to preserve its robustness while recovering more accurate local step-size decisions (Burke et al., 2018, Shea et al., 2024).

Backtracking line search therefore occupies a distinctive position in optimization. It is at once a minimal sufficient-decrease mechanism, a scaffold for global convergence theory, and a template that can be specialized to convex-composite models, projection-free surrogates, noisy or distributed or quantum settings, and even multidimensional searches over preconditioners. The persistent theme is not the Armijo inequality alone, but the recursive reduction of a trial step until a problem-specific local model becomes credible enough to authorize progress.

Topic to Video (Beta)

Whiteboard

Follow Topic

Get notified by email when new papers are published related to Backtracking Line Search.