Seeds, spread and the negative-results ledger
Rerun with several seeds when randomness could change the conclusion, keep seed spread apart from sampling spread, never report the best seed as the expected result, and keep a ledger of what was tried and dropped.
You will be able to
- Tell seed-to-seed spread from spread across evaluation units
- Use paired seeds and fixed folds to compare two models fairly
- Explain why reporting the best seed misleads
- Keep a negative-results ledger that separates crashes from non-improvements
Two kinds of spread
ReadTrain the same model with five seeds and you get five scores. That seed variabilitySeed variabilityHow much a score moves when only the random seed changes. It describes the training procedure, not new data from the population. describes the training procedure: initial weights, shuffling, dropout, bagging. It says nothing about how the scores would move on a new sample of patients or documents.
Five seeds evaluated on one fixed test set are not five independent samples of the population. Report both kinds separately: the spread across seeds, and an interval from resampling the evaluation units (patients, speakers, sites), as the next lessons show.
Run seeds when they could change the answer
ReadIf two candidates differ by less than their seed-to-seed spread, one run each can't tell them apart. Rerun with several seeds when randomness could change the conclusion: deep networks, small data, unstable selection.
Pair the comparison. Give model A and model B the same seeds and the same folds, and compare their differences seed by seed. Shared luck cancels; the difference that remains belongs to the models.
State the checkpoint rule before training (last epoch, or best validation loss) and use it for every seed.
Never report the best seed
PredictPredict first
You trained ten seeds and report the highest score as "the model's accuracy". How will it compare with the next run you do?
Reveal
Optimistic. The best of ten is selected for luck, the same way the best of ten hyperparameter settings is. Report every run, the mean and the spread, and pick a checkpoint by a rule fixed in advance.
The negative-results ledger
ReadKeep a record of what didn't work: configurations that diverged, changes that didn't help, cases where the simple baseline won, conditions where a method failed, and the remedy you tried for each.
Separate numerical failure (a crash, NaN losses, out of memory) from scientific non-improvement (it ran and didn't help). They mean different things. A model that wins on average but is unstable across seeds, sensitive to small preprocessing changes or much more expensive may be the worse operational choice, and the ledger is where that shows.
Seeds and the ledger in Predict
In the appOn a finished run, Repeat with more seeds re-fits it with 2 to 20 seeds. By default the folds stay the same, so only the model's randomness varies and every repeat is paired with the original; a switch re-draws the folds too, adding split-to-split variation. The group's summary reads like "Across 5 seeds the score averages … (SD …, range … to …)" and says how big a difference stays within seed-to-seed noise.
The Leaderboard step's Tried and dropped list keeps every run and search that wasn't chosen, with its outcome (Chosen, Close to the leader, Behind, Failed, Canceled), the reason and your note. The model card copies this Selection history.
Check: seeds and negative results
CheckpointCheck yourself
Five seeds give test accuracies within one point of each other. What does that show?
Show the answer
Answer: b
Seed spread is about the procedure. Uncertainty about new data comes from resampling the evaluation units.
Check yourself
Why give models A and B the same seeds and folds?
Show the answer
Answer: b
Pairing removes variation the two runs share. The paired differences carry the model difference with less noise.
Check yourself
Model A beats model B by 0.4 points. Each model's seed SD is about 1 point. What can you say?
Show the answer
Answer: b
A difference smaller than the seed spread could flip with the next seeds. Paired repeats measure it properly.
Check yourself
For each seed you report the epoch with the best test score. What is wrong?
Show the answer
Answer: b
Choosing the epoch by test score is selection on the test set. Choose by a validation rule fixed before training.
Check yourself
Which belongs in a negative-results ledger?
Show the answer
Answer: c
The ledger shows the selection history behind the winner, and it separates crashes from things that ran and didn't help.
Check yourself
In "Repeat with more seeds", what changes when you also re-draw the folds?
Show the answer
Answer: b
Same folds isolate training randomness; new folds add how much the score depends on which rows land where.
Recap
Recap- Seed spread describes the training procedure; sampling uncertainty comes from resampling evaluation units.
- Pair seeds and folds when comparing models; fix the checkpoint rule in advance.
- Report every run, the mean and the spread, never the best seed alone.
- Keep a ledger of what was tried and dropped, with crashes kept apart from non-improvements.
Concepts in this lesson