An Adaptive Memory Multi-Batch L-BFGS Algorithm for Neural Network Training

Federico Zocco, Seán McLoone
12/14/2020
cs.LG

Official code: fedezocco/AdaMemLBFGS-PyTorch (6 stars, Python, MIT, last commit 2021-06-07).

Abstract

Motivated by the potential for parallel implementation of batch-based algorithms and the accelerated convergence achievable with approximated second order information a limited memory version of the BFGS algorithm has been receiving increasing attention in recent years for large neural network training problems. As the shape of the cost function is generally not quadratic and only becomes approximately quadratic in the vicinity of a minimum, the use of second order information by L-BFGS can be unreliable during the initial phase of training, i.e. when far from a minimum.

Show full abstract

Therefore, to control the influence of second order information as training progresses, we propose a multi-batch L-BFGS algorithm, namely MB-AM, that gradually increases its trust in the curvature information by implementing a progressive storage and use of curvature data through a development-based increase (dev-increase) scheme. Using six discriminative modelling benchmark problems we show empirically that MB-AM has slightly faster convergence and, on average, achieves better solutions than the standard multi-batch L-BFGS algorithm when training MLP and CNN models.

View on arXivView PDF

Code Implementations(1)

MIT

A PyTorch implementation of an Adaptive Memory Multi-Batch L-BFGS

62PythonMar 12, 20205 years agoMIT

Similar Papers

Cite this paper

@article{zocco2020adaptive,
  title  = {An Adaptive Memory Multi-Batch L-BFGS Algorithm for Neural Network Training},
  author = {Federico Zocco and Seán McLoone},
  year   = {2020},
  eprint = {2012.07434},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.07434}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.07434.svg)](https://codeofpaper.com/paper/2012.07434)

Discussion