Scalable Marginal Likelihood Estimation for Model Selection in Deep Learning

Alexander Immer, Matthias Bauer, Vincent Fortuin, Gunnar Rätsch, Mohammad Emtiyaz Khan
4/11/2021
stat.MLcs.LG

Official code: aleximmer/marglik (6 stars, Python, last commit 2021-10-20).

Abstract

Marginal-likelihood based model-selection, even though promising, is rarely used in deep learning due to estimation difficulties. Instead, most approaches rely on validation data, which may not be readily available.

Show full abstract

In this work, we present a scalable marginal-likelihood estimation method to select both hyperparameters and network architectures, based on the training data alone. Some hyperparameters can be estimated online during training, simplifying the procedure. Our marginal-likelihood estimate is based on Laplace's method and Gauss-Newton approximations to the Hessian, and it outperforms cross-validation and manual-tuning on standard regression and image classification datasets, especially in terms of calibration and out-of-distribution detection. Our work shows that marginal likelihoods can improve generalization and be useful when validation data is unavailable (e.g., in nonstationary settings).

View on arXivView PDF

Code Implementations(1)

aleximmer/marglikOfficial100%

Marginal likelihood estimation for model selection in deep learning

60PythonJun 10, 20215 years ago

Similar Papers

Cite this paper

@article{immer2021scalable,
  title  = {Scalable Marginal Likelihood Estimation for Model Selection in Deep Learning},
  author = {Alexander Immer and Matthias Bauer and Vincent Fortuin and Gunnar Rätsch and Mohammad Emtiyaz Khan},
  year   = {2021},
  eprint = {2104.04975},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04975}
}

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

Discussion