English

Early Stopping is Nonparametric Variational Inference

Machine Learning 2015-04-07 v1 Machine Learning

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. 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.

Keywords

Cite

@article{arxiv.1504.01344,
  title  = {Early Stopping is Nonparametric Variational Inference},
  author = {Dougal Maclaurin and David Duvenaud and Ryan P. Adams},
  journal= {arXiv preprint arXiv:1504.01344},
  year   = {2015}
}

Comments

8 pages, 5 figures

R2 v1 2026-06-22T09:10:56.804Z