How do you move machine learning models from notebooks to reliable production systems and keep them accurate as data changes?
When to use it
Use it when several models run in production, when models need regular retraining, when regulators demand traceability, or when data scientists and engineers hand work back and forth.
Where it comes from
The term appeared in the second half of the 2010s as teams applied DevOps ideas to machine learning systems that were hard to reproduce and maintain in production. It grew out of industry practice, with cloud vendors and open-source projects publishing reference pipelines, rather than from one inventor.
Dominik Kreuzberger, Google Cloud, Niklas Kühl and Sebastian Hirschl
Sheet 2/4
How it works
An ML system is treated as code plus data plus model, all versioned and tested. Pipelines automate data preparation, training, validation and release so results can be reproduced. In production, monitoring tracks model quality and input drift, and triggers retraining or rollback. Governance records who changed what and which data trained each model.
You need
Trained or trainable models, versioned datasets, a code repository, compute infrastructure, and agreed ownership between data and platform teams.
You get
Automated training and deployment pipelines, a model registry, monitoring dashboards and audit trails.
Sheet 3/4
Case
Illustrative case
Cobalt Insurance has a claims fraud model that its data scientists retrain by hand every quarter. Accuracy slipped unnoticed for months. The team adopts MLOps: datasets are versioned, a pipeline retrains weekly, and a validation gate blocks any model that scores worse than the current one. A drift monitor on claim amounts alerts the team when inputs shift. A model registry records which data built each release. Within a quarter, retraining takes two hours rather than two weeks and a bad release is rolled back in minutes after one alert.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
It is excessive for a one-off analysis, a prototype with no deployment plan, or a team with a single static model where manual release is cheap.
Common mistakes
Buying tooling before agreeing the process.
Monitoring system health but not model quality.
Versioning code but not data.
Automating a pipeline for a model no one uses.
Known weaknesses
High setup cost in tooling and skills
Requires data, ML and operations skills together
Tool landscape is fragmented
Pipelines need ongoing maintenance
Not all models justify the overhead
How to apply it in 5 steps
How to apply it
MLOps (Machine Learning Operations)
5 steps
01of 5
Step 1 of 5: Version data and code
Track datasets, features, code and parameters so any model can be reproduced.
01
02of 5
Step 2 of 5: Automate training
Script data preparation, training and tuning in a repeatable pipeline.
02
03of 5
Step 3 of 5: Build CI/CD for models
Test, validate and deploy models automatically with quality gates.
03
04of 5
Step 4 of 5: Monitor in production
Track accuracy, data drift and system health and set alert thresholds.
04
05of 5
Step 5 of 5: Add governance
Control access, keep audit trails and meet regulatory requirements.
05
Click to unfold
Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.
View all 5 steps
01
Version data and code
Track datasets, features, code and parameters so any model can be reproduced.
02
Automate training
Script data preparation, training and tuning in a repeatable pipeline.
03
Build CI/CD for models
Test, validate and deploy models automatically with quality gates.
04
Monitor in production
Track accuracy, data drift and system health and set alert thresholds.
05
Add governance
Control access, keep audit trails and meet regulatory requirements.
Which decisions it helps with
Decision profile
A map or diagram to take action on processes and operations.
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIdentity
Type of tool
Map or diagrampossible
The questionWhat kind of tool is it?Assessment · Map or diagram · 43 %
Decision stage
Plan the work, roles and deadlinespossiblealso: generate ideas or options (34 %)
The questionWhat stage of the decision are you at?Assessment · Plan the work, roles and deadlines · 39 % · also Generate ideas or options · 34 %
What it applies to
Processes and operationsvery likely
The questionWhat is the decision about?Assessment · Processes and operations · 99 %
Discipline
Agile and software developmentvery likely
The questionWhich discipline does it come from?Assessment · Agile and software development · 96 %
What it produces
A map of relationships, flows or causespossible
The questionWhat kind of tool is it?Assessment · A map of relationships, flows or causes · 43 %
IIIResources required
TimeWeeks or monthsThe questionHow much time can you spend on this?Assessment · Weeks or months · confidence 98 %
PeopleA small group (2 to 8)The questionHow many people will take part?Assessment · A small group (2 to 8) · confidence 16 %
DataQuantitative analysisThe questionWhat data do you have available?Assessment · Quantitative analysis · confidence 16 %
ExpertiseWorks best with a facilitatorThe questionDoes anyone have experience with methods like these?Assessment · Works best with a facilitator · confidence 53 %
Time horizonBetween “a few months” and “one to three years”The questionHow far ahead do you need to plan?Assessment · Between “a few months” and “one to three years” · confidence 39 %
ScopeA unit or departmentThe questionWho will this decision affect?Assessment · A unit or department · confidence 70 %
FrequencyA regular practiceThe questionIs this a one-off decision or something you expect to repeat?Assessment · A regular practice · confidence 36 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Execution · confidence 88 %
Top-downmixedBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · no clear preference (probability is spread across several levels)
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Mostly processes · confidence 66 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 56 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Mostly analysis · confidence 62 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly a flexible framework · confidence 79 %
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Mostly protect · confidence 72 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Both equally · confidence 29 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Inside the organisation · confidence 79 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Mostly act now · confidence 63 %
IVUseful when
Our projects keep running late or going over budgetThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 85 %
We make too many mistakes, or one mistake could be very costlyThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 71 %
Applicable traits
How it supports actionDecide what comes firstThe questionWhat do you need in order to act?Assessment · Decide what comes first · 95 %
How was this profile calculated?
An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.
A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.
On the axes, mixed means the model favours neither end.
al., D. S. e. (2015). Hidden Technical Debt in Machine Learning Systems. Advances in Neural Information Processing Systems 28.Influential Google paper on production ML maintenance problems that motivated MLOps; it does not coin the term, so the true origin is diffuse.View source: Hidden Technical Debt in Machine Learning Systems (opens in a new tab) ↗
Shankar, S., Garcia, R., Hellerstein, J. M. and Parameswaran, A. G. (2022). Operationalizing Machine Learning: An Interview Study. arXiv.Interview study of 18 ML engineers that documents pain points and anti-patterns in MLOps practice; an empirical evaluation of the practice rather than a rejection of it.View source: Operationalizing Machine Learning: An Interview Study (opens in a new tab) ↗