ArticleslgStudy

mathematics

Gaussian process approximations

Gaussian process approximations is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gaussian process approximations rather than just read about it. In short: In statistics and machine learning, Gaussian process approximation is a computational method that accelerates inference tasks in the context of a Gaussian process model, most commonly likelihood evaluation and prediction. Like approximations of other models, they can often be expressed as additional assumptions imposed on the model, which do not correspond to any actual feature, but which retain its key properties w…

Key takeaways

  • Gaussian process approximations belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gaussian process approximations to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gaussian process approximations from memory before moving on to harder problems.

Reference excerpt

In statistics and machine learning, Gaussian process approximation is a computational method that accelerates inference tasks in the context of a Gaussian process model, most commonly likelihood evaluation and prediction. Like approximations of other models, they can often be expressed as additional assumptions imposed on the model, which do not correspond to any actual feature, but which retain its key properties while simplifying calculations. Many of these approximation methods can be expressed in purely linear algebraic or functional analytic terms as matrix or function approximations. Others are purely algorithmic and cannot easily be rephrased as a modification of a statistical model.

Basic ideas In statistical modeling, it is often convenient to assume that y∈𝒴, the phenomenon under investigation is a Gaussian process indexed by X∈𝒳=𝒳1×𝒳2…𝒳d which has mean function μ:𝒳→𝒴 and covariance function K:𝒳×𝒳→ℝ. One can also assume that data 𝐲=(y1,…,yn) are values of a particular realization of this process for indices 𝐗=X1,…,Xn. Consequently, the joint distribution of the data can be expressed as

𝐲∼𝒩(𝝁,𝜮), where 𝜮=[K(Xi,Xj)]i,j=1n and 𝝁=(μ(X1),μ(X2),…,μ(Xd))⊤, i.e. respectively a matrix with the covariance function values and a vector with the mean function values at corresponding (pairs of) indices. The negative log-likelihood of the data then takes the form

−log⁡ℓ(𝐲)=d2π+12log⁡det⁡(𝜮)+(𝐲−𝝁)⊤𝜮−1(𝐲−𝝁) Similarly, the best predictor of 𝐲∗, the values of y for indices 𝐗∗=(X1∗,X2∗,…,Xd∗), given data 𝐲 has the form

𝝁𝐲∗=𝔼[𝐲∗|𝐲]=𝝁∗−𝜮𝐲∗𝐲𝜮−1(𝐲−𝝁) In the context of Gaussian models, especially in geostatistics, prediction using the best predictor, i.e. mean conditional on the data, is also known as kriging. The most computationally expensive component of the best predictor formula is inverting the covariance matrix 𝜮, which has cubic complexity 𝒪(n3). Similarly, evaluating likelihood involves both calculating 𝜮−1 and the determinant det⁡(𝜮) which has the same cubic complexity. Gaussian process approximations can often be expressed in terms of assumptions on y under which log⁡ℓ(𝐲) and 𝝁𝐲∗ can be calculated with much lower complexity. Since these assumptions are generally not believed to reflect reality, the likelihood and the best predictor obtained in this way are not exact, but they are meant to be close to their original values.

Model-based methods This class of approximations is expressed through a set of assumptions which are imposed on the original process and which, typically, imply some special structure of the covariance matrix. Although most of these methods were developed independently, most of them can be expressed as special cases of the sparse general Vecchia approximation.

Sparse covariance methods These methods approximate the true model in a way the covariance matrix is sparse. Typically, each method proposes its own algorithm that takes the full advantage of the sparsity pattern in the covariance matrix. Two prominent members of this class of approaches are covariance tapering and domain partitioning. The first method generally requires a metric d over 𝒳 and assumes that for X,X~∈𝒳 we have Cov(y(X),y(X~))≠0 only if d(X,X~)<r for some radius r. The second method assumes that there exist 𝒳(1),…,𝒳(K) such that ⋃k=1K𝒳(k). Then with appropriate distribution of indices among partition elements and ordering of elements of X the covariance matrix is block diagonal.

Sparse precision methods This family of methods assumes that the precision matrix 𝜦=𝜮−1 is sparse and generally specifies which of its elements are non-zero. This leads to fast inversion because only those elements need to be calculated. Some of the prominent approximations in this category include the approach based on the equivalence between Gaussian processes with Matern covariance function and stochastic PDEs, periodic embedding, and Nearest Neighbour Gaussian processes. The first method applies to the case of d=2 and when 𝒳 has a defined metric and takes advantage of the fact, that the Markov property holds which makes 𝜦 very sparse. The second extends the domain and uses Discrete Fourier Transform to decorrelate the data, which results in a diagonal precision matrix. The third one requires a metric on 𝒳 and takes advantage of the so-called screening effect assuming that 𝜦i,j≠0 only if d(xi,xj)<r, for some r>0.

Sparse Cholesky factor methods In many practical applications, calculating 𝜦 is replaced with computing first 𝐋, the Cholesky factor of 𝜮, and second its inverse 𝐋−1. This is known to be more stable than a plain inversion. For this reason, some authors focus on constructing a sparse approximation of the Cholesky factor of the precision or covariance matrices. One of the most established methods in this class is the Vecchia approximation and its generalization. These approaches determine the optimal ordering of indices and, consequently, the elements of 𝐱 and then assume a dependency structure which minimizes in-fill in the Cholesky factor. Several other methods can be expressed in this framework, the Multi-resolution Approximation (MRA) and Nearest Neighbour Gaussian Process.

Low-rank methods While this approach encompasses many methods, the common assumption underlying them all is the assumption, that y, the Gaussian process of interest, is effectively low-rank. More precisely, it is assumed, that there exists a set of indices X¯={x¯1,…,x¯p} such that every other set of indices X={x1,…,xn} y(X)∼𝒩(𝐀X𝝁¯,𝐀X⊤𝜮¯𝐀X+𝐃) where 𝐀X is an p×k matrix, 𝝁¯=μ(y(X¯)) and 𝜮¯=K(X¯,X¯) and 𝐃 is a diagonal matrix. Depending on the method and application various ways of selecting X¯ have been proposed. Typically, p is selected to be much smaller than n which means that the computational cost of inverting 𝜮¯ is manageable (𝒪(p3) instead of 𝒪(n3)). More generally, on top of selecting X¯, one may also find an n×p matrix 𝐀 and assume that X=𝐀𝜼, where 𝜼 are p values of a Gaussian process possibly independent of x. Many machine learning methods fall into this category, such as subset-of-regressors (SoR), relevance vector machine, sparse spectrum Gaussian Process and others and they generally differ in the way they derive 𝐀 and 𝜼.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Gaussian process approximations

Start with the simplest possible case. Write down what Gaussian process approximations claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gaussian process approximations before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gaussian process approximations ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gaussian process approximations

In research
Gaussian process approximations appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gaussian process approximations in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gaussian process approximations is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational science, Computational statistics, Geostatistics, so understanding it makes those chapters shorter.
In everyday life
Look for Gaussian process approximations outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gaussian process approximations” →

How to study Gaussian process approximations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gaussian process approximations means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gaussian process approximations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gaussian process approximations in simple terms?

In statistics and machine learning, Gaussian process approximation is a computational method that accelerates inference tasks in the context of a Gaussian process model, most commonly likelihood evaluation and prediction. Like approximations of other models, they can often be expressed as additiona…

Why does Gaussian process approximations matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gaussian process approximations?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gaussian process approximations.

Tags

  • Computational science
  • Computational statistics
  • Geostatistics

Keep exploring