English

Optimizing Millions of Hyperparameters by Implicit Differentiation

Machine Learning 2019-11-11 v1 Machine Learning

Abstract

We propose an algorithm for inexpensive gradient-based hyperparameter optimization that combines the implicit function theorem (IFT) with efficient inverse Hessian approximations. We present results about the relationship between the IFT and differentiating through optimization, motivating our algorithm. We use the proposed approach to train modern network architectures with millions of weights and millions of hyper-parameters. For example, we learn a data-augmentation network - where every weight is a hyperparameter tuned for validation performance - outputting augmented training examples. Jointly tuning weights and hyperparameters with our approach is only a few times more costly in memory and compute than standard training.

Keywords

Cite

@article{arxiv.1911.02590,
  title  = {Optimizing Millions of Hyperparameters by Implicit Differentiation},
  author = {Jonathan Lorraine and Paul Vicol and David Duvenaud},
  journal= {arXiv preprint arXiv:1911.02590},
  year   = {2019}
}

Comments

Submitted to AISTATS 2020

R2 v1 2026-06-23T12:07:50.389Z