Summary
A model comparison needs complete runs and a declared resource budget. A reproducible record lets another person rebuild those runs from code, data, configuration and environment.
Problem
A candidate has a better best accuracy than the baseline. Should you recommend it? Compare three hypothetical paired runs with equal tokens, tuning opportunity and evaluation settings. The pair mapping was specified before scores were observed. None of these planned runs failed.
Picture
Give every planned run a row before training begins. Put the baseline and candidate side by side. Compare within each row, then summarize all rows. Keep a failed run in its row with its status.
Learning objective
Unequal tuning opportunities prevent the best observed scores from isolating method effects
Reference drawing
Learning objective
Unequal tuning opportunities prevent the best observed scores from isolating method effects
Derivation
Best-run leaderboard
The methods receive different opportunities, then only each winner survives reporting.
| evidence choice | baseline | new method |
|---|---|---|
| data and tokens | smaller set | larger set |
| compute and capacity | lower | higher |
| tuning opportunity | few trials | many trials |
| selection rule | best observed | best observed |
| failures | omitted | omitted |
conclusion allowed: one selected setup scored higher
Matched, complete evidence
Predeclare one comparison contract, then retain every planned outcome under it.
| record | baseline | new method |
|---|---|---|
| data · tokens · evaluation | matched | matched |
| capacity · compute · tuning | matched | matched |
| selection rule | predeclared | same rule |
| run 1 | recorded | recorded |
| run 2 | recorded | recorded |
| run 3 | recorded | failed, retained |
conclusion allowed: effect size + uncertainty + disclosed cost
Original synthesis informed by the benchmark-variance study, experimental-reporting study, and NeurIPS reproducibility report.
Repeat the sources of variation
Repeat the variation relevant to the claim: initialization, data order, training stochasticity or evaluation sampling. Pairing means a declared correspondence between runs. Equal seed numbers alone do not guarantee useful pairing across different programs. For this example, each row is one paired training repeat evaluated on the same held-out set. Evaluation-sample uncertainty is a separate quantity.
Small example
| Planned pair | Baseline accuracy | Candidate accuracy | Candidate minus baseline |
|---|---|---|---|
| 1 | 0.80 | 0.83 | 0.03 |
| 2 | 0.82 | 0.81 | -0.01 |
| 3 | 0.78 | 0.79 | 0.01 |
The baseline mean is and the candidate mean is . The mean paired difference is : one percentage point. One pair regresses. The best candidate’s three-point paired gain is not the average gain.
Let be the difference in row , and let be their mean. The centered differences are . Their sample standard deviation is
Report the complete ledger, mean difference, declared uncertainty method and costs. Three rows describe this fixture; they are insufficient evidence for a general reliability claim. If a fourth planned run fails, retain it and define how failures enter the comparison’s outcome.
Change the comparison
1. The candidate uses twice the compute
New task: isolate the method’s gain at equal compute.
Picture and change: add a compute-matched baseline. Keep the larger-system comparison separately labeled. Match tuning opportunity too.
Check: one versus two GPU-hours on the same hardware is unequal compute, even with identical seed labels.
Use when: architecture or training duration changes resource use.
2. Replay a failed training step
New task: reproduce a NaN in one distributed transition.
Picture and change: save the pre-failure checkpoint, next batch, optimizer, schedule, data position and random-number state. Record rank mapping, world size, software, kernels and precision.
Check: loading the weights with a different batch does not replay the same transition.
Use when: the target is a failure mechanism. Keep this replay separate from representative performance repeats.
Selection can survive repetition
Suppose the baseline receives two tuning trials and the candidate receives fifty. Rerunning their selected winners leaves that unequal selection opportunity unchanged. Define the tuning and selection rules before comparing the methods.
Try a different claim
Does an exactly repeated result prove a useful performance gain?
Check your answer
It demonstrates repeatability of that setup. A useful comparative gain needs matched opportunities, relevant variation and an outcome worth its cost.
Sources of variation
Initialization, data sampling, cleaning, tuning, training duration, hardware, precision, evaluation and code changes can explain a score change. Control or record each factor relevant to the claim.
Three useful terms
- Repeatability: rerun the same setup and obtain a compatible result.
- Reproducibility: rebuild the result from supplied records and artifacts.
- Replicability: test the claim with an independent implementation or dataset.
Terminology conventions differ. State the evidence your chosen term requires.
Match the comparison
| Resource | Recorded comparison |
|---|---|
| Data | Examples, tokens and cleaning |
| Capacity | Model size and parameter use |
| Compute | Work, hardware, time and precision |
| Tuning | Search budget and selection rule |
| Implementation | Baseline correctness and optimization |
| Evaluation | Prompts, decoding, scorer and held-out set |
If exact matching is impossible, report the difference and narrow the claim.
Keep an experiment record
Use immutable run IDs. Retain code, data/mixture, model configuration, optimizer, schedule, seeds, hardware, precision and dependency/kernel versions. Include checkpoint lineage, evaluator, decoding, status, failure reason, logs and artifact locations.
Reproducing a training failure
Keep logs on both sides of the first bad transition. For expensive runs, repeat affordable scale tests or replay critical ranges. Report which full-run variation remains unmeasured. Deterministic replay helps debugging; representative repeats measure variability.
In an interview
State the claim, its alternative explanation, the matched comparison and a result that would reject your explanation.
Common mistakes
Do not tune on the final test set or omit failed attempts. Changing data and model together needs additional controls to isolate their effects.
Related: ML data lineage and versioning, design an ablation study, debug a frontier LLM training run, and loss spikes at scale.