A model degrades differently from ordinary code: the input data changes, and predictions lose accuracy without a single edit. MLOps brings DevOps automation into machine learning — versioning, testing, continuous delivery, monitoring — and adds dataset and model versioning, regular retraining and quality tracking.
What goes into the pipeline
| Stage | What happens |
|---|---|
| Data | collecting and validating data quality, dataset versions, features and their schemas |
| Training | running experiments while recording parameters and metrics, so that the result is reproducible |
| Evaluation | testing the model on held-out data and comparing it with the current one before deployment |
| Deployment | serving the model as a service or updating the model inside an application |
| Monitoring | tracking prediction quality, input data and service performance |
| Retraining | automatically starting a new training run in response to a trigger — a schedule, a degrading metric, new data |
Maturity levels
Google describes three levels of MLOps maturity. At level 0 everything is done manually: a data scientist trains a model in a notebook and then deploys it to production themselves; the process is not reproducible and breaks quickly. Level 1 adds an automated training pipeline: every run collects the data, trains and validates the model following the same steps. Level 2 is a full CI/CD pipeline: new data, training code and serving code are tested and deployed automatically.
Data drift
The main reason a model needs its own monitoring is drift: the distribution of real-world data changes after the model has been trained. For example, a model forecasts demand, and then a new competitor enters the market or an exchange rate changes — the statistics of the inputs drift away from what the model saw during training, and accuracy falls without a single change to the code. That is why MLOps involves tracking quality metrics and feature distributions and setting up automatic retraining or alerts.
Sources
the term is written from these pages- Google Cloud — MLOps: Continuous delivery and automation pipelines in machine learningcloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning(opens in a new tab)
- Microsoft Learn — MLOps (DevOps for Machine Learning)learn.microsoft.com/en-us/azure/machine-learning/concept-model-management-and-deployment(opens in a new tab)
Verified 9 Nov