无需学习率:引入 SALSA —— 稳定的 Armijo 线搜索自适应
No learning rates needed: Introducing SALSA -- Stable Armijo Line Search Adaptation
AI总结:
本文提出 SALSA 方法,通过加速计算并在 Armijo 准则中引入动量项改进 Armijo 线搜索,使其更适合随机小批量处理,在 Adam 和 SGD 优化器上超越了调优的学习率调度。
摘要:
近期研究表明,线搜索方法能显著提升传统随机梯度下降技术在多种数据集和架构上的性能,同时使得原本关键的的学习率调度选择变得多余。本文指出了当前最先进线搜索方法存在的问题,提出了改进方案,并严格评估了其有效性。此外,我们在比以往规模大数个数量级的数据集和更复杂的数据域上评估了这些方法。具体而言,我们通过加速计算并将动量项引入 Armijo 准则来增强 Armijo 线搜索方法,使其更适合随机小批量处理。我们的优化方法在 Adam 和 SGD 优化器上,不仅优于之前的 Armijo 实现,也超越了经过调优的学习率调度。我们的评估涵盖了多种架构(如 Transformers、CNNs 和 MLPs)以及数据域(包括 NLP 和图像数据)。我们的工作已作为 Python 包公开发布,提供了一个简单的 Pytorch 优化器。
英文摘要:
In recent studies, line search methods have been demonstrated to significantly enhance the performance of conventional stochastic gradient descent techniques across various datasets and architectures, while making an otherwise critical choice of learning rate schedule superfluous. In this paper, we identify problems of current state-of-the-art of line search methods, propose enhancements, and rigorously assess their effectiveness. Furthermore, we evaluate these methods on orders of magnitude larger datasets and more complex data domains than previously done. More specifically, we enhance the Armijo line search method by speeding up its computation and incorporating a momentum term into the Armijo criterion, making it better suited for stochastic mini-batching. Our optimization approach outperforms both the previous Armijo implementation and a tuned learning rate schedule for the Adam and SGD optimizers. Our evaluation covers a diverse range of architectures, such as Transformers, CNNs, and MLPs, as well as data domains, including NLP and image data. Our work is publicly available as a Python package, which provides a simple Pytorch optimizer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。