PyINLA: Fast Bayesian Inference for Latent Gaussian Models in Python
Esmail Abdul Fattah, Elias Krainski, Havard Rue

TL;DR
PyINLA is a Python package that provides a user-friendly interface to the INLA method for fast Bayesian inference in latent Gaussian models, enabling efficient analysis of complex hierarchical models.
Contribution
This work introduces PyINLA, a Python interface to the INLA method, facilitating deterministic Bayesian inference directly within Python workflows.
Findings
PyINLA enables efficient Bayesian inference for large models.
The package supports various models including GLMMs, time series, and spatial models.
Demonstrations show accurate posterior summaries in diverse applications.
Abstract
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,…
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.
