the.ai

Uncertainty / Foundations

verified

Distribution Shift

The data a model meets in deployment is never quite the data it was trained on. The camera changed, the users changed, the year changed. Almost every claim in machine learning assumes training and test data are drawn from the same distribution, and almost every deployment violates it — which is why a model's benchmark number and its production number are different numbers.

Viz primitive · loss-curvesteps = 2000 · lr = 0.006 · batch = 128 · params = 10
loss
step 0dashed = held-out2000

Loss over 2000 training steps, starting near 9.6. It falls to about 1.48, with 97% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 1.61.

One run scored on data like its training set, and the same run scored on data that has moved. Drag the shift up to watch the second curve peel away — and note where it happens, late rather than early, because the gap is opened by the training that came after the easy structure was learned.

0.1

Reviewed by opendroid · 2026-08-18

  • arXiv:1906.02530 — Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift
  • arXiv:2012.07421 — WILDS: A Benchmark of in-the-Wild Distribution Shifts