Loss landscape

Outputs · lens

A map of the training loss over two weights (or two directions in weight space): low ground is where the model fits its examples best.

Also called Loss surface, Error surface

The same two real weights as the weight map, coloured by loss instead: the router’s average cross-entropy on all 272 held-out tickets, judged by the new rule. Light is low loss, dark is high. Training follows this surface downhill; an edit jumps to a point on it. Point at the map and click to pin a point, or focus it and use the arrow keys.
-202468-10123H2 → ExpeditedUrgent → H2
0.133.33
  • Original weights (0, 0): loss 0.920, 204 of 272 right
  • Archived edit (4, 1): loss 0.215, 272 of 272 right
  • ×Lowest on this slice (8.00, 1.00): loss 0.129

Loss and accuracy are not the same picture. 274 settings on this slice get every ticket right, yet their loss keeps falling towards the right edge: a larger H2 → Expedited weight makes the router surer, not more correct. The lowest point sits on the edge of the window because the loss would go on falling beyond it.

Figure 1. Every number is computed in your browser.

What it shows

Training measures how wrong a model is with one number, the loss, and moves the weights downhill. Fixing all but two weights turns the loss into a surface you can draw: every point is a version of the model, coloured by its loss on the same examples. Real networks have millions of weights, so published landscapes use two random or chosen directions through weight space instead of two single weights.

How to read it

Colour
The loss at that point: here light is low, dark is high.
Valley
Settings that fit the examples well. Training looks for one.
Slope
What gradient descent follows, one step at a time.
Marked points
Specific versions of the model, such as the original weights or an edit.

What it does not tell you

Loss is not accuracy: on the ticket router’s slice, 274 settings get all 272 tickets right while their loss keeps falling, because the router only grows more confident. A two-weight slice is one view of a much higher-dimensional surface, and on real networks the picture depends heavily on how the directions are chosen and scaled.

Understanding optimization (why some minima generalize better, why learning rates matter), comparing architectures, and teaching gradient descent.

In WeightSpace

The figure computes the ticket router’s mean cross-entropy on its 272 held-out tickets, judged by the new rule, over the same two real weights as the weight map: 0.920 at the original weights, 0.215 at the archived edit, and still falling at the edge of the window. No workbench draws a loss landscape yet.

Where to see it

No workbench draws this yet: the figure at the top of this page is the only place in WeightSpace for now.

Model structures: Support ticket router