MARTHE: Scheduling the Learning Rate Via Online Hypergradients

Michele Donini, Luca Franceschi, Massimiliano Pontil, Orchid Majumder, Paolo Frasconi
10/18/2019
cs.LGstat.ML

Official code: awslabs/adatune (287 stars, Python, Apache-2.0, PyTorch, last commit 2020-07-17).

Abstract

We study the problem of fitting task-specific learning rate schedules from the perspective of hyperparameter optimization, aiming at good generalization. We describe the structure of the gradient of a validation error w.r.t. the learning rate schedule -- the hypergradient.

Show full abstract

Based on this, we introduce MARTHE, a novel online algorithm guided by cheap approximations of the hypergradient that uses past information from the optimization trajectory to simulate future behaviour. It interpolates between two recent techniques, RTHO (Franceschi et al., 2017) and HD (Baydin et al. 2018), and is able to produce learning rate schedules that are more stable leading to models that generalize better.

View on arXivView PDF

Code Implementations(1)

awslabs/adatuneOfficial100%
PyTorchApache-2.0

Gradient based Hyperparameter Tuning library in PyTorch

28732PythonJun 24, 20196 years agoApache-2.0
automldeep-learninghyperparameter-tuninglearning-rate-schedulingmachine-learning+2 more

Similar Papers

Cite this paper

@article{donini2019marthe,
  title  = {MARTHE: Scheduling the Learning Rate Via Online Hypergradients},
  author = {Michele Donini and Luca Franceschi and Massimiliano Pontil and Orchid Majumder and Paolo Frasconi},
  year   = {2019},
  eprint = {1910.08525},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.08525}
}

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

Discussion