Improving Line Search Methods for Large Scale Neural Network Training

Philip Kenneweg, Tristan Kenneweg, Barbara Hammer
3/27/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

In recent studies, line search methods have shown significant improvements in the performance of traditional stochastic gradient descent techniques, eliminating the need for a specific learning rate schedule. In this paper, we identify existing issues in state-of-the-art line search methods, propose enhancements, and rigorously evaluate their effectiveness. We test these methods on larger datasets and more complex data domains than before. Specifically, we improve the Armijo line search by integrating the momentum term from ADAM in its search direction, enabling efficient large-scale training, a task that was previously prone to failure using Armijo line search methods. Our optimization approach outperforms both the previous Armijo implementation and tuned learning rate schedules for Adam. Our evaluation focuses on Transformers and CNNs in the domains of NLP and image data. Our work is publicly available as a Python package, which provides a hyperparameter free Pytorch optimizer.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kenneweg2024improving,
  title  = {Improving Line Search Methods for Large Scale Neural Network Training},
  author = {Philip Kenneweg and Tristan Kenneweg and Barbara Hammer},
  year   = {2024},
  eprint = {2403.18519},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.18519v1}
}

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/2403.18519.svg)](https://codeofpaper.com/paper/2403.18519)

Discussion