Vecchia approximation

From testwiki
Jump to navigation Jump to search

Template:Expert needed

Vecchia approximation is a Gaussian processes approximation technique originally developed by Aldo Vecchia, a statistician at United States Geological Survey.[1] It is one of the earliest attempts to use Gaussian processes in high-dimensional settings. It has since been extensively generalized giving rise to many contemporary approximations.

Intuition

A joint probability distribution for events A,B, and C, denoted P(A,B,C), can be expressed as

P(A,B,C)=P(A)P(B|A)P(C|A,B)

Vecchia's approximation takes the form, for example,

P(A,B,C)P(A)P(B|A)P(C|A)

and is accurate when events B and C are close to conditionally independent given knowledge of A. Of course one could have alternatively chosen the approximation

P(A,B,C)P(A)P(B|A)P(C|B)

and so use of the approximation requires some knowledge of which events are close to conditionally independent given others. Moreover, we could have chosen a different ordering, for example

P(A,B,C)P(C)P(C|A)P(B|A).

Fortunately, in many cases there are good heuristics making decisions about how to construct the approximation.

More technically, general versions of the approximation lead to a sparse Cholesky factor of the precision matrix. Using the standard Cholesky factorization produces entries which can be interpreted[2] as conditional correlations with zeros indicating no dependence (since the model is Gaussian). These independence relations can be alternatively expressed using graphical models and there exist theorems linking graph structure and vertex ordering with zeros in the Cholesky factor. In particular, it is known[3] that independencies that are encoded in a moral graph lead to Cholesky factors of the precision matrix that have no fill-in.

Formal description

The problem

Let x be a Gaussian process indexed by ๐’ฎ with mean function μ and covariance function K. Assume that S={s1,,sn}๐’ฎ is a finite subset of ๐’ฎ and ๐ฑ=(x1,,xn) is a vector of values of x evaluated at S, i.e. xi=x(si) for i=1,,n. Assume further, that one observes ๐ฒ=(y1,,yn) where yi=xi+εi with εii.i.d.๐’ฉ(0,σ2). In this context the two most common inference tasks include evaluating the likelihood

โ„’(๐ฒ)=f(๐ฒ,๐ฑ)d๐ฑ,

or making predictions of values of x for s*๐’ฎ and s∉S, i.e. calculating

f(x(s*)y1,,yn).

Original formulation

The original Vecchia method starts with the observation that the joint density of observations f(๐ฒ)=(y1,,yn) can be written as a product of conditional distributions

f(๐ฒ)=f(y1)i=2nf(yiyi1,,y1).

Vecchia approximation assumes instead that for some kn

f^(๐ฒ)=f(y1)i=2nf(yiyi1,,ymax(ik,1)).

Vecchia also suggested that the above approximation be applied to observations that are reordered lexicographically using their spatial coordinates. While his simple method has many weaknesses, it reduced the computational complexity to ๐’ช(nk3). Many of its deficiencies were addressed by the subsequent generalizations.

General formulation

While conceptually simple, the assumption of the Vecchia approximation often proves to be fairly restrictive and inaccurate.[4] This inspired important generalizations and improvements introduced in the basic version over the years: the inclusion of latent variables, more sophisticated conditioning and better ordering. Different special cases of the general Vecchia approximation can be described in terms of how these three elements are selected.[5]

Latent variables

To describe extensions of the Vecchia method in its most general form, define zi=(xi,yi) and notice that for ๐ณ=(z1,,zn) it holds that like in the previous section

f(๐ณ)=f(x1,y1)(i=2nf(xiz1:i1))(i=2nf(yixi))

because given xi all other variables are independent of yi.

Ordering

It has been widely noted that the original lexicographic ordering based on coordinates when ๐’ฎ is two-dimensional produces poor results.[6] More recently another orderings have been proposed, some of which ensure that points are ordered in a quasi-random fashion. Highly scalable, they have been shown to also drastically improve accuracy.[4]

Conditioning

Similar to the basic version described above, for a given ordering a general Vecchia approximation can be defined as

f^(๐ณ)=f(x1,y1)(i=2nf(xizq(i)))(i=2nf(yixi)),

where q(i){1,,i1}. Since yixi,yixi it follows that f(xizq(i))=f(xixq(i),yq(i))=f(xixq(i)) since suggesting that the terms f(xizq(i)) be replaced with f(xixq(i)). It turns out, however, that sometimes conditioning on some of the observations zi increases sparsity of the Cholesky factor of the precision matrix of (๐ฑ,๐ฒ). Therefore, one might instead consider sets qy(i) and qx(i) such that q(i)=qy(i)qx(i) and express f^ as

f^(๐ณ)=f(x1,y1)(i=2nf(xixqx(i),yqy(i)))(i=2nf(yixi)).

Multiple methods of choosing qy(i) and qx(i) have been proposed, most notably the nearest-neighbour Gaussian process (NNGP),[7] meshed Gaussian process[8] and multi-resolution approximation (MRA) approaches using q(i)=qx(i), standard Vecchia using q(i)=qy(i) and Sparse General Vecchia where both qy(i) and qx(i) are non-empty.[5]

Software

Several packages have been developed which implement some variants of the Vecchia approximation.

  • GPvecchia is an R package available through CRAN which implements most versions of the Vecchia approximation
  • GpGp is an R package available through CRAN which implements an scalable ordering method for spatial problems which greatly improves accuracy.
  • spNNGP is an R package available through CRAN which implements the latent Vecchia approximation
  • pyMRA is a Python package available through pyPI implementing Multi-resolution approximation, a special case of the general Vecchia method used in dynamic state-space models
  • meshed is an R package available through CRAN which implements Bayesian spatial or spatiotemporal multivariate regression models based a latent Meshed Gaussian Process (MGP) using Vecchia approximations on partitioned domains

Notes

Template:Reflist