Approximating Hessian matrices using Bayesian inference: a new approach for quasi-Newton methods in stochastic optimization

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Carlon, Andre, Espath, Luis, Tempone, Raul
Formato: Preprint
Publicado: 2022
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911821198262272
author Carlon, Andre
Espath, Luis
Tempone, Raul
author_facet Carlon, Andre
Espath, Luis
Tempone, Raul
contents Using quasi-Newton methods in stochastic optimization is not a trivial task given the difficulty of extracting curvature information from the noisy gradients. Moreover, pre-conditioning noisy gradient observations tend to amplify the noise. We propose a Bayesian approach to obtain a Hessian matrix approximation for stochastic optimization that minimizes the secant equations residue while retaining the extreme eigenvalues between a specified range. Thus, the proposed approach assists stochastic gradient descent to converge to local minima without augmenting gradient noise. We propose maximizing the log posterior using the Newton-CG method. Numerical results on a stochastic quadratic function and an $\ell_2$-regularized logistic regression problem are presented. In all the cases tested, our approach improves the convergence of stochastic gradient descent, compensating for the overhead of solving the log posterior maximization. In particular, pre-conditioning the stochastic gradient with the inverse of our Hessian approximation becomes more advantageous the larger the condition number of the problem is.
format Preprint
id arxiv_https___arxiv_org_abs_2208_00441
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Approximating Hessian matrices using Bayesian inference: a new approach for quasi-Newton methods in stochastic optimization
Carlon, Andre
Espath, Luis
Tempone, Raul
Optimization and Control
65K10, 90C15, 62F15, 90C53
Using quasi-Newton methods in stochastic optimization is not a trivial task given the difficulty of extracting curvature information from the noisy gradients. Moreover, pre-conditioning noisy gradient observations tend to amplify the noise. We propose a Bayesian approach to obtain a Hessian matrix approximation for stochastic optimization that minimizes the secant equations residue while retaining the extreme eigenvalues between a specified range. Thus, the proposed approach assists stochastic gradient descent to converge to local minima without augmenting gradient noise. We propose maximizing the log posterior using the Newton-CG method. Numerical results on a stochastic quadratic function and an $\ell_2$-regularized logistic regression problem are presented. In all the cases tested, our approach improves the convergence of stochastic gradient descent, compensating for the overhead of solving the log posterior maximization. In particular, pre-conditioning the stochastic gradient with the inverse of our Hessian approximation becomes more advantageous the larger the condition number of the problem is.
title Approximating Hessian matrices using Bayesian inference: a new approach for quasi-Newton methods in stochastic optimization
topic Optimization and Control
65K10, 90C15, 62F15, 90C53
url https://arxiv.org/abs/2208.00441