# 集成嵌套拉普拉斯近似

**集成嵌套拉普拉斯近似**（Integrated nested Laplace approximations，INLA）是一种用于潜高斯模型近似贝叶斯推断的确定性方法，它通过将拉普拉斯近似与数值积分相结合来计算后验边缘分布，而非采用抽样方法。该方法由 Håvard Rue、Sara Martino 和 Nicolas Chopin 于 2009 年在《皇家统计学会会刊，B 辑》（*Journal of the Royal Statistical Society, Series B*）上发表的论文中提出，并在 R 统计软件的 R-INLA 包中实现。<sup>[1](https://rss.onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2008.00700.x)</sup><sup> • </sup><sup>[2](https://www.jstatsoft.org/article/view/v063i19)</sup>

| 关键事实 | 详情 |
|---|---|
| 计算内容 | 利用嵌套拉普拉斯近似和数值积分，近似潜高斯模型中潜效应和超参数的后验边缘分布。<sup>[1](https://rss.onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2008.00700.x)</sup> |
| 模型类别 | 潜场为高斯马尔可夫随机场（GMRF）的潜高斯模型，该类模型涵盖广义线性模型和广义可加模型、空间与时空模型、对数高斯考克斯过程以及地理可加模型。<sup>[3](https://ideas.repec.org/a/bla/jorssb/v71y2009i2p319-392.html)</sup><sup> • </sup><sup>[4](https://academic.oup.com/jrsssc/article/68/1/199/7058418)</sup> |
| 速度 | 确定性计算可在数分钟乃至数秒内给出答案，而 MCMC 需要数小时乃至数天；在一项疾病制图研究中，INLA 的总体计算负担仅为 MCMC 的四十二分之一。<sup>[5](https://inla.r-inla-download.org/r-inla.org/doc/inla-manual/inla-manual.pdf)</sup><sup> • </sup><sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC4582320/)</sup> |
| 软件 | R-INLA 包，配合用于连续空间空间模型的 SPDE 方法；inlabru 封装扩展了它，以支持点过程模型。<sup>[2](https://www.jstatsoft.org/article/view/v063i19)</sup><sup> • </sup><sup>[7](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.13957)</sup> |
| 主要局限 | 仅适用于潜高斯模型，在超参数数量较少时效果最佳，且返回的是边缘分布而非联合后验。<sup>[8](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14422)</sup><sup> • </sup><sup>[4](https://academic.oup.com/jrsssc/article/68/1/199/7058418)</sup> |
| 规模 | 分布式内存变体可对具有数百万潜参数的模型进行推断。<sup>[9](https://epubs.siam.org/doi/10.1137/23M1561531)</sup> |

## 方法

贝叶斯推断需要计算后验分布上的高维积分。拉普拉斯方法可追溯至 1774 年的皮埃尔-西蒙·拉普拉斯（Pierre-Simon Laplace），它用被积函数在其众数附近的二阶泰勒展开进行近似，并解析地计算积分。INLA 发展了这一经典思想的嵌套版本，并结合了针对稀疏矩阵的现代数值技术。<sup>[10](https://www.annualreviews.org/content/journals/10.1146/annurev-statistics-060116-054045)</sup>

潜高斯模型由三部分组成：给定线性预测器时条件独立观测的似然、由少量超参数控制的潜高斯场，以及这些超参数上的先验。由于响应变量是非高斯的，后验边缘分布没有闭式解。<sup>[3](https://ideas.repec.org/a/bla/jorssb/v71y2009i2p319-392.html)</sup><sup> • </sup><sup>[8](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14422)</sup>

近似分三步计算。首先，用拉普拉斯近似来近似超参数向量的后验边缘。其次，在给定数据和选定超参数值的条件下，对每个潜参数的条件后验进行近似，既可采用完整拉普拉斯近似，也可采用一种更快的简化版本——后者通过级数展开来校正高斯近似在位置上的误差和缺乏偏度的问题。第三，通过对超参数进行数值积分，将两部分组合起来。<sup>[1](https://rss.onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2008.00700.x)</sup>

计算效率依赖于稀疏性。当潜场为高斯马尔可夫随机场时，其精度矩阵（协方差矩阵的逆）是稀疏的，因此每个拉普拉斯近似所依赖的线性代数运算都很快。该方法还假定超参数数量保持相对较少，因为它们是通过数值积分来处理的。<sup>[4](https://academic.oup.com/jrsssc/article/68/1/199/7058418)</sup><sup> • </sup><sup>[11](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.70005)</sup>

## 与 MCMC 的关系

在 INLA 之前，贝叶斯分层模型几乎完全通过马尔可夫链蒙特卡洛（MCMC）抽样来拟合，即从联合后验中抽取样本。对于含随机效应的分层模型，MCMC 的收敛可能缓慢且难以预测，而对于复杂模型或大型数据集，拟合在计算上要求很高。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC4582320/)</sup><sup> • </sup><sup>[4](https://academic.oup.com/jrsssc/article/68/1/199/7058418)</sup>

INLA 完全避免了抽样：数值积分取代了迭代模拟，因此无需进行收敛评估。在一项使用 2003 至 2010 年比利时癌症死亡率数据、包含 27 个模拟场景且每个场景运行 10,000 次的条件自回归先验疾病制图比较中，INLA 给出的参数估计与 MCMC 相当。例外情况是统计上极为罕见的疾病——此时 INLA 产生的估计和可信区间较差——以及空间成分较强的情形——此时两种方法都出现退化。INLA 的总体计算负担仅为 MCMC 的四十二分之一。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC4582320/)</sup>

两种方法在适用范围上有所不同。MCMC 原则上可应用于任何贝叶斯模型，而 INLA 仅限于潜高斯模型。INLA 还以边缘推断为目标：它近似每个参数的后验边缘分布，但不近似联合后验分布，这使得多变量推断变得困难。一种补救办法是将 INLA 嵌入 Metropolis–Hastings 算法中，对 INLA 无法直接处理的一小组参数使用 MCMC，并通过在条件拟合上进行贝叶斯模型平均来获得其余的边缘分布。<sup>[8](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14422)</sup><sup> • </sup><sup>[4](https://academic.oup.com/jrsssc/article/68/1/199/7058418)</sup>

## 软件与应用

R-INLA 包是标准实现，专为潜高斯模型中的快速近似贝叶斯推断而设计。<sup>[12](https://www.r-inla.org/whatisinla/)</sup> 结合随机偏微分方程（SPDE）方法——该方法将高斯场与网格上的高斯马尔可夫随机场联系起来——它可处理面状数据、地质统计数据和空间点过程数据，并提供用于流行病学、生态学、环境风险评估和一般地质统计学中的平稳、非平稳和时空模型的接口。<sup>[2](https://www.jstatsoft.org/article/view/v063i19)</sup>

应用工作涵盖疾病制图和疟疾风险预测、生态学中的物种分布和占据模型、用于点格局的对数高斯考克斯过程以及气候数据。该包还提供模型比较和检查工具，包括偏差信息准则（DIC）、WAIC、边缘似然近似、交叉验证和惩罚复杂度（PC）先验。<sup>[1](https://rss.onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2008.00700.x)</sup><sup> • </sup><sup>[8](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14422)</sup><sup> • </sup><sup>[13](https://www.sciencedirect.com/science/article/pii/S1877584521000393)</sup>

## 精度、修正与扩展

INLA 产生的超参数边缘分布高度精确；在原始工作中，即使长时间的 MCMC 运行也无法检测到其中的误差。潜边缘分布的高斯近似精度较低，这促成了拉普拉斯修正和简化拉普拉斯修正，而两种近似之间的 Kullback–Leibler 散度可作为诊断工具使用。<sup>[1](https://rss.onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2008.00700.x)</sup><sup> • </sup><sup>[5](https://inla.r-inla-download.org/r-inla.org/doc/inla-manual/inla-manual.pdf)</sup>

一些使用二项或泊松数据的广义线性混合模型，特别是在平滑度非常低的情况下，已显示出不准确性。针对这些情况的基于 copula 的修正已在 R-INLA 中实现，计算成本可忽略不计。<sup>[14](https://arxiv.org/abs/1503.07307)</sup>

后来的发展将该方法推向了更大、更灵活的模型。2023 年发表的 INLA 2.0 引入了一条新的推断途径，将线性预测器从潜场中移除，从而避免了低维模型配高维数据时与增广相关的计算开销。<sup>[15](https://www.sciencedirect.com/science/article/abs/pii/S0167947323000038)</sup><sup> • </sup><sup>[16](https://www.r-inla.org/papers/)</sup><sup> • </sup><sup>[17](https://inla-workshop.github.io/INLA-PastPresentFuture/programme-and-abstracts.html)</sup> 一种分布式内存变体 INLA_DIST 将 INLA-SPDE 方法与用于乔列斯基分解和线性系统的稀疏 CPU 及 GPU 加速求解器相结合，可在气候数据等时空应用中对具有数百万潜参数的模型进行推断。<sup>[9](https://epubs.siam.org/doi/10.1137/23M1561531)</sup>

## References

1. [H. Rue, S. Martino, and N. Chopin (2009). Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations. JRSS Series B, 71(2):319–392.](https://rss.onlinelibrary.wiley.com/doi/10.1111/j.1467-9868.2008.00700.x)
2. [F. Lindgren and H. Rue (2015). Bayesian Spatial Modelling with R-INLA. Journal of Statistical Software, 63(19).](https://www.jstatsoft.org/article/view/v063i19)
3. [Rue, Martino, and Chopin (2009), abstract listing, RePEc.](https://ideas.repec.org/a/bla/jorssb/v71y2009i2p319-392.html)
4. [V. Gómez-Rubio and colleagues. Multivariate Posterior Inference for Spatial Models with INLA. JRSS Series C, 68(1):199.](https://academic.oup.com/jrsssc/article/68/1/199/7058418)
5. [S. Martino and H. Rue. A manual for the inla program.](https://inla.r-inla-download.org/r-inla.org/doc/inla-manual/inla-manual.pdf)
6. [Comparing MCMC and INLA for disease mapping with Bayesian hierarchical models. PMC4582320.](https://pmc.ncbi.nlm.nih.gov/articles/PMC4582320/)
7. [J. Laxton and colleagues (2023). Balancing structural complexity with ecological insight in spatio-temporal species distribution models. Methods in Ecology and Evolution.](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.13957)
8. [J. Belmont and colleagues (2024). Spatio-temporal occupancy models with INLA. Methods in Ecology and Evolution.](https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.14422)
9. [L. Gaedke-Merzhäuser and colleagues. Integrated Nested Laplace Approximations for Large-Scale Spatiotemporal Bayesian Modeling. SIAM J. Scientific Computing.](https://epubs.siam.org/doi/10.1137/23M1561531)
10. [H. Rue and colleagues (2017). Bayesian Computing with INLA: A Review. Annual Review of Statistics and Its Application, 4:395–421.](https://www.annualreviews.org/content/journals/10.1146/annurev-statistics-060116-054045)
11. [A. Korhonen (2024). A Review of Generalized Linear Latent Variable Models and Related Computational Approaches. WIREs Computational Statistics.](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.70005)
12. [What is INLA, INLA Project.](https://www.r-inla.org/whatisinla/)
13. [Bayesian spatial modelling of geostatistical data using INLA and SPDE methods: malaria risk in Mozambique. Spatial and Spatio-temporal Epidemiology.](https://www.sciencedirect.com/science/article/pii/S1877584521000393)
14. [E. Ferkingstad and H. Rue (2015). Improving the INLA approach for approximate Bayesian inference for latent Gaussian models. arXiv:1503.07307.](https://arxiv.org/abs/1503.07307)
15. [J. van Niekerk and colleagues (2023). A new avenue for Bayesian inference with INLA. Computational Statistics & Data Analysis, 181:107692.](https://www.sciencedirect.com/science/article/abs/pii/S0167947323000038)
16. [INLA Publications, INLA Project.](https://www.r-inla.org/papers/)
17. [Programme & Book of abstracts, INLA workshop 2025](https://inla-workshop.github.io/INLA-PastPresentFuture/programme-and-abstracts.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Applied, official, and domain statistics › Spatial statistics and geostatistics › Bayesian and hierarchical spatial models

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/integrated-nested-laplace-approximations

English original: https://www.edgepedia.org/integrated-nested-laplace-approximations
