English

Forward and Reverse Gradient-Based Hyperparameter Optimization

Machine Learning 2017-12-13 v3

Abstract

We study two procedures (reverse-mode and forward-mode) for computing the gradient of the validation error with respect to the hyperparameters of any iterative learning algorithm such as stochastic gradient descent. These procedures mirror two methods of computing gradients for recurrent neural networks and have different trade-offs in terms of running time and space requirements. Our formulation of the reverse-mode procedure is linked to previous work by Maclaurin et al. [2015] but does not require reversible dynamics. The forward-mode procedure is suitable for real-time hyperparameter updates, which may significantly speed up hyperparameter optimization on large datasets. We present experiments on data cleaning and on learning task interactions. We also present one large-scale experiment where the use of previous gradient-based methods would be prohibitive.

Keywords

Cite

@article{arxiv.1703.01785,
  title  = {Forward and Reverse Gradient-Based Hyperparameter Optimization},
  author = {Luca Franceschi and Michele Donini and Paolo Frasconi and Massimiliano Pontil},
  journal= {arXiv preprint arXiv:1703.01785},
  year   = {2017}
}

Comments

- Posted the ICML Camera Ready version. - Added a link to a newer package implementation of the algorithms