How do you decide whether to expand or shrink a hyperparameter search range based on trial history?

Quick Overview

Asks how to use the results of earlier hyperparameter trials to decide whether each search range should be widened or narrowed. Tests reading boundary effects, parameter importance, noise and parameter interactions in tuning results, and running a staged search.

How do you decide whether to expand or shrink a hyperparameter search range based on trial history?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

You have run a first hyperparameter search and have its trial history: each trial's parameter values and validation score. How do you decide whether to expand or shrink each parameter's search range for the next round? ```hint Look at the edges For each parameter, plot validation score against the parameter value and see where the top few trials sit relative to the bounds of the range. ``` ```hint Before trusting a pattern Ask how much of what you see could be trial-to-trial noise, and whether one parameter's good range depends on the value of another. ``` ### What a Strong Answer Covers - The signals that a range should be extended, and the scale to extend it on - The signals that a range can be narrowed or the parameter fixed - How to separate real patterns from noise and from interactions between parameters - A repeatable process for updating bounds between searches ### Follow-up Questions - The best trials for a parameter sit at a hard limit, such as dropout 0 or a subsample fraction of 1.0. What do you do? - How would you detect that the good learning-rate range depends on batch size, and how would you search in that case? - How many trials do you need before you trust a boundary signal? - When would you change a parameter's scale (for example, to log scale) instead of its bounds?

Overview: Asks how to use the results of earlier hyperparameter trials to decide whether each search range should be widened or narrowed. Tests reading boundary effects, parameter importance, noise and parameter interactions in tuning results, and running a staged search.

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

You have run a first hyperparameter search and have its trial history: each trial's parameter values and validation score. How do you decide whether to expand or shrink each parameter's search range for the next round?

What a Strong Answer Covers Guidance

  • The signals that a range should be extended, and the scale to extend it on
  • The signals that a range can be narrowed or the parameter fixed
  • How to separate real patterns from noise and from interactions between parameters
  • A repeatable process for updating bounds between searches

Follow-up Questions Guidance

  • The best trials for a parameter sit at a hard limit, such as dropout 0 or a subsample fraction of 1.0. What do you do?
  • How would you detect that the good learning-rate range depends on batch size, and how would you search in that case?
  • How many trials do you need before you trust a boundary signal?
  • When would you change a parameter's scale (for example, to log scale) instead of its bounds?