gemlib.mcmc: composable kernels for Metropolis-within-Gibbs sampling schemes
Alin Morariu, Jess Bridgen, Chris Jewell

TL;DR
gemlib.mcmc is a Python library that simplifies the construction and extension of complex MCMC algorithms for high-dimensional models, using composable kernels and category theory concepts.
Contribution
It introduces a principled, flexible framework for composing MCMC kernels with high-performance computation support, improving reusability and extensibility in Bayesian inference.
Findings
Demonstrated parameter inference on epidemic models
Showcased concise expression and reuse of complex algorithms
Reduced implementation effort for sophisticated MCMC methods
Abstract
State-transition models are essential across epidemiology and ecology, but statistical inference remains challenging owing to high-dimensional latent state spaces, temporal dependence, and intractable likelihood functions. Bayesian inference via Markov Chain Monte Carlo (MCMC) enables joint estimation of model parameters and missing event times through data augmentation, but Metropolis-within-Gibbs (MWG) schemes that combine multiple specialised kernels are notoriously difficult to implement. Current probabilistic programming frameworks face a trade-off: automation sacrifices extensibility, whilst flexibility demands substantial implementation overhead. This divide has created a software landscape characterised by tightly coupled, model-specific implementations that resist reuse and extension. We introduce gemlib.mcmc, an MCMC module designed to bridge methodological and applied…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
