# Research Article Bayesian State-Space Modelling on High-Performance Hardware Using LibBi

## Abstract

LibBi is a software package for state-space modelling and Bayesian inference on modern computer hardware, including multi-core central processing units (CPUs), many-core graphics processing units (GPUs) and distributed-memory clusters of such devices. The software parses a domain-specific language for model specification, then optimises, generates, compiles and runs code for the given model, inference method and hardware platform. In presenting the software, this work serves as an introduction to state-space models and the specialised methods developed for Bayesian inference with them. The focus is on sequential Monte Carlo (SMC) methods such as the particle filter for state estimation, and the particle Markov chain Monte Carlo (PMCMC) and SMC$^2$ methods for parameter estimation. All are well-suited to current computer hardware. Two examples are given and developed throughout, one a linear three-element windkessel model of the human arterial system, the other a nonlinear Lorenz ’96 model. These are specified in the prescribed modelling language, and LibBi demonstrated by performing inference with them. Empirical results are presented, including a performance comparison of the software with different hardware configurations.

## Reference

L.M. Murray (2015). Bayesian State-Space Modelling on High-Performance Hardware Using LibBi. Journal of Statistical Software. 67(10):1--36. doi:10.18637/jss.v067.i10. url:http://www.jstatsoft.org/index.php/jss/article/view/v067i10.

## BibTeX

@Article{Murray2015,
title = {Bayesian State-Space Modelling on High-Performance Hardware Using {LibBi}},
author = {Lawrence M. Murray},
journal = {Journal of Statistical Software},
year = {2015},
volume = {67},
number = {10},
pages = {1--36},
doi = {10.18637/jss.v067.i10},  url = {http://www.jstatsoft.org/index.php/jss/article/view/v067i10}
}