Learning with Random Learning Rates

Léonard Blier, Pierre Wolinski, Yann Ollivier
10/2/2018
cs.LGcs.NEstat.ML

Official code: leonardblier/alrao (102 stars, Python, last commit 2019-11-07).

Abstract

Hyperparameter tuning is a bothersome step in the training of deep learning models. One of the most sensitive hyperparameters is the learning rate of the gradient descent.

Show full abstract

We present the 'All Learning Rates At Once' (Alrao) optimization method for neural networks: each unit or feature in the network gets its own learning rate sampled from a random distribution spanning several orders of magnitude. This comes at practically no computational cost. Perhaps surprisingly, stochastic gradient descent (SGD) with Alrao performs close to SGD with an optimally tuned learning rate, for various architectures and problems. Alrao could save time when testing deep learning models: a range of models could be quickly assessed with Alrao, and the most promising models could then be trained more extensively. This text comes with a PyTorch implementation of the method, which can be plugged on an existing PyTorch model: https://github.com/leonardblier/alrao .

View on arXivView PDF

Code Implementations(1)

leonardblier/alraoOfficial100%

Implementation of "Learning with Random Learning Rates" in PyTorch.

1029Python, Jupyter NotebookOct 1, 20187 years agoNOASSERTION

Similar Papers

Cite this paper

@article{blier2018learning,
  title  = {Learning with Random Learning Rates},
  author = {Léonard Blier and Pierre Wolinski and Yann Ollivier},
  year   = {2018},
  eprint = {1810.01322},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.01322}
}

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/1810.01322.svg)](https://codeofpaper.com/paper/1810.01322)

Discussion