What is MLOps (Machine Learning Operations)?
MLOps is the discipline that manages development, validation, deployment, monitoring and retraining of machine learning models with software engineering and operations practices, automation and cross-team collaboration.
It differs from DevOps in that more than code is managed: MLOps versions data, feature definitions and model weights alongside code and needs continuous monitoring because models can degrade as data changes. Large Language Model Operations extends MLOps with the prompt, evaluation and cost needs specific to large language models.
- Topic
- Infrastructure and runtime
- Also known as
- ML operations, ML Ops
- Origin
- 2015, Sculley et al. (technical debt debate)
How MLOps (Machine Learning Operations) works
- Code, training data, feature definitions and model weights are versioned together for reproducibility (model versioning, model registry).
- Training and validation pipelines are automated; each model passes data, performance and security tests.
- The approved model is deployed in a controlled way and rolled back if problems arise.
- Production performance and data distributions are monitored (model monitoring); drift triggers retraining or rollback.
In more detail
Data drift, concept drift and training-serving skew
Production models rarely fail like crashing software; instead they degrade silently through data drift (changes in input feature distributions), concept drift (changes in the relationship between inputs and targets) or training-serving skew (inconsistent preprocessing or feature computation between training and inference). Detecting these early requires logging feature statistics and comparing them against baseline distributions alongside delayed ground-truth labels.
Experiment tracking, feature stores and lineage
Reproducibility across teams relies on three interconnected stores: an experiment tracker (recording hyperparameters, metrics and code commits), a feature store (providing consistent point-in-time feature definitions for both batch training and low-latency online inference) and a model registry (tracking staged transitions from development to staging and production with full data/code lineage).
MLOps maturity levels and continuous training
Industry frameworks (such as Google's MLOps maturity model) distinguish Level 0 (manual script-driven training and handoffs), Level 1 (automated continuous training pipelines triggered by new data or drift) and Level 2 (full CI/CD/CT automation where pipeline code itself is tested, built and deployed automatically). Identifying the organisation's target maturity prevents over-engineering small workloads while supporting governance for critical systems.
Shadow and canary rollout, LLMOps and AgentOps extensions
Safe model rollout uses progressive delivery patterns rather than instant cutovers: shadow deployments mirror live traffic to a candidate model without affecting users, while canary releases route a small percentage of traffic to verify latency, GPU memory and accuracy metrics before full promotion. For LLMs and agents (LLMOps and AgentOps), deployment gates also evaluate prompt/RAG regressions, guardrail trigger rates and token cost per task.
Commonly confused terms
| Term | How it differs |
|---|---|
| MLSecOps | MLOps focuses on reliability, reproducibility and operational velocity of ML lifecycles, whereas MLSecOps embeds threat-specific security controls (poisoning detection, signed model registries, red teaming) into every MLOps stage. |
Why MLOps (Machine Learning Operations) matters for on-premises AI
Training and running a model once is easy; the hard part is keeping performance as data changes and keeping every change traceable. Audit wants version history, data used and change rationale for each model as evidence; MLOps records provide it. It moves models built on in-house servers from experiment to reliable, auditable production services. With security controls added to the pipeline it is called Machine Learning Security Operations.
A manufacturer runs the vision model in its quality control cameras through MLOps; every update passes automated tests and production rolls back to the previous version when performance drops.
Common questions
How does MLOps differ from DevOps?
DevOps manages versioning, testing and deployment of software code. MLOps adds data and model versioning, model validation and monitoring of performance that degrades as data changes.
Is MLOps only for large teams?
No. It can be small, but versioning, testing, monitoring and rollback bring auditability and reliability even for one model.
Related terms
- Large Language Model Operations
- Model deployment
- Model monitoring
- Model registry
- Model versioning
- Machine Learning Security Operations
- Model rollback
- Model drift
Sources
- Kreuzberger, Kühl and Hirschl, Machine Learning Operations (MLOps): Overview, Definition, and Architecture, IEEE Access 2023
- Sculley et al., Hidden Technical Debt in Machine Learning Systems, NeurIPS 2015
- Breck et al., The ML test score: A rubric for ML production readiness and technical debt reduction, IEEE Big Data 2017
In the glossary: Glossary, M to Q