arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07002stat.ME
收藏

基于并行马尔可夫链蒙特卡洛的贝叶斯交叉验证

Bayesian cross-validation by parallel Markov Chain Monte Carlo

Alex Cooper, Aki Vehtari, Catherine Forbes, Lauren Kennedy, Dan Simpson

AI总结:

本文提出利用 GPU 等加速器上的大规模并行 MCMC 实现贝叶斯交叉验证,使其计算速度接近单次全数据拟合,并给出 MCMC 诊断方法及在线算法以支持大规模分块设计。

摘要:

暴力交叉验证(CV)是一种用于预测评估和模型选择的方法,具有通用性,适用于广泛的贝叶斯模型。朴素或“暴力”CV 方法在交互式建模工作流中往往计算成本过高,尤其是当推断依赖于马尔可夫链蒙特卡洛(MCMC)时。我们提出利用大规模并行 MCMC 来克服这一局限。借助图形处理器单元(GPU)等加速器硬件,我们的方法在墙钟时间上可以与单次全数据模型拟合大致一样快。并行 CV 具有灵活性,因为它可以轻松利用多种数据划分方案,例如为非可交换数据设计的方案。它还可以适应多种评分规则。我们提出了 MCMC 诊断方法,包括基于流行的潜在尺度缩减因子($\widehat{R}$)和 MCMC 有效样本量($\widehat{ESS}$)指标的 MCMC 混合情况汇总。我们还描述了一种用于判断 $\widehat{R}$ 诊断是否表明链近似平稳的方法,该方法在并行 CV 之外的应用中可能具有更广泛的参考价值。最后,我们展示了并行 CV 及其诊断可以通过在线算法实现,从而使并行 CV 能够在内存受限的计算加速器上扩展到非常大的分块设计。

英文摘要:

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 (GPUs), 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 ($\widehat{R}$) and MCMC effective sample size ($\widehat{ESS}$) measures. We also describe a method for determining whether an $\widehat{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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑