arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.27276stat.APcs.MSstat.CO
收藏

PyINLA:Python中用于潜在高斯模型的快速贝叶斯推断

PyINLA: Fast Bayesian Inference for Latent Gaussian Models in Python

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)

Esmail Abdul Fattah, Elias Krainski, Havard Rue

AI总结:

本文介绍PyINLA,一个Python包,提供直接接口到inla程序,用于指定潜在高斯模型、运行基于INLA的推断并获取后验摘要,整合到科学计算流程中。

摘要:

贝叶斯推断通常依赖于马尔可夫链蒙特卡罗(MCMC)方法,特别是对于非高斯数据家族而言是必需的。当处理复杂分层模型时,MCMC方法在需要重复模型拟合的工作流中可能计算上很耗费资源,尤其是在处理大型维度模型或硬件资源有限时。整合嵌套拉普拉斯近似(INLA)是一种确定性替代方法,适用于属于潜在高斯模型(LGMs)类别的非高斯数据,能够在许多应用情况下提供准确的后验边缘近似。INLA方法以C语言实现为独立程序inla,在R中通过INLA包广泛使用。本文介绍PyINLA,一个专门的Python包,提供直接接口到inla程序的Pythonic接口。因此,PyINLA使用户能够从Python中指定LGMs,运行基于INLA的推断,并获取后验摘要,同时利用已建立的INLA实现。我们描述了该包的设计,并通过代表性模型进行了说明,包括广义线性混合模型、时间序列预测、疾病制图和地理统计预测,展示了如何在Python中使用INLA进行确定性贝叶斯推断,以自然地集成到常见的科学计算工作流中。

英文摘要:

Bayesian inference often relies on Markov chain Monte Carlo (MCMC) methods, particularly required for non-Gaussian data families. When dealing with complex hierarchical models, the MCMC approach can be computationally demanding in workflows that require repeated model fitting or when working with models of large dimensions with limited hardware resources. The Integrated Nested Laplace Approximations (INLA) is a deterministic alternative for models with non-Gaussian data that belong to the class of latent Gaussian models (LGMs), yielding accurate approximations to posterior marginals in many applied settings. The INLA method was implemented in C as a standalone program, inla, that is widely used in R through the INLA package. This paper introduces PyINLA, a dedicated Python package that provides a Pythonic interface directly to the inla program. Therefore, PyINLA enables specifying LGMs, running INLA-based inference, and accessing posterior summaries directly from Python while leveraging the established INLA implementation. We describe the package design and illustrate its use on representative models, including generalized linear mixed models, time series forecasting, disease mapping, and geostatistical prediction, demonstrating how deterministic Bayesian inference can be performed in Python using INLA in a way that integrates naturally with common scientific computing workflows.

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

↑