Laplace Approximation

bayesianlaplace-approximationasymptotic-approximation

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θ\int\exp\{-nf(\theta)\}d\theta. For a joint density p(θy)b(θ)exp{H(θ)}p(\theta|y) \propto b(\theta)\exp\{-H(\theta)\} with H(θ)=nh(θ)H(\theta)=nh(\theta) and a dominant interior mode at θ^\hat\theta, the key idea is to expand HH to second order around θ^\hat\theta — producing a Gaussian approximation — and integrate this approximation analytically. The method generalises from coordinate margins (Tierney-Kadane 1986) to arbitrary smooth nonlinear functions g(θ)g(\theta) (Tierney-Kass-Kadane [TKK] 1989a) and achieves saddlepoint accuracy: relative errors O(n⁻¹) uniformly on compact sets.

Key Ideas

How It Works

Univariate Laplace Approximation

For I=b(θ)exp{H(θ)}dθI = \int b(\theta)\exp\{-H(\theta)\}d\theta: expand H around its minimiser θ^\hat\theta: H(θ)H(θ^)+12(θθ^)2H(θ^)H(\theta) \approx H(\hat\theta) + \tfrac{1}{2}(\theta-\hat\theta)^2 H''(\hat\theta) Substituting and integrating the resulting Gaussian: Ib(θ^)exp{H(θ^)}(2πH(θ^))1/2I \approx b(\hat\theta)\exp\{-H(\hat\theta)\} \left(\frac{2\pi}{H''(\hat\theta)}\right)^{1/2} Relative error is O(n⁻¹) when H=nhH=nh and nn\to\infty.

Marginal Density Grid Evaluation (TKK 1989a)

To evaluate p~(y)\tilde p(y) on a grid y1,,ymy_1,\ldots,y_m:

  1. At each yjy_j: minimise H(θ)H(\theta) subject to g(θ)=yjg(\theta)=y_j (Newton steps starting from θ^(yj1)\hat\theta(y_{j-1})).
  2. Compute Ω(yj)=[2H(θ^(yj))]1\Omega(y_j)=[\nabla^2H(\hat\theta(y_j))]^{-1} and Jacobian Dg=g(θ^(yj))Dg = \nabla g(\hat\theta(y_j)).
  3. Evaluate eq. (3). Keep b(θ^(yj))exp{H(θ^(yj))}b(\hat\theta(y_j))\exp\{-H(\hat\theta(y_j))\} from the mode.
  4. Renormalise by numerical integration over the grid.

Why It Matters

Open Questions

Related