Step 10 of 38 · Delivery
Baselines first
A simple baseline shows whether the problem is hard, whether the pipeline works and whether a complex model earns its cost.
Without a baseline you cannot tell a good result from a broken pipeline. A rule, a lookup, a linear model or an off-the-shelf model with a plain prompt gives you a number to beat and a full path from data to evaluation, usually within days.
Require one before any custom modelling. Give it honest effort, because a weak baseline flatters everything that follows. Then judge each new approach by its gain over the baseline against its added cost in compute, latency and maintenance.
Sometimes the baseline is good enough to ship. Treat that as a win. The mistake is to see it as an embarrassment and keep building.
Try this week
- Ask for the baseline number on every active project. Where there is none, pause modelling until one exists.
- Compare your current model with the baseline on cost to run and to maintain, not only on accuracy.
Signs you've got it
- Every results report shows the baseline next to the new method.
- You have shipped a simple approach because the gain from a complex one did not cover its cost.
Resources
- articleThe First Rule of Machine Learning: Start without Machine Learning (opens in a new tab)Eugene Yan
- articleA Recipe for Training Neural Networks (opens in a new tab)Andrej Karpathy
- paperAre We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approaches (opens in a new tab)Maurizio Ferrari Dacrema, Paolo Cremonesi and Dietmar Jannach
- paperOn the State of the Art of Evaluation in Neural Language Models (opens in a new tab)Gábor Melis, Chris Dyer and Phil Blunsom
- guideRules of Machine Learning: Best Practices for ML Engineering (opens in a new tab)Martin Zinkevich