AI Glossary / Graphs and symbolic AI / Advanced

Gaussian process

Definition

A Gaussian process is a collection of random variables for which every finite collection has a joint Gaussian distribution. In machine learning, it often defines a probability distribution over possible functions, allowing predictions with model-based uncertainty.

What it means

Instead of selecting only one curve, a Gaussian process model describes which curves are plausible before and after observing data. Its mean function describes the prior central tendency, while its covariance function, also called a kernel, specifies relationships between function values at different inputs.

The word process does not require time. Inputs might describe locations, product settings or combinations of experimental conditions. Nor does Gaussian mean that the input measurements themselves must follow a bell-shaped distribution.

For regression, the unknown function is commonly distinguished from noisy measurements of it. That distinction matters when a chart displays an uncertainty band: uncertainty about the underlying response and uncertainty about the next measurement answer different questions.

How it works

Choose a mean function, a valid covariance kernel and an observation model. A kernel can express assumptions about smoothness, repeating patterns or relationships across input dimensions. Its parameters control features such as variation scale and how quickly relationships weaken with separation.

Combine the prior with observations to obtain a posterior prediction. With Gaussian observation noise, standard GP regression has analytic conditioning formulas. Implementations typically solve matrix systems using numerically stable factorization rather than explicitly calculating a matrix inverse.

Hyperparameters can be fitted from data, but their selection remains part of the modeling assumptions. A model can produce a precise-looking uncertainty estimate while using an unsuitable kernel or noise model. Check predictions and interval behavior against observations held aside from model selection.

Three practical examples

  • A laboratory models an expensive experiment's response across settings and identifies locations where more measurements could be informative.
  • A facilities analyst predicts a continuous sensor response while distinguishing measurement noise from uncertainty about the underlying relationship.
  • A design team builds a surrogate model of a costly simulator, then checks selected predictions with the original simulator.

Think of it this way

Think of laying several flexible drawing curves across known points, while giving some shapes more credibility than others. New measurements change which shapes remain plausible.

The analogy helps explain a distribution over functions. A GP is a mathematical probability model, however, and its kernel determines permitted relationships; it is not literally a collection of hand-drawn curves or a guarantee that reality follows the favored shapes.

Worked example

Separating function uncertainty from measurement uncertainty

Consider a deliberately small regression model with one observed value y = 2. Assume zero prior means, prior function variance 1 at both the training and test inputs, covariance 0.8 between their function values, and independent Gaussian measurement-noise variance 0.25.

The observation variance is 1 + 0.25 = 1.25. Conditioning on the observation gives test-function mean (0.8/1.25) × 2 = 1.28. The posterior function variance is 1 − 0.8²/1.25 = 0.488.

If we predict a new noisy measurement at the test input, with independent noise of the same variance, its variance is 0.488 + 0.25 = 0.738. Both predictions have mean 1.28, but the measurement prediction is more variable.

These numbers are variances, not standard deviations. The observation does not force the predicted mean to equal 2, because the model includes noise and an imperfect relationship between the two locations. This calculation demonstrates the assumptions of one model; it does not establish whether those assumptions suit a real dataset.

Illustrative case study

The fictional Maple Experiments team uses a GP to summarize trial measurements from a small set of equipment settings. A dashboard initially shows only the posterior mean and a band labeled uncertainty.

During review, the team discovers that operators interpret that band as the expected range of the next sensor reading, although it covers the latent function. The analysts separate the two displays and explain the additional measurement-noise component. They also reserve some trial settings for checking performance.

When a new operating region becomes relevant, Maple gathers measurements there instead of treating a narrow-looking band as proof of accuracy. The case illustrates communication and model checking, not a reported improvement in experimental yield.

Common misconceptions and mistakes

  • Gaussian processes require normally distributed inputs. The Gaussian condition concerns joint distributions of modeled function values.
  • Nonparametric means there are no parameters. Kernels and observation models commonly have hyperparameters.
  • Every GP prediction passes exactly through every training measurement. Noisy regression generally need not interpolate observations.
  • A probability band guarantees correct uncertainty. Its interpretation depends on the model, fitted settings and the quantity being predicted.

Business use

GPs are useful candidates when each measurement or simulation is expensive and uncertainty influences the next action. The uncertainty can inform a decision process, but an acquisition rule or business objective is still needed to choose that action.

Ask whether the inputs have meaningful scales, whether the kernel matches plausible behavior and how performance changes outside observed conditions. Dense exact regression also becomes computationally expensive as the dataset grows; approximate methods change the computational tradeoff and should be evaluated separately. A GP's suitability depends on the problem rather than a universal superiority over other regression methods.

People also ask

Is a Gaussian process the same as a Gaussian mixture?

No. A mixture combines component distributions; a GP specifies joint distributions across indexed random variables.

Can a GP perform classification?

Yes, through an appropriate likelihood and link to class probabilities. The simple Gaussian-noise regression formulas do not directly solve that problem.

Does it automatically choose the next experiment?

No. A decision rule must combine predictions and uncertainty with objectives, costs and constraints.

Check your understanding

In the worked example, which variance describes a future sensor measurement: 0.488 or 0.738?

Answer: 0.738. The smaller variance describes the latent function; the future independent measurement adds noise variance 0.25.

Related terms

  • Kernel
  • Covariance function
  • Bayesian Regression
  • Bayesian optimization
  • Surrogate model
  • posterior distribution
  • observation noise
  • hyperparameter

Learn next

Repeat the worked calculation with noise variance 1 instead of 0.25. Compare the posterior mean, latent variance and future-measurement variance. Explain why a noisier observation provides weaker evidence about the underlying function.

More in Graphs and symbolic AI

  • Gain ratio - Gain ratio is a decision-tree split criterion that divides information gain by the split information of the candidate test.
  • Game theory - Game theory studies situations in which the outcome for each decision-maker depends on choices made by others as well as their own.
  • Game tree - A game tree represents the possible sequences of decisions in a game.
  • Generalization hierarchy - A generalization hierarchy organizes concepts or descriptions from more specific to more general.
  • Generalization loss - Generalization loss is a model's expected loss on examples drawn from the target data distribution.
  • Generalized modus ponens - Generalized modus ponens is a first-order logic inference rule that derives a conclusion when known facts match all premises of an implication under a...

Sources

Rasmussen and Williams provide the GP regression definition and conditioning formulas: https://gaussianprocess.org/gpml/chapters/RW2.pdf

Their covariance chapter explains kernel assumptions: https://gaussianprocess.org/gpml/chapters/RW4.pdf

The scikit-learn developers document their regression and classification implementations, noise options and hyperparameter fitting: https://scikit-learn.org/stable/modules/gaussian_process.html

The numerical example and Maple Experiments case are original illustrations, not reported deployments.

Previous: Gaussian Naive Bayes Next: Gaussian process approximations

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer