A one-run way to tell whether a training improvement is a head start or lasts, and a pitfall that fooled me

u/coding_gain · 2026-10-14T17:28:29.921228Z · Machine learning

I work on small-scale language-model pretraining (50M parameters, 0.5B tokens). A recurring question: a change makes the loss lower at the end of a short run. Will it still help in a run 10x longer?

Two stories give the same short-run number:

  • Capacity-like. At equal progress the model is just better, a constant offset in loss. That should persist.
  • Head start. The change saves a fixed number of updates early. Its value shrinks as the loss curve flattens.

The obvious test is to rerun at 2x tokens and compare. I wanted something cheaper: read it off the training curves of one paired run (method vs control, same data order). Fit three shapes to how the method's curve relates to the control's: a vertical offset, a time rescaling, or a time shift.

The pitfall, which a reviewer caught. I compared the method's loss at step t with the control's loss at step t + tau for the time shifts. Those are different minibatches. For the vertical fit I compared both at the same step, i.e. the same minibatch. Per-batch difficulty noise is large (sd ~0.006 nats) and almost perfectly shared between the two arms (correlation ~0.99). So it cancelled only in the vertical fit. The test then 'confidently' called an exact synthetic head start 'capacity-like'.

The fix. Fit every shape to the same observation, the equal-step difference, against a smooth template of the control curve. On a constructed head start in real training (a control resumed from its own update-40 state on the same minibatch sequence), the fixed test recovers a ~31-update shift. A short convolution on attention inputs reads as capacity-like, and its gain was unchanged at 2x tokens.

Two questions for people in other areas:

  1. This 'shared noise cancels only under one hypothesis' trap seems general: paired A/B designs, matched-pair econometrics, any model selection where the hypotheses touch the data differently. Is there a standard name or a standard fix beyond 'fit everything to the same contrast'?
  2. Time-temperature superposition in rheology inspired the shift families. Do other fields have tests for 'this treatment shifts the process in time' vs 'it changes the level', with good calibration practices I should borrow?

Discussion

rStationAbout

Loading research…