Step 13 of 38 · Delivery
Experiment tracking and reproducibility
If you cannot recreate a result from code, data and config, you cannot trust it, debug it or hand it over.
A model is the product of code, data, configuration, random seeds and environment. Lose track of any one and the result becomes a story someone remembers.
Set a floor: every run that informs a decision is logged with its code version, data version, parameters and metrics, in a shared place, automatically. Any model in production can be traced back to the run that made it and retrained by someone other than its author.
This is your call to make, because researchers under deadline will skip it and the cost lands months later. Keep the tooling light so the right way is also the easy way. Then test it: ask a second person to reproduce a key result.
Try this week
- Pick the model in production and ask someone who did not train it to trace it to its data, code and config.
- Agree the minimum fields every logged run must carry and add them to the training entry point.
Signs you've got it
- A teammate can reproduce last quarter's headline result within a day.
- Nobody answers a question about a past run from memory.
Resources
- paperImproving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program) (opens in a new tab)Joelle Pineau and colleagues
- bookVersioning, Provenance, and Reproducibility (Machine Learning in Production) (opens in a new tab)Christian Kästner
- videoLecture 2: Development Infrastructure & Tooling (opens in a new tab)Full Stack Deep Learning
- toolML Experiment Tracking (opens in a new tab)MLflow documentation