ArticleslgStudy

mathematics

Gaussian process

Gaussian process 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 rather than just read about it. In short: In probability theory and statistics, a Gaussian process is a stochastic process (a collection of random variables indexed by time or space), such that every finite collection of those random variables has a multivariate normal distribution. The distribution of a Gaussian process is the joint distribution of all those (infinitely many) random variables, and as such, it is a distribution over functions on its index s…

Gaussian process — main illustration
Gaussian process — illustration

Key takeaways

  • Gaussian process 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 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gaussian process from memory before moving on to harder problems.

Reference excerpt

In probability theory and statistics, a Gaussian process is a stochastic process (a collection of random variables indexed by time or space), such that every finite collection of those random variables has a multivariate normal distribution. The distribution of a Gaussian process is the joint distribution of all those (infinitely many) random variables, and as such, it is a distribution over functions on its index set, e.g. time or space. The concept of Gaussian processes is named after Carl Friedrich Gauss because it is based on the notion of the Gaussian distribution (normal distribution). Gaussian processes can be seen as an infinite-dimensional generalization of multivariate normal distributions. Gaussian processes are useful in statistical modelling, benefiting from properties inherited from the normal distribution. For example, if a random process is modelled as a Gaussian process, the distributions of various derived quantities can be obtained explicitly. Such quantities include the average value of the process over a range of times and the error in estimating the average using sample values at a small set of times. While exact models often scale poorly as the amount of data increases, multiple approximation methods have been developed which often retain good accuracy while drastically reducing computation time.

Definition A time continuous stochastic process {Xt;t∈T} is Gaussian if and only if for every finite set of indices t1,…,tk in the index set T 𝐗t1,…,tk=(Xt1,…,Xtk) is a multivariate Gaussian random variable. As the sum of Gaussian distributed random variables is again Gaussian distributed, that is the same as saying every linear combination of (Xt1,…,Xtk) has a univariate Gaussian (or normal) distribution. Using characteristic functions of random variables with i denoting the imaginary unit such that i2=−1, the Gaussian property can be formulated as follows: {Xt;t∈T} is Gaussian if and only if, for every finite set of indices t1,…,tk, there are real-valued σℓj2, μℓ with σjj2>0 such that the following equality holds for all s1,s2,…,sk∈ℝ, 𝔼[exp⁡(i∑ℓ=1ksℓ𝐗tℓ)]=exp⁡(−12∑ℓ,jσℓj2sℓsj+i∑ℓμℓsℓ), or 𝔼[ei𝐬(𝐗t−𝝁)]=e−𝐬σ2𝐬/2, where 𝔼[Y] denotes the expected value of Y. The numbers σℓj2 and μℓ can be shown to be the covariances and means of the variables in the process.

Stationarity For general stochastic processes strict-sense stationarity implies wide-sense stationarity but not every wide-sense stationary stochastic process is strict-sense stationary. However, for a Gaussian stochastic process the two concepts are equivalent. Therefore, stationary Gaussian process is completely determined by its one-parameter mean function and covariance function.

Example There is an explicit representation for stationary Gaussian processes. A simple example of this representation is Xt=cos⁡(at)ξ1+sin⁡(at)ξ2 where ξ1 and ξ2 are independent random variables with the standard normal distribution.

Covariance functions

A key fact of Gaussian processes is that they can be completely defined by their second-order statistics. Thus, if a Gaussian process is assumed to have mean zero, defining the covariance function completely defines the process' behaviour. Importantly the non-negative definiteness of this function enables its spectral decomposition using the Karhunen–Loève expansion. Basic aspects that can be defined through the covariance function are the process' stationarity, isotropy, smoothness and periodicity. Stationarity refers to the process' behaviour regarding the separation of any two points x and x′. If the process is stationary, the covariance function depends only on x−x′. For example, the Ornstein–Uhlenbeck process is stationary. If the process depends only on |x−x′|, the Euclidean distance (not the direction) between x and x′, then the process is considered isotropic. A process that is concurrently stationary and isotropic is considered to be homogeneous; in practice these properties reflect the differences (or rather the lack of them) in the behaviour of the process given the location of the observer. Ultimately Gaussian processes translate as taking priors on functions and the smoothness of these priors can be induced by the covariance function. If we expect that for "near-by" input points x and x′ their corresponding output points y and y′ to be "near-by" also, then the assumption of continuity is present. If we wish to allow for significant displacement then we might choose a rougher covariance function. Extreme examples of the behaviour is the Ornstein–Uhlenbeck covariance function and the squared exponential where the former is never differentiable and the latter infinitely differentiable. Periodicity refers to inducing periodic patterns within the behaviour of the process. Formally, this is achieved by mapping the input x to a two dimensional vector u(x)=(cos⁡(x),sin⁡(x)).

Usual covariance functions

There are a number of common covariance functions:

Constant : KC(x,x′)=C Linear: KL(x,x′)=x𝖳x′ white Gaussian noise: KGN(x,x′)=σ2δx,x′ Squared exponential: KSE(x,x′)=exp⁡(−d22ℓ2) Ornstein–Uhlenbeck: KOU(x,x′)=exp⁡(−dℓ) Matérn: KMatern(x,x′)=21−νΓ(ν)(2νdℓ)νKν(2νdℓ) Periodic: KP(x,x′)=exp⁡(−2ℓ2sin2(d/2)) Rational quadratic: KRQ(x,x′)=(1+d2)−α,α≥0 Here d=|x−x′|, which is a result of the stationary process property, that is, for any stationary process the covariance function will only depend on d. The parameter ℓ is the characteristic length-scale of the process (practically, "how close" two points x and x′ have to be to influence each other significantly), δ is the Kronecker delta and σ the standard deviation of the noise fluctuations. Moreover, Kν is the modified Bessel function of order ν and Γ(ν) is the gamma function evaluated at ν. Importantly, a complicated covariance function can be defined as a linear combination of other simpler covariance functions in order to incorporate different insights about the data-set at hand. The inferential results are dependent on the values of the hyperparameters θ (e.g. ℓ and σ) defining the model's behaviour. A popular choice for θ is to provide maximum a posteriori (MAP) estimates of it with some chosen prior. If the prior is very near uniform, this is the same as maximizing the marginal likelihood of the process; the marginalization being done over the observed process values y. This approach is also known as maximum likelihood II, evidence maximization, or empirical Bayes.

… excerpt ends here. Continue reading the full article.

Illustrations

Gaussian process: Autocorrelation of a random lacunary Fourier series
Autocorrelation of a random lacunary Fourier series
Gaussian process: 200 sample paths of Brownian motion (left) and of a Brownian bridge (right) on [0, 1], with the mean and ±2 standard-deviation curves: pinning the endpoint makes the spread close again at t = 1.
200 sample paths of Brownian motion (left) and of a Brownian bridge (right) on [0, 1], with the mean and ±2 standard-deviation curves: pinning the endpoint makes the spread close again at t = 1.
Gaussian process: An example of Gaussian Process Regression (prediction) compared with other regression models.[23]
An example of Gaussian Process Regression (prediction) compared with other regression models.[23]
Gaussian process: Gaussian Process Regression (prediction) with a squared exponential kernel. Left plot are draws from the prior function distribution. Middle are draws from the posterior. Right is mean prediction with one standard deviation shaded.
Gaussian Process Regression (prediction) with a squared exponential kernel. Left plot are draws from the prior function distribution. Middle are draws from the posterior. Right is mean prediction with one standard deviation shaded.

Worked examples

Example 1 — a first encounter with Gaussian process

Start with the simplest possible case. Write down what Gaussian process 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 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 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

In research
Gaussian process 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 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 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Kernel methods for machine learning, Nonparametric Bayesian statistics, Normal distribution, so understanding it makes those chapters shorter.
In everyday life
Look for Gaussian process 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” →

How to study Gaussian process in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gaussian process 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 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gaussian process in simple terms?

In probability theory and statistics, a Gaussian process is a stochastic process (a collection of random variables indexed by time or space), such that every finite collection of those random variables has a multivariate normal distribution. The distribution of a Gaussian process is the joint distr…

Why does Gaussian process 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?

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.

Tags

  • Kernel methods for machine learning
  • Nonparametric Bayesian statistics
  • Normal distribution
  • Stochastic processes

Keep exploring