Experiment tracking & reproducibility
MLflow or W&B for params/metrics/artifacts, seeding, data versioning. "Which run is in prod and can you rebuild it?" should have a one-line answer.
The mental model
Experiment tracking is the flight recorder for your model training. A plane's black box does not make the plane fly better; it makes every crash explainable and every flight reproducible. That is exactly the job here. A training run is not a notebook you ran once — it is a tuple of (code version, data version, hyperparameters, environment, random seed) → (metrics, artifacts). Tracking makes that tuple durable and queryable instead of scrolling-back-in-your-terminal ephemeral.
The one question that reveals whether you actually have tracking, versus a folder full of model_final_v3_REALLY_final.pkl files, is this: "Which run is serving production right now, and can you rebuild that exact artifact from scratch?" If the answer is a shrug, you do not have reproducibility — you have a model you are afraid to touch. Interviewers ask this because it separates people who have operated a model from people who have only trained one.
The reason this matters more in ML than in ordinary software is that the code is only a third of the system. A deterministic function of the same input always produces the same output; a model is a function of code and a specific data snapshot and a seed and the exact library versions that decided how floats rounded. Change any one silently and your 0.84 AUC becomes 0.81 and nobody can say why. Tracking is the discipline that turns "it worked on my machine last Tuesday" into a row you can look up.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision