Two Marbles, Two Valleys

Introduction to OptimizationHard+30 XP+30

Two Marbles, Two Valleys

A model has a single parameter xxx, and its loss is

L(x)=3x4−8x3−18x2+60L(x) = 3x^4 - 8x^3 - 18x^2 + 60L(x)=3x4−8x3−18x2+60

Two training runs are launched from different initial settings:

RunStarting setting xxx
A−2-2−2
B111

Each run behaves like a marble released on the surface, in thick fog. It can see nothing beyond its own feet: it moves continuously in whichever direction makes LLL decrease, and it halts the instant the ground beneath it goes flat. It has no momentum, so it cannot climb over anything, and it never jumps.

The two runs use the same loss and the same rule. Only their starting points differ.

How much higher is the final loss of the worse run than the final loss of the better run?

Report the gap (worse minus better) in loss units. The arithmetic comes out exact, so no rounding is required.

Where You Start Decides Where You Stop

Drop the ball at1.0
a dipdeepesta dip0246810
Started at 1.0 → settled at 2.44 with score 2.08
Deepest dip on the whole curve: 1.42 at 5.48

This ball is stuck in a dip that is not the deepest one. That is a local minimum, and the ball has no way of knowing a better dip exists. A rolling ball only ever feels the ground right under it, so it stops at the first flat spot it reaches. Move the starting point and roll again to land somewhere else.

Hints

Solve it to unlock the solution

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

units