liveBook · Manning

Prior knowledge

As explained in Bayesian Optimization in Action

Prior knowledge is information or assumptions about an objective function that are available before observing all relevant data.

Prior knowledge is information or assumptions about an objective function available before all relevant data is observed. In a Gaussian process, it supplies an informed starting point instead of assuming the function is zero everywhere. section 3.0 section 3.2

A GP expresses this knowledge through its mean and covariance functions. The mean describes expected behavior; the covariance describes structure, smoothness, variability, and relationships between inputs. section 3.2 section 3.6

Useful prior knowledge can describe:

  • Bounds, such as model accuracy lying between 0 and 1. section 3.2
  • Signs and trends, such as housing prices being positive and increasing with desirable property features. section 3.2
  • Different sensitivity across dimensions, represented through covariance choices such as separate length scales. section 3.2 section 3.6

Temperature estimates

Before collecting detailed observations, one can reasonably expect a typical January day in Missouri to be relatively cold and a summer day in California to be relatively hot. These rough expectations become initial Bayesian-model guesses. section 3.0

Figure 3.4 Comparison between a prior and a posterior GP. The prior GP contains prior information about the objective function, while the posterior GP combines that information with actual observations.

Compare a prior GP, which contains prior information, with a posterior GP that combines that information with observations. section 3.2

How Bayesian Optimization in Action covers it

How deep it goes
Defines prior knowledge through mean and covariance functions, then details smoothness, scales, ARD, and hyperparameter optimization.
Examples
Uses weather forecasting, hyperparameter-tuning accuracy, and housing-price assumptions about bounds, positivity, trends, and feature sensitivity.
What it assumes
Assumes familiarity with Gaussian processes and Bayesian modeling while motivating prior specification through intuitive objective-function examples.
What you can do after
Apply it via GPyTorch by selecting mean and covariance functions and setting their parameters for better surrogate-guided optimization.
How it connects
Connects Bayesian models, Gaussian processes, mean functions, covariance functions, posterior predictions, and Bayesian optimization.

Also explained in

Compare how 2 books explain prior knowledge →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bayesian Optimization in Action. The section links point to the parts of the book it draws on.