
IMPS 2026 @ Yonsei Univeristy, Seoul
July 22, 2026

INLA provides a fast, deterministic alternative to MCMC for performing accurate Bayesian inference on a wide class of latent Gaussian models.
Rue et al. (2009)

For \(s=1\!:\!n\), MVN-SEM equations are \[ \DeclareMathOperator*{\argmax}{argmax} \DeclareMathOperator*{\argmin}{argmin} \newcommand{\N}{\mathrm{N}} \newcommand{\SN}{\mathrm{SN}} \begin{gathered} \mathbf y_s = {\boldsymbol\nu +\,} {\boldsymbol\Lambda} \boldsymbol\eta_s + \boldsymbol\epsilon_s \\ \boldsymbol\eta_s = {\boldsymbol\alpha +\,} { \boldsymbol B} \boldsymbol\eta_s + \boldsymbol\zeta_s \end{gathered} \] with assumptions \(\boldsymbol\epsilon_s \sim \N(\mathbf 0,\boldsymbol\Theta)\), \(\boldsymbol\eta_s \sim \N(\mathbf 0,\boldsymbol\Psi)\), \(\operatorname{Cov}(\boldsymbol\epsilon_s,\boldsymbol\eta_s)=\mathbf 0\).
Additionally, Bayesian: \(\mathbb R^m \ni \boldsymbol\vartheta \sim \pi(\boldsymbol\vartheta)\).
R-INLA out of the box. However…
R-INLA fitting time: \(n=75 \to\) 6s, \(n=750 \to\) 11s, \(n=7500 \to\) 125s.

asem(), acfa(), agrowth() with dp = priors_for() option.

Use the Laplace approximation again, this time to approximate an integral: \[ \pi(\vartheta_j \mid \mathbf y) = \int_{\mathbb R^{m-1}} \!\!\!\!\!\! e^{\log \pi(\vartheta_j, \boldsymbol\vartheta_{-j} \mid \mathbf y)} \, d \boldsymbol\vartheta_{-j} \,\approx (2\pi)^{\frac{m-1}{2}} \times \overbrace{\pi(\vartheta_j, \boldsymbol\vartheta_{-j}^* \mid \mathbf y)}^{\text{height}} \times \overbrace{\left| \mathbf H_{-j}(\vartheta_j) \right|^{-1/2 }}^{\text{(cond.) width}} \] NB: The true posterior density is being marginalised, not the global Laplace density.
This is expensive to compute, as for every \(\vartheta_j\) evaluation, need

Lemma 1 (Conditional Mean Path) = No need for reoptimisation
Let \(\small \boldsymbol\vartheta\sim\N_m(\boldsymbol\vartheta^*,\boldsymbol\Omega)\) with \(\small\boldsymbol\Omega \succ \mathbf 0\). Then the marginal density of the \(\small j\)th component, \(\small j=1,\dots,m\), is proportional to the joint density evaluated along its CMP: \[ \small \pi(\vartheta_j=x) \propto \pi\big(\vartheta_j=x, \, \boldsymbol\vartheta_{-j} = \operatorname{E}[ \boldsymbol\vartheta_{-j} \mid \vartheta_j=x] \big). \]
Lemma 2 (Efficient volume correction) = No need to factor dense Hessian
Along the CMP, \(\small\log \big|\mathbf H_{-j}(\boldsymbol\vartheta(t))\big| \approx \text{const.} + \gamma_j\, t\). Writing \(\small\mathbf g(\boldsymbol\vartheta) = -\nabla_{\boldsymbol\vartheta} \log \pi(\boldsymbol\vartheta \mid \mathbf y)\), \(\small\mathbf L\) the Cholesky factor of \(\small\boldsymbol\Omega\), and \(\small\mathbf v_j = \boldsymbol\Omega_{\cdot j} / \Omega_{jj}\) (the path direction from Lemma 1), \(\small\gamma_j\) is a sum of Hessian-vector products:
\[ \small \gamma_j = -\frac12\sum_{k=1}^{m} \frac{d}{dt}\Big[\mathbf L_{\cdot k}^\top \, \tfrac{d}{d\mathbf L_{\cdot k}}\mathbf g(\boldsymbol\vartheta(t))\Big]_{t=0} \;+\; \frac12\, \frac{d}{dt}\Big[\mathbf v_j^\top \, \tfrac{d}{d\mathbf v_j}\mathbf g(\boldsymbol\vartheta(t))\Big]_{t=0} \]
\[ \underbrace{\mathbf z \sim N(\mathbf 0, \mathbf R)}_{\text{Gaussian correlation}} \xrightarrow{\ \Phi(\cdot) \ } \underbrace{\mathbf u}_{\ \text{Uniform} \ } \xrightarrow{ \ F_{\text{SN}}^{-1}(\cdot) \ } \underbrace{\boldsymbol\vartheta}_{\text{SN Marginals}} \xrightarrow{ \ h(\cdot) \ } \text{trans. params.} \]
Reconstruct joint posterior samples \(h(\boldsymbol\vartheta^{(b)})\) using a Copula (Nelsen, 2006), preserving Gaussian correlations: \[ \mathbf R = \mathbf D^{-1/2} \boldsymbol \Omega \mathbf D^{-1/2}, \qquad \mathbf D = \operatorname{diag}(\boldsymbol\Omega). \]
Under skewness (i.e. \(\alpha_j \neq 0\)), nonlinear quantile transforms are distorted. Fix: NORTA algorithm (NORmal To Anything, Cario & Nelson, 1997).
This also allows us to derive approximate posteriors for
Also available:
fitmeasures(), loo(), waic(), compare()predict(), sampling(), simulate()standardisedsolution()vcov()plot() ind60=~x2 ind60=~x3 dem60=~y2 dem60=~y3 dem65=~y6 dem65=~y7
2.222 1.842 0.648 1.018 1.164 1.273
dem65=~y8 dem60~ind60 dem65~ind60 dem65~dem60 y1~~y5 y2~~y4
1.073 1.304 0.812 0.760 0.434 4.864
y2~~y6 y3~~y7 y8~~y4 y6~~y8 x1~~x1 x2~~x2
2.230 0.958 1.414 1.475 0.090 0.131
x3~~x3 y1~~y1 y2~~y2 y3~~y3 y5~~y5 y6~~y6
0.507 1.531 9.952 5.444 2.370 5.408
y7~~y7 y8~~y8 y4~~y4 ind60~~ind60 dem60~~dem60 dem65~~dem65
3.791 4.082 11.008 0.460 4.852 0.462


