liveBook · Manning

Multifidelity matérn kernel

As explained in Bayesian Optimization in Action

A multifidelity Matérn kernel is a Matérn covariance function extended to model observations from multiple fidelity levels and their correlations.

A multifidelity Matérn kernel extends Matérn covariance to observations gathered from several fidelity levels. It uses each point’s fidelity correlation to decide how strongly that observation informs nearby predictions, making inexpensive but inexact evaluations useful when optimizing an expensive black-box objective. section 9.2.2 section 9.7

The kernel supports multifidelity Gaussian-process modeling by:

  • Representing fidelity correlation as an extra feature column, with values between 0 and 1 indicating similarity to the ground truth. section 9.7
  • Producing higher covariance, and therefore greater uncertainty reduction, for nearby observations with high correlation. section 9.2.2
  • Allowing low-correlation observations to leave posterior uncertainty relatively high while still contributing to the model. section 9.2.2
  • Supporting a specialized BoTorch Gaussian-process class that is trained by maximizing the likelihood of the observations. section 9.2.2

Low- and high-correlation observations

A GP trained only on low-fidelity observations becomes less uncertain when their correlation is 0.9 than when it is 0.5. With both fidelity levels, mean predictions pass through high-fidelity observations while low-fidelity points still reduce uncertainty.

from botorch.models.gp_regression_fidelity
import SingleTaskMultiFidelityGP         #1
 
model = SingleTaskMultiFidelityGP(
train_x_full, train_y, data_fidelity=1)  #2

Instantiate BoTorch’s SingleTaskMultiFidelityGP with the full feature matrix, response values, and the column containing fidelity correlation values. section 9.2.2

How Bayesian Optimization in Action covers it

How deep it goes
Defines covariance behavior and implementation usage, but defers mathematical details to BoTorch documentation.
Examples
Uses low-fidelity-only predictions at correlations 0.5 and 0.9, plus mixed-fidelity objective predictions.
What it assumes
Assumes Gaussian-process familiarity and prior Matérn-kernel knowledge while introducing fidelity correlation’s modeling role.
What you can do after
Operate/configure a BoTorch multifidelity GP by encoding fidelity values and fitting SingleTaskMultiFidelityGP.
How it connects
Connects Matérn kernels, Gaussian processes, fidelity correlation, posterior uncertainty, and multifidelity optimization.

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.