Plan a hyperparameter search for a deep network with eight hyperparameters on a 50 GPU-hour budget

Quick Overview

Asks how to plan hyperparameter tuning for a deep network with eight hyperparameters on a budget of about 50 GPU-hours. Tests search space reduction, budget arithmetic, early stopping of weak configurations and handling seed noise when picking a winner.

Plan a hyperparameter search for a deep network with eight hyperparameters on a 50 GPU-hour budget

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

You have a fixed budget of about 50 GPU-hours to tune a deep network with eight hyperparameters. How would you plan the search? ```hint Convert the budget first Before picking a search method, work out how many full training runs 50 GPU-hours buys, and which of the eight hyperparameters really need searching. ``` ```hint Judge configs early Look for ways to rank a configuration without training it to completion, and think about when that early signal misleads. ``` ### Constraints & Assumptions - Total budget: about 50 GPU-hours, including any final confirmation runs. - Eight hyperparameters are available to tune. ### Clarifying Questions to Ask - How long does one full training run take, and how many GPUs can run trials at the same time? - Which metric decides the winner, and how much does it vary across random seeds? - Are there results from earlier tuning of this or a similar model that can narrow the ranges? - Is a held-out test set already reserved, separate from the validation data used for tuning? ### What a Strong Answer Covers - How to shrink the search space: which hyperparameters to fix, which to search, and on what scales - Measuring the cost of one trial and turning the budget into a count of full-run equivalents - How to rank configurations cheaply and keep parallel GPUs busy - How the 50 GPU-hours are divided across the phases of the search, with numbers that add up - The main ways the search can pick the wrong configuration, and how to guard against them ### Follow-up Questions - How would you choose the minimum resource and the reduction factor for Hyperband here? - The best config at a short rung uses a high learning rate that ends worse at full length. How do you detect and prevent this? - How would the plan change if one full run took 10 GPU-hours instead of 2? - How would you decide whether the gap between the top two configs is real or seed noise?

Overview: Asks how to plan hyperparameter tuning for a deep network with eight hyperparameters on a budget of about 50 GPU-hours. Tests search space reduction, budget arithmetic, early stopping of weak configurations and handling seed noise when picking a winner.

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

You have a fixed budget of about 50 GPU-hours to tune a deep network with eight hyperparameters. How would you plan the search?

Constraints & Assumptions

  • Total budget: about 50 GPU-hours, including any final confirmation runs.
  • Eight hyperparameters are available to tune.

Clarifying Questions to Ask Guidance

  • How long does one full training run take, and how many GPUs can run trials at the same time?
  • Which metric decides the winner, and how much does it vary across random seeds?
  • Are there results from earlier tuning of this or a similar model that can narrow the ranges?
  • Is a held-out test set already reserved, separate from the validation data used for tuning?

What a Strong Answer Covers Guidance

  • How to shrink the search space: which hyperparameters to fix, which to search, and on what scales
  • Measuring the cost of one trial and turning the budget into a count of full-run equivalents
  • How to rank configurations cheaply and keep parallel GPUs busy
  • How the 50 GPU-hours are divided across the phases of the search, with numbers that add up
  • The main ways the search can pick the wrong configuration, and how to guard against them

Follow-up Questions Guidance

  • How would you choose the minimum resource and the reduction factor for Hyperband here?
  • The best config at a short rung uses a high learning rate that ends worse at full length. How do you detect and prevent this?
  • How would the plan change if one full run took 10 GPU-hours instead of 2?
  • How would you decide whether the gap between the top two configs is real or seed noise?