What is the primary computational bottleneck of Gaussian process-based Bayesian optimisation as trials grow?

Quick Overview

Asks which part of Gaussian process Bayesian optimisation gets expensive as a tuning run collects more trials, and why. Tests understanding of exact GP inference cost, repeated refitting during a run, and the practical ways to scale the surrogate.

What is the primary computational bottleneck of Gaussian process-based Bayesian optimisation as trials grow?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Gaussian process (GP) surrogates are a common choice for Bayesian optimisation of hyperparameters. As a tuning run accumulates more and more completed trials, what becomes the primary computational bottleneck of GP-based Bayesian optimisation, and why? ```hint Where to look Write down what the GP posterior mean and variance need from the observed data. Then ask which of those operations scales worst with the number of trials, and how often it gets repeated during a run. ``` ### What a Strong Answer Covers - The operation that dominates exact GP inference and how its time and memory scale with the number of observed trials - Why the cost repeats during a run, through refitting after each trial and kernel hyperparameter fitting - The separate, smaller cost of posterior predictions during acquisition optimisation - When the cost actually matters compared with the cost of the trials themselves - At least one way to scale the surrogate and what that approach gives up ### Follow-up Questions - How do you update a Cholesky factor when one new trial is added, what does it cost, and when can you not use the update? - How do sparse or inducing-point GPs cut the cost, and what do they lose in accuracy? - Tools such as SMAC and TPE replace the GP with random forests or density estimators. What do they gain and what do they lose? - In batch Bayesian optimisation with many parallel workers, how does the bottleneck change?

Overview: Asks which part of Gaussian process Bayesian optimisation gets expensive as a tuning run collects more trials, and why. Tests understanding of exact GP inference cost, repeated refitting during a run, and the practical ways to scale the surrogate.

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

Gaussian process (GP) surrogates are a common choice for Bayesian optimisation of hyperparameters. As a tuning run accumulates more and more completed trials, what becomes the primary computational bottleneck of GP-based Bayesian optimisation, and why?

What a Strong Answer Covers Guidance

  • The operation that dominates exact GP inference and how its time and memory scale with the number of observed trials
  • Why the cost repeats during a run, through refitting after each trial and kernel hyperparameter fitting
  • The separate, smaller cost of posterior predictions during acquisition optimisation
  • When the cost actually matters compared with the cost of the trials themselves
  • At least one way to scale the surrogate and what that approach gives up

Follow-up Questions Guidance

  • How do you update a Cholesky factor when one new trial is added, what does it cost, and when can you not use the update?
  • How do sparse or inducing-point GPs cut the cost, and what do they lose in accuracy?
  • Tools such as SMAC and TPE replace the GP with random forests or density estimators. What do they gain and what do they lose?
  • In batch Bayesian optimisation with many parallel workers, how does the bottleneck change?