L-BFGS & Quasi-Newton Methods

Quasi-Newton optimization algorithms that approximate the inverse Hessian using gradient information from recent iterates, achieving superlinear convergence without forming the full Hessian.

Method

BFGS updates a dense inverse-Hessian approximation via rank-two updates satisfying the secant condition. L-BFGS stores only the last m vectors and computes the product with the approximate inverse Hessian implicitly, reducing memory to O(m d). Line search ensures sufficient decrease.

Applications

Training medium-scale machine learning models, hyperparameter optimization, scientific computing, inverse problems, any smooth unconstrained or simply constrained optimization where gradients are available and d is moderate.

Advantages

Fast convergence near the optimum; no explicit Hessian; mature and reliable; excellent for medium-scale deterministic problems.

Limitations

Memory and cost still grow with dimension (though L-BFGS mitigates); less effective for very large-scale or stochastic problems; requires careful line search or damping; not ideal for non-smooth objectives.

Alternatives

SGD/Adam for large-scale, full Newton / Gauss-Newton when feasible, conjugate gradient, trust-region methods.

Sources

Educational reference only, not professional advice.

All algorithms