Trace-class Gaussian priors for Bayesian learning of neural networks with MCMC

Torben Sell, Sumeetpal S. Singh
12/20/2020
stat.MEstat.COstat.ML
bayesian

Official code: TorbenSell/trace-class-neural-networks (1 star, Python, last commit 2022-11-11).

Abstract

This paper introduces a new neural network based prior for real valued functions on $\mathbb R^d$ which, by construction, is more easily and cheaply scaled up in the domain dimension $d$ compared to the usual Karhunen-Loève function space prior. The new prior is a Gaussian neural network prior, where each weight and bias has an independent Gaussian prior, but with the key difference that the variances decrease in the width of the network in such a way that the resulting function is \emph{almost surely} well defined in the limit of an infinite width network.

Show full abstract

We show that in a Bayesian treatment of inferring unknown functions, the induced posterior over functions is amenable to Monte Carlo sampling using Hilbert space Markov chain Monte Carlo (MCMC) methods. This type of MCMC is popular, e.g. in the Bayesian Inverse Problems literature, because it is stable under \emph{mesh refinement}, i.e. the acceptance probability does not shrink to $0$ as more parameters of the function's prior are introduced, even \emph{ad infinitum}. In numerical examples we demonstrate these stated competitive advantages over other function space priors. We also implement examples in Bayesian Reinforcement Learning to automate tasks from data and demonstrate, for the first time, stability of MCMC to mesh refinement for these type of problems.

View on arXivView PDF

Code Implementations(1)

10Python, Jupyter NotebookFeb 2, 20214 years ago

Similar Papers

Cite this paper

@article{sell2020traceclass,
  title  = {Trace-class Gaussian priors for Bayesian learning of neural networks with MCMC},
  author = {Torben Sell and Sumeetpal S. Singh},
  year   = {2020},
  eprint = {2012.10943},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.10943}
}

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

Discussion