Early Stopping is Nonparametric Variational Inference

Dougal Maclaurin, David Duvenaud, Ryan P. Adams
4/6/2015
101 citations
stat.MLcs.LG
bayesian

Official code: HIPS/maxwells-daemon (33 stars, TeX, last commit 2016-04-19).

Abstract

We show that unconverged stochastic gradient descent can be interpreted as a procedure that samples from a nonparametric variational approximate posterior distribution. This distribution is implicitly defined as the transformation of an initial distribution by a sequence of optimization updates.

Show full abstract

By tracking the change in entropy over this sequence of transformations during optimization, we form a scalable, unbiased estimate of the variational lower bound on the log marginal likelihood. We can use this bound to optimize hyperparameters instead of using cross-validation. This Bayesian interpretation of SGD suggests improved, overfitting-resistant optimization procedures, and gives a theoretical foundation for popular tricks such as early stopping and ensembling. We investigate the properties of this marginal likelihood estimator on neural network models.

View on arXivView PDF

Code Implementations(1)

Fastidious accounting of entropy streams into and out of optimization and sampling algorithms.

339TeX, PythonFeb 10, 201510 years ago

Similar Papers

Cite this paper

@article{maclaurin2015early,
  title  = {Early Stopping is Nonparametric Variational Inference},
  author = {Dougal Maclaurin and David Duvenaud and Ryan P. Adams},
  year   = {2015},
  eprint = {1504.01344},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1504.01344}
}

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

Discussion