arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.14526cs.LG
收藏

LRTuner:一种用于深度神经网络的学习率调节器

LRTuner: A Learning Rate Tuner for Deep Neural Networks

Microsoft Research India(微软印度研究院)

Nikhil Iyer, V Thejas, Nipun Kwatra, Ramachandran Ramjee, Muthian Sivathanu

摘要:

训练深度神经网络的一个非常重要的超参数是优化器的学习率调度。学习率调度的选择决定了接近最小值的计算成本,实际接近最小值的程度,最重要的是获得的局部最小值(宽/窄)的类型。获得的最小值的种类对网络的泛化精度有显著影响。目前的系统采用手动调整的学习率调度,这是精心调整每个网络和数据集。给定调度的状态空间是巨大的,找到令人满意的学习率调度可能非常耗时。在本文中,我们提出了LRTuner,这是一种随着训练的进行调整学习率的方法。我们的方法适用于任何优化器,并且我们使用Momentum和Adam优化器在SGD上展示了结果。我们在多个数据集,模型和跨优化器上广泛评估LRTuner。我们与给定数据集和模型的标准学习率调度进行了比较,包括Resnet-50上的ImageNet,Resnet-18上的Cifar-10以及BERT上的SQuAD微调。例如,在使用Resnet-50的ImageNet上,与手动调整的基线时间表相比,LRTuner在测试准确性方面显示出高达0.2%的绝对增益。此外,LRTuner可以在减少29%的优化步骤的情况下实现与基线调度相同的精度。

英文摘要:

One very important hyperparameter for training deep neural networks is the learning rate schedule of the optimizer. The choice of learning rate schedule determines the computational cost of getting close to a minima, how close you actually get to the minima, and most importantly the kind of local minima (wide/narrow) attained. The kind of minima attained has a significant impact on the generalization accuracy of the network. Current systems employ hand tuned learning rate schedules, which are painstakingly tuned for each network and dataset. Given that the state space of schedules is huge, finding a satisfactory learning rate schedule can be very time consuming. In this paper, we present LRTuner, a method for tuning the learning rate as training proceeds. Our method works with any optimizer, and we demonstrate results on SGD with Momentum, and Adam optimizers. We extensively evaluate LRTuner on multiple datasets, models, and across optimizers. We compare favorably against standard learning rate schedules for the given dataset and models, including ImageNet on Resnet-50, Cifar-10 on Resnet-18, and SQuAD fine-tuning on BERT. For example on ImageNet with Resnet-50, LRTuner shows up to 0.2% absolute gains in test accuracy compared to the hand-tuned baseline schedule. Moreover, LRTuner can achieve the same accuracy as the baseline schedule in 29% less optimization steps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑