Investigating the efficiency of marginalising over discrete parameters in Bayesian computations

04/13/2022
by   Wen Zhang, et al.
0

Bayesian analysis methods often use some form of iterative simulation such as Monte Carlo computation. Models that involve discrete variables can sometime pose a challenge, either because the methods used do not support such variables (e.g. Hamiltonian Monte Carlo) or because the presence of such variables can slow down the computation. A common workaround is to marginalise the discrete variables out of the model. While it is reasonable to expect that such marginalisation would also lead to more time-efficient computations, to our knowledge this has not been demonstrated beyond a few specialised models. We explored the impact of marginalisation on the computational efficiency for a few simple statistical models. Specifically, we considered two- and three-component Gaussian mixture models, and also the Dawid-Skene model for categorical ratings. We explored each with two software implementations of Markov chain Monte Carlo techniques: JAGS and Stan. We directly compared marginalised and non-marginalised versions of the same model using the samplers on the same software. Our results show that marginalisation on its own does not necessarily boost performance. Nevertheless, the best performance was usually achieved with Stan, which requires marginalisation. We conclude that there is no simple answer to whether or not marginalisation is helpful. It is not necessarily the case that, when turned 'on', this technique can be assured to provide computational benefit independent of other factors, nor is it likely to be the model component that has the largest impact on computational efficiency.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/09/2020

Practical Bayesian System Identification using Hamiltonian Monte Carlo

This paper addresses Bayesian system identification using a Markov Chain...
research
09/15/2020

Efficient Bayesian generalized linear models with time-varying coefficients: The walker package in R

The R package walker extends standard Bayesian general linear models to ...
research
05/08/2017

Geometry and Dynamics for Markov Chain Monte Carlo

Markov Chain Monte Carlo methods have revolutionised mathematical comput...
research
10/18/2017

Bayesian inversion of convolved hidden Markov models with applications in reservoir prediction

Efficient assessment of convolved hidden Markov models is discussed. The...
research
07/05/2023

Adaptive multi-stage integration schemes for Hamiltonian Monte Carlo

Hamiltonian Monte Carlo (HMC) is a powerful tool for Bayesian statistica...
research
06/29/2020

Learning Hamiltonian Monte Carlo in R

Hamiltonian Monte Carlo (HMC) is a powerful tool for Bayesian computatio...
research
04/07/2019

Bayesian influence diagnostics using normalizing functional Bregman divergence

Ideally, any statistical inference should be robust to local influences....

Please sign up or login with your details

Forgot password? Click here to reset