Sixteen Runs to Spend

Training Deep NetworksHard+30 XP+30

Sixteen Runs to Spend

A team has budget for exactly 16 full training runs. They want to tune two settings, the learning rate and the dropout rate, and they are choosing between two plans.

Plan 1: grid search. One run for every combination of

  • learning rate ∈{0.0001, 0.001, 0.01, 0.1}\in \{0.0001,\ 0.001,\ 0.01,\ 0.1\}∈{0.0001, 0.001, 0.01, 0.1}
  • dropout rate ∈{0.2, 0.3, 0.4, 0.5}\in \{0.2,\ 0.3,\ 0.4,\ 0.5\}∈{0.2, 0.3, 0.4, 0.5}

which is 4×4=164 \times 4 = 164×4=16 runs.

Plan 2: random search. 16 runs, each choosing its settings independently of the others:

  • draw a number uuu uniformly at random between −4-4−4 and −1-1−1, and use learning rate 10u10^{u}10u. Learning rates therefore range from 0.00010.00010.0001 to 0.10.10.1, spread evenly across the powers of ten;
  • draw a dropout rate uniformly at random between 0.20.20.2 and 0.50.50.5.

Unknown to the team, this model only trains well when the learning rate lies between 10−2.810^{-2.8}10−2.8 and 10−2.210^{-2.2}10−2.2 (about 0.00160.00160.0016 to 0.00630.00630.0063). Anywhere from 0.20.20.2 to 0.50.50.5, the dropout rate makes almost no difference.

For each plan, what is the probability that at least one of its 16 runs uses a learning rate inside that good band?

Grid vs Random Coverage

Only the horizontal hyperparameter actually affects the score here. Watch what each search explores along that axis.

Projected onto the axis that matters
Distinct values tested on the important axis
3

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.