Lune

ICLR2021顶会

AutoLRS: Automatic Learning-Rate Schedule by Bayesian Optimization on the Fly

Yuchen Jin, Tianyi Zhou, Liangyu Zhao, Yibo Zhu, Chuanxiong Guo, Marco Canini, Arvind Krishnamurthy

摘要

The learning rate (LR) schedule is one of the most important hyper-parameters needing careful tuning in training DNNs. However, it is also one of the least automated parts of machine learning systems and usually costs significant manual effort and computing. Though there are pre-defined LR schedules and optimizers with adaptive LR, they introduce new hyperparameters that need to be tuned separately for different tasks/datasets. In this paper, we consider the question: Can we automatically tune the LR over the course of training without human involvement? We propose an efficient method, AutoLRS, which automatically optimizes the LR for each training stage by modeling training dynamics. AutoLRS aims to find an LR applied to every τ\tau steps that minimizes the resulted validation loss. We solve this black-box optimization on the fly by Bayesian optimization (BO). However, collecting training instances for BO requires a system to evaluate each LR queried by BO's acquisition function for τ\tau steps, which is prohibitively expensive in practice. Instead, we apply each candidate LR for only τ′≪τ\tau'\ll\tau steps and train an exponential model to predict the validation loss after τ\tau steps. This mutual-training process between BO and the loss-prediction model allows us to limit the training steps invested in the BO search. We demonstrate the advantages and the generality of AutoLRS through extensive experiments of training DNNs for tasks from diverse domains using different optimizers. The LR schedules auto-generated by AutoLRS lead to a speedup of 1.22×1.22\times, 1.43×1.43\times, and 1.5×1.5\times when training ResNet-50, Transformer, and BERT, respectively, compared to the LR schedules in their original papers, and an average speedup of 1.31×1.31\times over state-of-the-art heavily-tuned LR schedules.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. MetaStore: Analyzing Deep Learning Meta-Data at ScaleHuayi Zhang, Binwei Yan, Lei Cao, Samuel Madden 等VLDB 2024 · 10 次引用
  2. A Multi-Power Law for Loss Curve Prediction Across Learning Rate SchedulesKairong Luo, Haodong Wen, Shengding Hu, Zhenbo Sun 等ICLR 2025

它引用的 Paper1

  1. Provably Efficient Online Hyperparameter Optimization with Population-Based BanditsJack Parker-Holder, Vu Nguyen, Stephen J. RobertsNeurIPS 2020 · 105 次引用

相关 Paper

  1. Transfer Learning based Search Space Design for Hyperparameter TuningYang Li, Yu Shen, Huaijun Jiang, Tianyi Bai 等KDD 2022 · 8 次引用
  2. AutoByte: Automatic Configuration for Optimal Communication Scheduling in DNN TrainingYiqing Ma, Hao Wang, Yiming Zhang, Kai ChenINFOCOM 2022 · 11 次引用
  3. AdaLRS: Loss-Guided Adaptive Learning Rate Search for Efficient Foundation Model PretrainingHongyuan Dong, Dingkang Yang, Xiao Liang, Chao Feng 等NeurIPS 2025 · 3 次引用
  4. MetaOptimize: A Framework for Optimizing Step Sizes and Other Meta-parametersArsalan Sharifnassab, Saber Salehkaleybar, Richard S. SuttonICML 2025
  5. Bayesian Optimization for Iterative LearningVu Nguyen, Sebastian Schulze, Michael A. OsborneNeurIPS 2020 · 38 次引用
黄昏的海面,两侧是细线勾勒的悬崖