Skip to main content
QUICK REVIEW

[Paper Review] On the Acceleration of L-BFGS with Second-Order Information and Stochastic Batches

Jie Liu, Yu Rong|arXiv (Cornell University)|Jul 14, 2018
Sparse and Compressive Sensing TechniquesEngineering17 references4 citations
TL;DR

This paper proposes a stable, second-order L-BFGS framework using stochastic batches and approximate Hessian or Fisher information to accelerate convergence in finite-sum optimization. It achieves linear convergence for both convex and nonconvex problems and demonstrates superior performance over SGD, ADAM, and standard L-BFGS in distributed settings with large batch sizes.

ABSTRACT

This paper proposes a framework of L-BFGS based on the (approximate) second-order information with stochastic batches, as a novel approach to the finite-sum minimization problems. Different from the classical L-BFGS where stochastic batches lead to instability, we use a smooth estimate for the evaluations of the gradient differences while achieving acceleration by well-scaling the initial Hessians. We provide theoretical analyses for both convex and nonconvex cases. In addition, we demonstrate that within the popular applications of least-square and cross-entropy losses, the algorithm admits a simple implementation in the distributed environment. Numerical experiments support the efficiency of our algorithms.

Motivation & Objective

  • To address instability in stochastic L-BFGS caused by noisy gradient differences in finite-sum problems.
  • To develop a stable, efficient L-BFGS variant that leverages second-order information (Hessian or Fisher matrix) for faster convergence.
  • To enable scalable, distributed implementation using Fisher information matrix for curvature approximation.
  • To establish linear convergence guarantees for both convex and nonconvex finite-sum minimization problems.
  • To demonstrate practical superiority over ADAM, SGD, and standard L-BFGS in training logistic regression and neural networks.

Proposed method

  • Introduces LBFGS-H, which uses a smooth estimate of gradient differences to stabilize curvature approximation in stochastic L-BFGS.
  • Proposes LBFGS-F, replacing the Hessian approximation with the Fisher information matrix to improve stability and enable distributed computation.
  • Employs two-loop recursion with limited memory (m) to efficiently compute search directions using curvature pairs (s_k, y_k).
  • Uses a line-search or fixed step size strategy to determine learning rates, ensuring sufficient decrease in objective function.
  • Applies a well-scaled initial Hessian H_k^0 to maintain stability and accelerate convergence.
  • Enables distributed deployment by replacing Hessian updates with Fisher information matrix, reducing communication and computation costs.

Experimental results

Research questions

  • RQ1Can second-order information be effectively incorporated into stochastic L-BFGS without introducing instability?
  • RQ2Does using a smooth estimate of gradient differences improve convergence stability in stochastic L-BFGS?
  • RQ3Can LBFGS-F with Fisher information matrix achieve comparable or better performance than standard L-BFGS in distributed settings?
  • RQ4Does the proposed framework achieve linear convergence for both convex and nonconvex finite-sum problems?
  • RQ5How does the algorithm perform across different batch sizes, especially large ones, in distributed training?

Key findings

  • LBFGS-H achieves linear convergence to a neighborhood of the optimal solution for both convex and nonconvex finite-sum problems under standard assumptions.
  • LBFGS-F demonstrates stable and fast convergence in distributed environments, outperforming ADAM, ADAGRAD, and SGD, especially with large batch sizes.
  • Numerical experiments show that LBFGS-H maintains consistent performance across 100 random seeds, while ADAM and SGD degrade significantly with larger batch sizes.
  • With large batch sizes (e.g., 4096), LBFGS-H reduces the number of required epochs to reach target accuracy, minimizing communication cost in distributed systems.
  • The algorithm’s computational time remains nearly constant up to batch size 2^6 on a single GPU, indicating scalability to larger batches.
  • LBFGS-S, a baseline stochastic L-BFGS variant, exhibits high instability and slow convergence, validating the need for the proposed smoothing and Hessian/Fisher approximation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.