TY - JOUR
T1 - Bayesian cross-validation by parallel Markov chain Monte Carlo
AU - Cooper, Alex
AU - Vehtari, Aki
AU - Forbes, Catherine
AU - Simpson, Dan
AU - Kennedy, Lauren
N1 - Funding Information:
The authors would like to thank Charles Margossian for helpful comments. AC\u2019s work was supported in part by an Australian Government Research Training Program Scholarship. AV acknowledges the Research Council of Finland Flagship program: Finnish Center for Artificial Intelligence, and Academy of Finland project (340721). CF acknowledges financial support under National Science Foundation Grant SES-1921523.
Publisher Copyright:
© The Author(s) 2024.
PY - 2024
Y1 - 2024
N2 - Brute force cross-validation (CV) is a method for predictive assessment and model selection that is general and applicable to a wide range of Bayesian models. Naive or ‘brute force’ CV approaches are often too computationally costly for interactive modeling workflows, especially when inference relies on Markov chain Monte Carlo (MCMC). We propose overcoming this limitation using massively parallel MCMC. Using accelerator hardware such as graphics processor units, our approach can be about as fast (in wall clock time) as a single full-data model fit. Parallel CV is flexible because it can easily exploit a wide range data partitioning schemes, such as those designed for non-exchangeable data. It can also accommodate a range of scoring rules. We propose MCMC diagnostics, including a summary of MCMC mixing based on the popular potential scale reduction factor (R^) and MCMC effective sample size (ESS^) measures. We also describe a method for determining whether an R^ diagnostic indicates approximate stationarity of the chains, that may be of more general interest for applications beyond parallel CV. Finally, we show that parallel CV and its diagnostics can be implemented with online algorithms, allowing parallel CV to scale up to very large blocking designs on memory-constrained computing accelerators.
AB - Brute force cross-validation (CV) is a method for predictive assessment and model selection that is general and applicable to a wide range of Bayesian models. Naive or ‘brute force’ CV approaches are often too computationally costly for interactive modeling workflows, especially when inference relies on Markov chain Monte Carlo (MCMC). We propose overcoming this limitation using massively parallel MCMC. Using accelerator hardware such as graphics processor units, our approach can be about as fast (in wall clock time) as a single full-data model fit. Parallel CV is flexible because it can easily exploit a wide range data partitioning schemes, such as those designed for non-exchangeable data. It can also accommodate a range of scoring rules. We propose MCMC diagnostics, including a summary of MCMC mixing based on the popular potential scale reduction factor (R^) and MCMC effective sample size (ESS^) measures. We also describe a method for determining whether an R^ diagnostic indicates approximate stationarity of the chains, that may be of more general interest for applications beyond parallel CV. Finally, we show that parallel CV and its diagnostics can be implemented with online algorithms, allowing parallel CV to scale up to very large blocking designs on memory-constrained computing accelerators.
KW - Bayesian inference
KW - Convergence diagnostics
KW - Parallel computation
KW - R^ statistic
UR - https://www.scopus.com/pages/publications/85193813417
U2 - 10.1007/s11222-024-10404-w
DO - 10.1007/s11222-024-10404-w
M3 - Article
AN - SCOPUS:85193813417
SN - 0960-3174
VL - 34
JO - Statistics and Computing
JF - Statistics and Computing
IS - 4
M1 - 119
ER -