When does Bayesian optimisation fail to outperform random search?

Quick Overview

Asks when Bayesian optimisation gives no advantage over random search for hyperparameter tuning. Tests understanding of surrogate models, trial budgets, dimensionality, evaluation noise, parallel workers and alternatives such as early-stopping schedulers.

When does Bayesian optimisation fail to outperform random search?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

When does Bayesian optimisation fail to outperform random search? Assume you are tuning the hyperparameters of a machine learning model and each trial is one training run. ```hint Budget arithmetic Count how many trials a typical Bayesian optimisation run spends before its model starts choosing the next configuration. ``` ```hint What the surrogate must learn Ask how the surrogate's accuracy depends on the number of tuned parameters. ``` ```hint Many workers at once Think about what a sequential method has to do when it must propose hundreds of configurations in the same round. ``` ### What a Strong Answer Covers - The general condition under which Bayesian optimisation beats random search - Each concrete failure case and the mechanism behind it - How the cost of one evaluation changes the trade-off - Alternatives and when to prefer them ### Follow-up Questions - Before running anything, how would you decide whether a tuning problem is worth Bayesian optimisation? - Which surrogate model would you use for a conditional space with several categorical parameters? - How do batch methods try to keep parallel proposals diverse, and why do they still lose their edge with hundreds of workers? - How would you compare Bayesian optimisation and random search fairly on your own problem?

Overview: Asks when Bayesian optimisation gives no advantage over random search for hyperparameter tuning. Tests understanding of surrogate models, trial budgets, dimensionality, evaluation noise, parallel workers and alternatives such as early-stopping schedulers.

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

When does Bayesian optimisation fail to outperform random search? Assume you are tuning the hyperparameters of a machine learning model and each trial is one training run.

What a Strong Answer Covers Guidance

  • The general condition under which Bayesian optimisation beats random search
  • Each concrete failure case and the mechanism behind it
  • How the cost of one evaluation changes the trade-off
  • Alternatives and when to prefer them

Follow-up Questions Guidance

  • Before running anything, how would you decide whether a tuning problem is worth Bayesian optimisation?
  • Which surrogate model would you use for a conditional space with several categorical parameters?
  • How do batch methods try to keep parallel proposals diverse, and why do they still lose their edge with hundreds of workers?
  • How would you compare Bayesian optimisation and random search fairly on your own problem?