Skip to content
GabineteTools for thinking

No. 0984Workflow and delivery

MLOps (Machine Learning Operations)

Kreuzberger and others

Wooden and brass apparatus: Amber paper sheets that are deformed activate a calibrator; a press cuts out a new bluish green template along with saved versions.

The table / Model card · No. 0984 · Workflow and delivery

MLOps (Machine Learning Operations)

Applying DevOps practice to machine learning: versioned data and models, automated training and deployment, and monitoring in production.

The essentials

What it is

What it solves

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

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.

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.

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

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
  1. Version data and code

    Track datasets, features, code and parameters so any model can be reproduced.

  2. Automate training

    Script data preparation, training and tuning in a repeatable pipeline.

  3. Build CI/CD for models

    Test, validate and deploy models automatically with quality gates.

  4. Monitor in production

    Track accuracy, data drift and system health and set alert thresholds.

  5. 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 diagram
Decision stage
Plan the work, roles and deadlinesalso: generate ideas or options (34 %)
What it applies to
Processes and operations
Discipline
Agile and software development
What it produces
A map of relationships, flows or causes

IIIResources required

  • TimeWeeks or months
  • PeopleA small group (2 to 8)
  • DataQuantitative analysis
  • ExpertiseWorks best with a facilitator
  • Time horizonBetween “a few months” and “one to three years”
  • ScopeA unit or department
  • FrequencyA regular practice
The team’s own knowledge is enough

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downmixedBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstAct now

IVUseful when

  • Our projects keep running late or going over budget
  • We make too many mistakes, or one mistake could be very costly

Applicable traits

  • How it supports actionDecide what comes first
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.

How it works →

Thinking space

Workflow and delivery

They organize and accelerate day-to-day delivery: Kanban, DevOps, development cycles, automation and work standards.

Membership: 37 % · also “Organisational transformation” (12 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. 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) ↗

Key development

  1. Cloud, G. (n.d.). MLOps: Continuous delivery and automation pipelines in machine learning. Google Cloud Architecture Center.Google's widely cited reference describing MLOps levels 0-2 (manual process to automated ML and CI/CD pipelines).View source: MLOps: Continuous delivery and automation pipelines in machine learning (opens in a new tab) ↗
  2. Kreuzberger, D., Kuhl, N. and Hirschl, S. (2022). Machine Learning Operations (MLOps): Overview, Definition, and Architecture. arXiv:2205.02302.Literature, tool and interview based definition of MLOps.View source: Machine Learning Operations (MLOps): Overview, Definition, and Architecture (opens in a new tab) ↗

Critique

  1. 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) ↗

Practical guide

  1. contributors, W. (n.d.). MLOps (Wikipedia). Wikipedia.Overview of MLOps; notes the 2015 paper that highlighted the maintenance challenges.View source: MLOps (Wikipedia) (opens in a new tab) ↗

Wikipedia article (opens in a new tab) ↗