Improving Line Search Methods for Large Scale Neural Network Training

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kenneweg, Philip, Kenneweg, Tristan, Hammer, Barbara
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929291899437056
author Kenneweg, Philip
Kenneweg, Tristan
Hammer, Barbara
author_facet Kenneweg, Philip
Kenneweg, Tristan
Hammer, Barbara
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_18519
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Line Search Methods for Large Scale Neural Network Training
Kenneweg, Philip
Kenneweg, Tristan
Hammer, Barbara
Machine Learning
Artificial Intelligence
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.
title Improving Line Search Methods for Large Scale Neural Network Training
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2403.18519