Investigating the efficiency of marginalising over discrete parameters in Bayesian computations
Wen Zhang, Jeffrey Pullin, Lyle Gurrin, Damjan Vukcevic

TL;DR
This paper investigates whether marginalising over discrete parameters in Bayesian models improves computational efficiency, finding that benefits depend on the specific model and implementation, with no universal advantage.
Contribution
It provides an empirical comparison of marginalised versus non-marginalised models across different Bayesian software, highlighting the nuanced impact on efficiency.
Findings
Marginalisation does not always improve performance.
Stan generally outperforms JAGS regardless of marginalisation.
The benefit of marginalisation depends on the model and implementation.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Methods and Mixture Models · Statistical Methods and Bayesian Inference · Bayesian Modeling and Causal Inference
