Armijo condition 2026-10-24
For and a descent direction , the Armijo condition asks for a decrease at least a fixed fraction of the decrease predicted by the first-order Taylor expansion. Put . Differentiability gives for all sufficiently small positive . Thus the condition is satisfiable without a second derivative.
Backtracking line search 2026-10-24
Start with a trial step size and repeatedly replace by , with , until the Armijo condition holds. For a differentiable function and a descent direction, the short-step argument in the Armijo condition proves finite termination. This alone does not enforce the curvature part of the Wolfe conditions.
BFGS method 2026-10-25
A Quasi-Newton method that maintains a symmetric curvature approximation for differentiable optimization. For a positive-definite symmetric matrix approximating inverse curvature, step , gradient change and , its inverse update is
Multiplying by gives , the inverse form of the Quasi-Newton secant equation. The update is a symmetric matrix. For any nonzero ,
Both terms are nonnegative, and both can vanish only if and then . Thus positive definiteness is preserved when , making a descent direction away from a stationary point. Full updates use quadratic storage in the dimension; the method does not require explicit Hessian matrix evaluations. Superlinear convergence requires additional local smoothness and line search assumptions.[ref]
Descent direction 2026-10-24
A vector is a descent direction for a differentiable function at if its directional derivative is negative. The first-order expansion then gives for sufficiently small positive . The negative gradient is a descent direction whenever the gradient is nonzero.
Existence of a Wolfe step 2026-10-25
Suppose is continuously differentiable, is a descent direction, and is bounded below for . A positive step size satisfying the weak Wolfe conditions exists. To prove this, put , , and . The Armijo condition proof shows just to the right of zero. Boundedness below gives . Consequently there is a first positive zero , with on . By the mean value theorem, some satisfies
At , gives the Armijo condition, and the displayed derivative gives the weak Wolfe conditions.
Line search Created 2026-10-20 Updated 2026-10-24
A line search chooses a positive step size along a search vector , updating to . For a differentiable function , a descent direction makes sufficiently short steps decrease the objective function; an Armijo condition quantifies the decrease, while the Wolfe conditions also prevent accepting an unnecessarily short step.
Fix an iteration and abbreviate , , . Since is a descent direction, . The directional derivative gives
Choose so that for . Then
This is the Armijo condition for every such positive step size, and gives equality. In particular, a backtracking line search terminates after finitely many reductions.
Set and . The Quasi-Newton secant equation is . If is a positive-definite symmetric matrix and , it follows that
The weak curvature part of the Wolfe conditions ensures precisely this necessary condition:
The last product is positive because , , and is a descent direction. This explains why a Quasi-Newton method often uses the Wolfe conditions rather than only the Armijo condition.
If , the positive-definite symmetric matrix is an invertible matrix and . Multiplying by gives
Hence is a descent direction. If , then and the algorithm has already reached a stationary point; the strict descent assertion applies before termination.
At , gradient descent and full BFGS are practical candidates; a dense Newton method can also be feasible, but its extra work and indefinite curvature need attention. The number of examples , data sparsity and conditioning still matter.
For dense , a gradient evaluation costs arithmetic, with working storage beyond the data and accumulation buffers. Gradient descent is inexpensive per iteration and, with an appropriate line search, follows a descent direction, but poor conditioning can make it slow.
Forming the Hessian matrix explicitly costs arithmetic, and a dense Newton method solve costs . A -square double-precision matrix uses about MB, so storage alone is manageable, but repeated factorization may be expensive. Because the Hessian matrix can be indefinite or singular, an unmodified Newton step need not decrease the loss; a modified Hessian, damping or a trust region is appropriate.
Full BFGS uses gradients and an curvature approximation, avoiding explicit second derivatives. Its rank-two updates and direction calculation cost per step and require roughly the same matrix storage. A positive-definite initial approximation with safeguarded curvature updates and a suitable line search preserves descent directions. For this scale it is often a good compromise, without guaranteeing a global minimum.[ref]
Quasi-Newton method 2026-10-24
A Quasi-Newton method replaces the Hessian matrix in Newton's method in optimization by a matrix learned from successive gradients. Solving gives a descent direction whenever is a positive-definite symmetric matrix and the gradient is nonzero. After choosing a step size, one updates to satisfy the Quasi-Newton secant equation, rather than calculating every second derivative again.
Wolfe conditions 2026-10-24
For a continuously differentiable function, a descent direction and , the Wolfe conditions require both the Armijo condition and
This second inequality is the weak curvature condition: the slope must have become less negative. The strong variant instead requires . The weak version already guarantees a positive curvature pair for the Quasi-Newton secant equation.