Demystifying Learning Rate Policies for High Accuracy Training of Deep Neural Networks

Yanzhao Wu, Ling Liu, Juhyun Bae, Ka-Ho Chow, Arun Iyengar +4 more
8/18/2019
cs.LGstat.ML

Official code: git-disl/LRBench (20 stars, Python, last commit 2023-05-19).

Abstract

Learning Rate (LR) is an important hyper-parameter to tune for effective training of deep neural networks (DNNs). Even for the baseline of a constant learning rate, it is non-trivial to choose a good constant value for training a DNN.

Show full abstract

Dynamic learning rates involve multi-step tuning of LR values at various stages of the training process and offer high accuracy and fast convergence. However, they are much harder to tune. In this paper, we present a comprehensive study of 13 learning rate functions and their associated LR policies by examining their range parameters, step parameters, and value update parameters. We propose a set of metrics for evaluating and selecting LR policies, including the classification confidence, variance, cost, and robustness, and implement them in LRBench, an LR benchmarking system. LRBench can assist end-users and DNN developers to select good LR policies and avoid bad LR policies for training their DNNs. We tested LRBench on Caffe, an open source deep learning framework, to showcase the tuning optimization of LR policies. Evaluated through extensive experiments, we attempt to demystify the tuning of LR policies by identifying good LR policies with effective LR value ranges and step sizes for LR update schedules.

View on arXivView PDF

Code Implementations(1)

git-disl/LRBenchOfficial100%

A learning rate recommending and benchmarking tool.

201Python, HTMLAug 9, 20193 years ago
deep-learninglearning-rate-benchmarkinglearning-rate-scheduling

Similar Papers

Cite this paper

@article{wu2019demystifying,
  title  = {Demystifying Learning Rate Policies for High Accuracy Training of Deep Neural Networks},
  author = {Yanzhao Wu and Ling Liu and Juhyun Bae and Ka-Ho Chow and Arun Iyengar and Calton Pu and Wenqi Wei and Lei Yu and Qi Zhang},
  year   = {2019},
  eprint = {1908.06477},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.06477}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.06477.svg)](https://codeofpaper.com/paper/1908.06477)

Discussion