Bayes-Newton Methods for Approximate Bayesian Inference with PSD Guarantees

William J. Wilkinson, Simo Särkkä, Arno Solin
11/2/2021
stat.MLcs.LG
bayesian

Official code: AaltoML/BayesNewton (245 stars, Python, Apache-2.0, JAX, last commit 2023-12-22).

Abstract

We formulate natural gradient variational inference (VI), expectation propagation (EP), and posterior linearisation (PL) as extensions of Newton's method for optimising the parameters of a Bayesian posterior distribution. This viewpoint explicitly casts inference algorithms under the framework of numerical optimisation.

Show full abstract

We show that common approximations to Newton's method from the optimisation literature, namely Gauss-Newton and quasi-Newton methods (e.g., the BFGS algorithm), are still valid under this 'Bayes-Newton' framework. This leads to a suite of novel algorithms which are guaranteed to result in positive semi-definite (PSD) covariance matrices, unlike standard VI and EP. Our unifying viewpoint provides new insights into the connections between various inference schemes. All the presented methods apply to any model with a Gaussian prior and non-conjugate likelihood, which we demonstrate with (sparse) Gaussian processes and state space models.

View on arXivView PDF

Code Implementations(1)

JAXApache-2.0

Bayes-Newton—A Gaussian process library in JAX, with a unifying view of approximate Bayesian inference as variants of Newton's method.

24531Python, ShellMar 19, 20212 years agoApache-2.0
approximate-bayesian-inferencegaussian-processesjaxmachine-learningmarkov-gps+3 more

Similar Papers

Cite this paper

@article{wilkinson2021bayesnewton,
  title  = {Bayes-Newton Methods for Approximate Bayesian Inference with PSD Guarantees},
  author = {William J. Wilkinson and Simo Särkkä and Arno Solin},
  year   = {2021},
  eprint = {2111.01721},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.01721}
}

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

Discussion