mlsanityData to 14 Oct 2026

Faster Convergence for Transformer Fine-tuning with Line Search Methods

arXiv 2403.18506 ↗First posted 27 Mar 2024cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Recent works have shown that line search methods greatly increase performance of traditional stochastic gradient descent methods on a variety of datasets and architectures [1], [2]. In this work we succeed in extending line search methods to the novel and highly popular Transformer architecture and dataset domains in natural language processing. More specifically, we combine the Armijo line search with the Adam optimizer and extend it by subdividing the networks architecture into sensible units and perform the line search separately on these local units. Our optimization method outperforms the traditional Adam optimizer and achieves significant performance improvements for small data sets or small training budgets, while performing equal or better for other tested cases. Our work is publicly available as a python package, which provides a hyperparameter-free pytorch optimizer that is compatible with arbitrary network architectures.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 29 references that are in the map. First posted on arXiv 27 Mar 2024.

Builds on

16 of 29 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2016Densely Connected Convolutional Networkscited by 6,720
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  7. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  8. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 772
  9. 2019Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Ratescited by 119
  10. 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
  11. 2022High-dimensional limit theorems for SGD: Effective dynamics and critical scalingcited by 70
  12. 2018A Progressive Batching L-BFGS Method for Machine Learningcited by 45
4 more
  1. 2015Probabilistic Line Searches for Stochastic Optimizationcited by 29
  2. 2015Layer-Specific Adaptive Learning Rates for Deep Networkscited by 19
  3. 2018Step Size Matters in Deep Learningcited by 19
  4. 2020Adaptive Gradient Methods Converge Faster with Over-Parameterization (but you should do a line-search)cited by 15

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.