What is the difference between synchronous and asynchronous parallel hyperparameter search?

Quick Overview

Asks how synchronous and asynchronous parallel hyperparameter search differ. It tests whether you understand batch barriers and stragglers, worker utilisation, how samplers and early-stopping schedulers such as successive halving handle trials that are still running, and the cost to reproducibility.

What is the difference between synchronous and asynchronous parallel hyperparameter search?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is the difference between synchronous and asynchronous parallel hyperparameter search? ```hint Picture the workers Imagine eight workers where some trials take ten minutes and others take an hour. Ask what each worker is doing while the slowest trial in a batch is still running. ``` ```hint Think about the sampler A model-based method such as Bayesian optimization picks the next point from the results it has. What changes when several trials are still running and have no result yet? ``` ### What a Strong Answer Covers - Where each approach waits for results and where it does not - The effect of stragglers and worker failures on hardware use - How model-based samplers and early-stopping schedulers must adapt in the asynchronous case - Staler information and weaker reproducibility as the costs of going asynchronous - Concrete examples of each style ### Follow-up Questions - How does ASHA decide when to promote a trial, and what mistakes can it make compared with synchronous successive halving? - With a Bayesian optimization sampler and 32 workers, how would you stop the workers from proposing nearly the same point? - When would you still choose synchronous search? - How would you make an asynchronous search reproducible enough to debug?

Overview: Asks how synchronous and asynchronous parallel hyperparameter search differ. It tests whether you understand batch barriers and stragglers, worker utilisation, how samplers and early-stopping schedulers such as successive halving handle trials that are still running, and the cost to reproducibility.

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

What is the difference between synchronous and asynchronous parallel hyperparameter search?

What a Strong Answer Covers Guidance

  • Where each approach waits for results and where it does not
  • The effect of stragglers and worker failures on hardware use
  • How model-based samplers and early-stopping schedulers must adapt in the asynchronous case
  • Staler information and weaker reproducibility as the costs of going asynchronous
  • Concrete examples of each style

Follow-up Questions Guidance

  • How does ASHA decide when to promote a trial, and what mistakes can it make compared with synchronous successive halving?
  • With a Bayesian optimization sampler and 32 workers, how would you stop the workers from proposing nearly the same point?
  • When would you still choose synchronous search?
  • How would you make an asynchronous search reproducible enough to debug?