Bernstein Flows for Flexible Posteriors in Variational Bayes

Oliver Dürr, Stephan Hörling, Daniel Dold, Ivonne Kovylov, Beate Sick
2/11/2022
stat.MLcs.LG
diffusion-flowbayesian

Official code: tensorchiefs/bfvi_paper (1 star, Jupyter Notebook, last commit 2023-11-24).

Abstract

Variational inference (VI) is a technique to approximate difficult to compute posteriors by optimization. In contrast to MCMC, VI scales to many observations.

Show full abstract

In the case of complex posteriors, however, state-of-the-art VI approaches often yield unsatisfactory posterior approximations. This paper presents Bernstein flow variational inference (BF-VI), a robust and easy-to-use method, flexible enough to approximate complex multivariate posteriors. BF-VI combines ideas from normalizing flows and Bernstein polynomial-based transformation models. In benchmark experiments, we compare BF-VI solutions with exact posteriors, MCMC solutions, and state-of-the-art VI methods including normalizing flow based VI. We show for low-dimensional models that BF-VI accurately approximates the true posterior; in higher-dimensional models, BF-VI outperforms other VI methods. Further, we develop with BF-VI a Bayesian model for the semi-structured Melanoma challenge data, combining a CNN model part for image data with an interpretable model part for tabular data, and demonstrate for the first time how the use of VI in semi-structured models.

View on arXivView PDF

Code Implementations(1)

10Jupyter Notebook, RAug 3, 20223 years ago

Similar Papers

Cite this paper

@article{drr2022bernstein,
  title  = {Bernstein Flows for Flexible Posteriors in Variational Bayes},
  author = {Oliver Dürr and Stephan Hörling and Daniel Dold and Ivonne Kovylov and Beate Sick},
  year   = {2022},
  eprint = {2202.05650},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.05650}
}

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

Discussion