A Longer Ramp

OptimizersHard+30 XP+30

A Longer Ramp

A team trains the same network on the same data several times, changing only the learning-rate schedule. Every run uses warmup, then cosine decay:

  • during warmup (steps 000 to WWW) the rate climbs in a straight line: at step ttt it is peak×t/W\text{peak} \times t / Wpeak×t/W;
  • after warmup it eases down along a cosine curve, peak×12(1+cos⁡ ⁣(π⋅t−W30,000−W))\text{peak} \times \tfrac{1}{2}\left(1 + \cos\!\left(\pi \cdot \dfrac{t - W}{30{,}000 - W}\right)\right)peak×21​(1+cos(π⋅30,000−Wt−W​)), reaching 000 at step 30,00030{,}00030,000.

Here are the runs so far:

runpeak ratewarmup WWWwhat happened
A0.006none: starts at the peakloss exploded to NaN at step 12
B0.006250 stepstrained cleanly all the way to step 30,000
C0.008250 stepsloss fell normally, then exploded to NaN at step 213
D0.0081,000 stepsloss fell normally, then exploded to NaN at step 850

A teammate reads Runs A and B as proof that warmup cures these explosions, and proposes Run E: peak 0.008, with the warmup stretched to 2,000 steps.

What does the evidence predict for Run E?

Hints

Solve it to unlock the solution

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

Select all that apply.