Definition
The Laplace approximation is a family of analytic methods for approximating intractable integrals in Bayesian inference, based on Laplace's asymptotic expansion of integrals of the form ∫exp{−nf(θ)}dθ. For a joint density p(θ∣y)∝b(θ)exp{−H(θ)} with H(θ)=nh(θ) and a dominant interior mode at θ^, the key idea is to expand H to second order around θ^ — producing a Gaussian approximation — and integrate this approximation analytically. The method generalises from coordinate margins (Tierney-Kadane 1986) to arbitrary smooth nonlinear functions g(θ) (Tierney-Kass-Kadane [TKK] 1989a) and achieves saddlepoint accuracy: relative errors O(n⁻¹) uniformly on compact sets.
Key Ideas
- Basic Laplace integral: ∫exp{−nf(θ)}dθ≈(2π/n)d/2∣f′′(θ^)∣−1/2exp{−nf(θ^)} with relative error O(n⁻¹), where θ^ is the global minimiser of f.
- Coordinate margin (Tierney-Kadane 1986): For the joint density p(θ1,θ2)∝exp{−H(θ1,θ2)}, the marginal of θ1 is:
p~(θ1)∝[detΩ]1/2[detΩ(θ1)]1/2b(θ1,θ^2(θ1))exp{−H(θ1,θ^2(θ1))}
where θ^2(θ1) minimises H(θ1,⋅) and Ω(θ1)=[∇θ22H(θ1,⋅)∣θ^2]−1.
- Nonlinear function margin (TKK 1989a): For any smooth g:Rd→Rk with full-rank Jacobian near θ^, the marginal density of g(θ) at y is approximated by equation (3) of TKK (1989a) — see Tierney-Kass-Kadane (1989a) for the full formula. Requires only constrained minimisation of H subject to g(θ)=y, Hessian evaluation at the constrained mode, and the Jacobian Dg.
- Posterior expectations (TK 1986; TKK 1989b): E[g(θ)∣y]≈ (ratio of two Laplace approximations to numerator and denominator integrals). TKK (1989b) "fully exponential" form incorporates b(θ) into the exponent, achieving O(n⁻²) relative error vs. O(n⁻¹) for the basic form.
- Marginal likelihood and Bayesian Information Criterion (BIC): ∫p(y∣θ)p(θ)dθ≈p(y∣θ^)p(θ^)(2π/n)d/2∣H′′(θ^)/n∣−1/2. Taking logs and dropping O(1) terms gives BIC =logp(y∣θ^)−(d/2)logn — the BIC is the leading-term Laplace approximation to the log marginal likelihood.
- Saddlepoint accuracy: In both the Bayesian and sampling contexts, relative errors are O(n⁻¹) uniformly on compact sets — the same rate as the Barndorff-Nielsen-Cox saddlepoint approximation. Renormalized forms achieve O(n⁻³/²) on shrinking neighbourhoods.
- Equivariance: The TKK (1989a) marginal-density approximation is equivariant under invertible reparameterisations of g, but not under nonlinear reparameterisations of θ. Parameterising θ so that H is closer to quadratic typically improves accuracy.
How It Works
Univariate Laplace Approximation
For I=∫b(θ)exp{−H(θ)}dθ: expand H around its minimiser θ^:
H(θ)≈H(θ^)+21(θ−θ^)2H′′(θ^)
Substituting and integrating the resulting Gaussian:
I≈b(θ^)exp{−H(θ^)}(H′′(θ^)2π)1/2
Relative error is O(n⁻¹) when H=nh and n→∞.
Marginal Density Grid Evaluation (TKK 1989a)
To evaluate p~(y) on a grid y1,…,ym:
- At each yj: minimise H(θ) subject to g(θ)=yj (Newton steps starting from θ^(yj−1)).
- Compute Ω(yj)=[∇2H(θ^(yj))]−1 and Jacobian Dg=∇g(θ^(yj)).
- Evaluate eq. (3). Keep b(θ^(yj))exp{−H(θ^(yj))} from the mode.
- Renormalise by numerical integration over the grid.
Why It Matters
- Historical role: Laplace approximations were the primary analytic tool for Bayesian posterior computation from Tierney-Kadane (1986) until Markov Chain Monte Carlo (MCMC) became practical after Gelfand-Smith (1990). The TKK (1989a,b) papers defined the pre-MCMC state of the art.
- BIC and model selection: The BIC — used throughout this wiki for VAR (vector autoregression) lag selection, variable selection, and model comparison — is a direct consequence of the Laplace approximation to the log marginal likelihood.
- INLA: Integrated Nested Laplace Approximation (Rue-Martino-Chopin 2009) applies nested Laplace approximations to compute posteriors for latent Gaussian models orders of magnitude faster than MCMC. INLA is the dominant tool for Bayesian spatial and hierarchical time-series models in epidemiology.
- Accuracy hierarchy: Basic Laplace O(n⁻¹) < TKK (1989b) fully exponential O(n⁻²) < Exact MCMC.
Open Questions
- Accuracy degrades for skewed, multi-modal, or high-dimensional posteriors where the Gaussian approximation at the mode is poor.
- For p≫n settings, the mode-based approximation breaks down; variational Bayes or MCMC is preferred.
- Automatic reparameterisation to improve accuracy (e.g., log-scale for positive parameters) relies on heuristics; no systematic theory.
Related