Why are Gaussian processes often chosen as surrogate models in Bayesian optimisation?

Quick Overview

Asks why Gaussian processes are a common surrogate model in Bayesian optimisation for tasks such as hyperparameter tuning. Tests understanding of the GP posterior, how acquisition functions use it, sample efficiency on expensive objectives, and where GP surrogates stop working well.

Why are Gaussian processes often chosen as surrogate models in Bayesian optimisation?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why are Gaussian processes often chosen as surrogate models in Bayesian optimisation? Take the usual setting: the objective is a model's validation loss as a function of its hyperparameters, and each evaluation is a full training run. ```hint What the acquisition function needs An acquisition function decides where to evaluate next. Ask what it needs from the surrogate besides a point prediction. ``` ```hint Count the evaluations Think about how many trials a typical tuning budget allows, and which models can still generalize from that few points. ``` ### What a Strong Answer Covers - What a GP posterior provides at each point and how it behaves near and far from observed trials - How that posterior feeds acquisition functions, and why their closed forms matter - Why GPs work with only tens of evaluations, including the role of the kernel - How the GP's own hyperparameters and noise level are fitted - The limits of GP surrogates and the alternatives used when those limits apply ### Follow-up Questions - Walk through how expected improvement uses the GP posterior to pick the next trial. What does it do at a point with a high predicted loss but a large variance? - The search space has 40 hyperparameters, several categorical, some active only when another one takes a certain value. Which surrogate would you use, and why? - How would you run Bayesian optimisation with 8 trials in parallel when the acquisition function picks one point at a time? - What goes wrong if the GP's length scales are badly estimated after the first few trials?

Overview: Asks why Gaussian processes are a common surrogate model in Bayesian optimisation for tasks such as hyperparameter tuning. Tests understanding of the GP posterior, how acquisition functions use it, sample efficiency on expensive objectives, and where GP surrogates stop working well.

General logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why are Gaussian processes often chosen as surrogate models in Bayesian optimisation?

Take the usual setting: the objective is a model's validation loss as a function of its hyperparameters, and each evaluation is a full training run.

What a Strong Answer Covers Guidance

  • What a GP posterior provides at each point and how it behaves near and far from observed trials
  • How that posterior feeds acquisition functions, and why their closed forms matter
  • Why GPs work with only tens of evaluations, including the role of the kernel
  • How the GP's own hyperparameters and noise level are fitted
  • The limits of GP surrogates and the alternatives used when those limits apply

Follow-up Questions Guidance

  • Walk through how expected improvement uses the GP posterior to pick the next trial. What does it do at a point with a high predicted loss but a large variance?
  • The search space has 40 hyperparameters, several categorical, some active only when another one takes a certain value. Which surrogate would you use, and why?
  • How would you run Bayesian optimisation with 8 trials in parallel when the acquisition function picks one point at a time?
  • What goes wrong if the GP's length scales are badly estimated after the first few trials?