[Paper Review] Demystifying Learning Rate Policies for High Accuracy Training of Deep Neural Networks
This paper proposes LRBench, a benchmarking system that evaluates and recommends optimal learning rate (LR) policies for training deep neural networks (DNNs). By analyzing 13 LR functions using metrics like classification confidence, variance, cost, and robustness, LRBench identifies high-accuracy, efficient LR schedules and reduces manual tuning effort in frameworks like Caffe.
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. 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.
Motivation & Objective
- To systematically evaluate and compare 13 learning rate (LR) functions and their associated policies for deep neural network (DNN) training.
- To address the high cost and difficulty of manual hyperparameter tuning by proposing a benchmarking system that automates LR policy selection.
- To reduce reliance on trial-and-error tuning by identifying effective LR value ranges and update schedules tailored to datasets and DNN architectures.
- To improve training efficiency and model accuracy by recommending robust, high-performing LR policies based on empirical evaluation.
- To enable knowledge sharing across DNN training tasks by storing and reusing past tuning results for similar datasets and models.
Proposed method
- Proposes a comprehensive characterization of 13 LR functions, including fixed, step decay, exponential, inverse time, polynomial, cyclic (TRI, TRI2, TRIEXP), sinusoidal (SIN, SIN2, SINEXP), and cosine decay functions.
- Introduces four evaluation metrics: classification confidence, variance, cost, and robustness to objectively compare LR policies.
- Develops LRBench, an open-source benchmarking system that automates the evaluation of LR policies using the proposed metrics.
- Employs a systematic experimental setup across MNIST and CIFAR-10 using LeNet, CNN3, and ResNet to test LR policy performance.
- Uses metadata and similarity-based ranking to recommend previously validated LR policies for new datasets or models.
- Applies the metrics to identify and filter out ineffective or unstable LR policies, improving tuning efficiency.
Experimental results
Research questions
- RQ1Which learning rate functions and parameter settings yield the highest test accuracy across diverse DNN architectures and datasets?
- RQ2How do different LR policy parameters (e.g., range, step size, decay rate) affect training convergence and model robustness?
- RQ3What metrics can reliably evaluate and compare the utility, cost, and robustness of LR policies in a standardized way?
- RQ4Can a benchmarking system like LRBench reduce the manual effort of LR tuning while improving training outcomes?
- RQ5How do LR policy recommendations transfer across similar datasets and model architectures?
Key findings
- LRBench successfully identifies high-performing LR policies across multiple datasets and models, significantly improving test accuracy compared to default or poorly tuned schedules.
- The cosine decay (COS) and triangular2 (TRI2) policies consistently achieve high classification confidence and low variance, making them robust choices across different training scenarios.
- Policies with large initial learning rates and adaptive decay, such as those in the CLR family (e.g., TRI2, SIN2), show strong performance, supporting the concept of super-convergence.
- The study reveals that suboptimal parameter settings—especially in step size and decay rate—can lead to high variance and poor convergence, even with well-known LR functions.
- The benchmarking system reduces manual tuning cost by recommending previously validated policies based on dataset and model similarity, accelerating training setup.
- The proposed metrics (confidence, variance, cost, robustness) effectively distinguish between high-quality and poor-performing LR policies, enabling reliable policy selection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.