Laplace Matching for fast Approximate Inference in Latent Gaussian Models

Marius Hobbhahn, Philipp Hennig
5/7/2021
cs.LGstat.ML
bayesian

Official code: mariushobbhahn/Laplace_Matching_for_GLMs (5 stars, Jupyter Notebook, last commit 2022-10-05).

Abstract

Bayesian inference on non-Gaussian data is often non-analytic and requires computationally expensive approximations such as sampling or variational inference. We propose an approximate inference framework primarily designed to be computationally cheap while still achieving high approximation quality.

Show full abstract

The concept, which we call Laplace Matching, involves closed-form, approximate, bi-directional transformations between the parameter spaces of exponential families. These are constructed from Laplace approximations under custom-designed basis transformations. The mappings can then be leveraged to effectively turn a latent Gaussian distribution into an approximate conjugate prior to a rich class of observable variables. This allows us to train latent Gaussian models such as Gaussian Processes on non-Gaussian data at nearly no additional cost. The method can be thought of as a pre-processing step which can be implemented in <5 lines of code and runs in less than a second. Furthermore, Laplace Matching yields a simple way to group similar data points together, e.g. to produce inducing points for GPs. We empirically evaluate the method with experiments for four different exponential distributions, namely the Beta, Gamma, Dirichlet and inverse Wishart, showing approximation quality comparable to state-of-the-art approximate inference techniques at a drastic reduction in computational cost.

View on arXivView PDF

Code Implementations(1)

Github repository for "Laplace Matching for GLMs". Arxiv paper: https://arxiv.org/abs/2105.03109

50Jupyter Notebook, TeXDec 22, 20204 years ago

Similar Papers

Cite this paper

@article{hobbhahn2021laplace,
  title  = {Laplace Matching for fast Approximate Inference in Latent Gaussian Models},
  author = {Marius Hobbhahn and Philipp Hennig},
  year   = {2021},
  eprint = {2105.03109},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.03109}
}

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

Discussion