Papers
Topics
Authors
Recent
Search
2000 character limit reached

Virtual Residual Likelihood

Updated 10 June 2026
  • Virtual Residual Likelihood reframes classical REML in Gaussian ICAR models as a variational optimization problem, enabling exact and scalable inference.
  • It derives a tractable evidence lower bound (ELBO) using a Gaussian variational family, facilitating closed-form coordinate ascent updates for both mean and covariance.
  • Empirical results demonstrate that VREML achieves comparable or superior accuracy and speed compared to INLA and traditional REML, especially for large spatial datasets.

Virtual (Variational) Residual Likelihood is a computational methodology for scalable inference in Gaussian spatial models, particularly those structured by intrinsic conditional autoregressive (ICAR) priors. The approach reframes the classic restricted maximum likelihood (REML) estimation as a variational optimization problem, deriving a tractable evidence lower bound (ELBO) that can be efficiently maximized via coordinate ascent. Unlike conventional REML or integrated nested Laplace approximation (INLA), virtual residual likelihood (VREML) delivers computational speedups, exactness in the Gaussian ICAR context, and closed-form updates, all while preserving the statistical properties of the restricted likelihood (Thakur, 8 Apr 2026).

1. Classical REML for Gaussian ICAR Models

Gaussian mixed models with ICAR random effects serve as the foundational setting. Given response vector YRnY \in \mathbb{R}^n, fixed-effect design XRn×pX \in \mathbb{R}^{n \times p}, latent spatial effects uRnu \in \mathbb{R}^n (subject to the sum-to-zero constraint 1u=01^\top u = 0), observational precision τy>0\tau_y > 0, and ICAR precision τu>0\tau_u > 0, the model is specified as:

  • Yβ,u,τyN(Xβ+u,τy1In)Y|\beta, u, \tau_y \sim N(X\beta + u, \tau_y^{-1}I_n),
  • uτuτu(nr)/2exp(12τuuRu)u|\tau_u \propto \tau_u^{(n - r)/2}\exp(-\frac{1}{2} \tau_u u^\top R u) with 1u=01^\top u = 0, where RR is the ICAR precision matrix and XRn×pX \in \mathbb{R}^{n \times p}0 its rank deficiency.

The restricted likelihood, integrating out XRn×pX \in \mathbb{R}^{n \times p}1 under a flat prior, is

XRn×pX \in \mathbb{R}^{n \times p}2

and the restricted log-likelihood is given, up to constants, as

XRn×pX \in \mathbb{R}^{n \times p}3

where XRn×pX \in \mathbb{R}^{n \times p}4 (Thakur, 8 Apr 2026).

2. Variational Lower Bound (ELBO) Construction

The core innovation of VREML is substituting direct maximization of XRn×pX \in \mathbb{R}^{n \times p}5 with optimization of a variational lower bound. Introducing a variational density XRn×pX \in \mathbb{R}^{n \times p}6, for any choice of XRn×pX \in \mathbb{R}^{n \times p}7,

XRn×pX \in \mathbb{R}^{n \times p}8

and by Jensen's inequality,

XRn×pX \in \mathbb{R}^{n \times p}9

Maximizing uRnu \in \mathbb{R}^n0 within an appropriate family yields the tightest lower bound; the difference uRnu \in \mathbb{R}^n1 is precisely the KL divergence uRnu \in \mathbb{R}^n2 (Thakur, 8 Apr 2026).

3. Gaussian Variational Family and Closed-form Objective

Choosing uRnu \in \mathbb{R}^n3 to be Gaussian on the subspace uRnu \in \mathbb{R}^n4, i.e., uRnu \in \mathbb{R}^n5 with uRnu \in \mathbb{R}^n6, uRnu \in \mathbb{R}^n7, renders all required expectations in the ELBO analytically tractable:

  • uRnu \in \mathbb{R}^n8,
  • uRnu \in \mathbb{R}^n9,
  • 1u=01^\top u = 00, where 1u=01^\top u = 01 is the pseudo-determinant on 1u=01^\top u = 02.

The resulting variational lower bound, as a function of 1u=01^\top u = 03, becomes

1u=01^\top u = 04

\sup_{q \in Q}\mathcal{L}V(q, \theta) = \ell{RE}(\theta),

1u=01^\top u = 05

implying that VREML attains the genuine restricted likelihood value, nullifying posterior approximation error in this setting (Thakur, 8 Apr 2026).

7. Computational Complexity and Empirical Performance

Classical REML and INLA approaches perform repeated factorization of large 1u=01^\top u = 06 sparse matrices, costing 1u=01^\top u = 07 per factorization for 2D lattices, with multiple such operations per parameter update. VREML, by contrast, requires a single update of the same system per iteration—reusing the factorization for both 1u=01^\top u = 08 and 1u=01^\top u = 09—yielding each iteration at τy>0\tau_y > 00 complexity, with practical convergence reached in approximately 10–20 iterations.

Empirical benchmarks indicate that on grid sizes τy>0\tau_y > 01 to τy>0\tau_y > 02, VREML converges in a few seconds, while INLA or REML require substantially longer (tens of seconds to minutes). In simulation and real-data examples—including breast-cancer gene-expression data—VREML matches or slightly outperforms INLA and exact REML in mean-squared and mean absolute prediction error (MSPE/MAE) for both τy>0\tau_y > 03 and τy>0\tau_y > 04, with comparable variance component estimation (RMSE), but substantial gains in computational scalability (Thakur, 8 Apr 2026).

In summary, VREML substitutes the computationally intensive Gaussian restricted likelihood with a variational lower bound that is exact for Gaussian ICAR priors, yielding closed-form, monotone-convergent updates, and greatly improving scalability for large areal spatial data.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Virtual Residual Likelihood.