Approximate Inference Turns Deep Networks into Gaussian Processes

Mohammad Emtiyaz Khan, Alexander Immer, Ehsan Abedi, Maciej Korzepa
6/5/2019
stat.MLcs.AIcs.LG
bayesian

Official code: team-approx-bayes/dnn2gp (49 stars, Python, last commit 2019-12-17).

Abstract

Deep neural networks (DNN) and Gaussian processes (GP) are two powerful models with several theoretical connections relating them, but the relationship between their training methods is not well understood. In this paper, we show that certain Gaussian posterior approximations for Bayesian DNNs are equivalent to GP posteriors.

Show full abstract

This enables us to relate solutions and iterations of a deep-learning algorithm to GP inference. As a result, we can obtain a GP kernel and a nonlinear feature map while training a DNN. Surprisingly, the resulting kernel is the neural tangent kernel. We show kernels obtained on real datasets and demonstrate the use of the GP marginal likelihood to tune hyperparameters of DNNs. Our work aims to facilitate further research on combining DNNs and GPs in practical settings.

View on arXivView PDF

Code Implementations(1)

Approximate Inference Turns Deep Networks into Gaussian Processes (dnn2gp)

493PythonOct 27, 20196 years ago

Similar Papers

Cite this paper

@article{khan2019approximate,
  title  = {Approximate Inference Turns Deep Networks into Gaussian Processes},
  author = {Mohammad Emtiyaz Khan and Alexander Immer and Ehsan Abedi and Maciej Korzepa},
  year   = {2019},
  eprint = {1906.01930},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.01930}
}

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

Discussion