A preview of this full-text is provided by Springer Nature.
Content available from Computational Optimization and Applications
This content is subject to copyright. Terms and conditions apply.
Computational Optimization and Applications (2025) 91:283–310
https://doi.org/10.1007/s10589-025-00665-0
Speeding up L-BFGS by direct approximation of the inverse
Hessian matrix
Ashkan Sadeghi-Lotfabadi1·Kamaledin Ghiasi-Shirazi1
Received: 31 January 2024 / Accepted: 31 January 2025 / Published online: 24 February 2025
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2025
Abstract
L-BFGS is one of the widely used quasi-Newton methods. Instead of explicitly storing
an approximation Hof the inverse Hessian, L-BFGS keeps a limited number of vectors
that can be used for computing the product of Hby the gradient. However, this
computation is sequential, each step depending on the outcome of the previous step. To
solve this problem, we propose the Direct L-BFGS (DirL-BFGS) method that, seeing
Has a linear operator, directly stores a low-rank plus diagonal (LRPD) representation
of H. Employing the LRPD representation enables us to leverage the benefits of
vector processing, leading to accelerating and parallelizing the calculations in the
form of single instruction, multiple data. We evaluate our proposed method on different
quadratic optimization problems and several regression and classification tasks with
neural networks. Numerical results show that DirL-BFGS is faster overall than L-
BFGS.
Keywords Limited-memory BFGS ·Low-rank plus diagonal approximation ·
Vectorization ·Single instruction multiple data (SIMD)
1 Introduction
We consider an unconstrained optimization to find an optimal parameter w∗for a
smooth objective function f:Rn→R:
w∗=arg min
w∈Rn
f(w). (1)
BKamaledin Ghiasi-Shirazi
k.ghiasi@um.ac.ir
Ashkan Sadeghi-Lotfabadi
sadeghia@mail.um.ac.ir
1Department of Computer Engineering, Faculty of Engineering, Ferdowsi University of Mashhad,
Azadi Street, Mashhad 9177948974, Iran
123
Content courtesy of Springer Nature, terms of use apply. Rights reserved.