Gradient-based Hyperparameter Optimization through Reversible Learning

Dougal Maclaurin, David Duvenaud, Ryan P. Adams
2/11/2015
stat.MLcs.LG

Official code: HIPS/hypergrad (297 stars, last commit 2016-01-15).

Abstract

Tuning hyperparameters of learning algorithms is hard because gradients are usually unavailable. We compute exact gradients of cross-validation performance with respect to all hyperparameters by chaining derivatives backwards through the entire training procedure. These gradients allow us to optimize thousands of hyperparameters, including step-size and momentum schedules, weight initialization distributions, richly parameterized regularization schemes, and neural network architectures. We compute hyperparameter gradients by exactly reversing the dynamics of stochastic gradient descent with momentum.

View on arXivView PDF

Code Implementations(1)

HIPS/hypergradOfficial100%

Exploring differentiation with respect to hyperparameters

29773TeX, HTMLJan 9, 201510 years ago

Similar Papers

Cite this paper

@article{maclaurin2015gradientbased,
  title  = {Gradient-based Hyperparameter Optimization through Reversible Learning},
  author = {Dougal Maclaurin and David Duvenaud and Ryan P. Adams},
  year   = {2015},
  eprint = {1502.03492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1502.03492}
}

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

Discussion