View all glossary terms

Adoption and operations

MLOps Explained: The Framework for Continuously Operating Machine Learning Models, Complete Guide

KDLPublished

MLOps (Machine Learning Operations) is an operating methodology that systematically manages the whole process of a machine learning model, from development through training, validation, deployment, monitoring and updates. The core is not stopping at deploying a model once. It is keeping the performance up in a real environment and improving it continuously as things change.

A Model Must Be Managed After Deployment, Too

Building a good model and running a good model over time are different problems.

In machine learning projects, a model that showed high accuracy during development cannot be guaranteed to keep the same performance once it is applied to a real service.

Over time, the characteristics of the input data can change. New types of data may be added, or the business criteria may change. Patterns that did not exist at training time may appear repeatedly in the real environment.

As these changes build up, a model can look like it is working normally while its real accuracy slowly falls.

The problem grows when you run several models rather than one. You need to manage which data each model was trained on, which model is currently deployed, whether a new version actually performs better than the previous one, and which version to roll back to when something goes wrong.

MLOps is the system that connects machine learning development with real operation.

Precise Definition of MLOps: How It Differs from DevOps

DevOps and MLOps, the Objects of Management Differ

DevOps and MLOps are similar in that both reduce the gap between development and operations and automate repetitive work.

However, machine learning systems have more objects to manage than ordinary software does.

First, managing code alone is not enough. A machine learning model's results depend on the data it was trained on. So you need to manage the training data and its versions together with the source code.

Second, the model itself is an object of management. You need to track when a model was trained, what performance was recorded for it, and which version is currently serving.

Third, performance must be evaluated during operation too. It is not enough to check that the system runs. You also need to check that the model's performance holds on real input data.

Fourth, there is a retraining process. When the characteristics of the data change significantly or the model's performance falls below a standard, it may be necessary to retrain on new data, validate it, and deploy again.

In short, DevOps builds an operating system centered on software code and its deployment, while MLOps adds data, models, training and evaluation to that system.

Four Functions That Make Up MLOps

Manage Everything from Data to Post-Deployment

First, data management.

Record which data was used for model training and evaluation, and manage its versions. When data changes, you should be able to trace which models' results were affected.

Second, model and experiment management.

Record the model, parameters, data and performance metrics used for training together. Manage it so you can confirm which of the many experiments passed the real deployment criteria.

Third, deployment and version management.

Deploy a validated model to the real service environment and manage the versions of the models in operation. A structure is also needed that lets you return to the previous version if a new model causes a problem.

Fourth, monitoring and retraining.

Continuously check the changes in input data and model performance in the operating environment. When a drift in the data distribution or a drop in performance is confirmed, judge whether retraining and redeployment are needed.

These four processes need to be connected so that the model can be managed as one repeatable flow, from development to real operation.

Practical Application of MLOps

Record the Relationship Between Training Data and Models

To reproduce a model's results, you need to be able to tell which model was built from which data.

Linking the dataset version to the model version makes it easier to tell whether a change in a new model's performance comes from the data or from the model itself.

It is also important to record the training conditions and evaluation results for each model.

Set Pass Criteria Before Deployment

A newly built model is not applied to the operating environment right away.

Compare its performance with the existing model on the same evaluation data, and check whether the metrics that matter for the real work, such as accuracy, processing speed and error rate, meet the criteria.

Even if some metrics of the new model improve, it may be hard to replace the old one immediately if errors have increased in a particular task.

For this reason, it is good to decide in advance which conditions must be met before deployment.

Monitor Changes in Models in Operation

After deployment, do not just check whether the model runs normally. Check the quality of its results too.

One representative change is data drift. This is when the distribution of the actual input data differs from what it was when the model was trained.

For example, if a particular document form or data type suddenly increases, the existing model may not have learned that pattern well enough.

Checking these changes regularly lets you catch problems before performance drops sharply.

Be Able to Roll Back When Something Goes Wrong

In MLOps, version control is not just a feature for keeping records.

After deploying a new model, if an unexpected problem occurs, you must be able to return to the previous model. Tracking not only the model but also the data and settings it used makes it easier to find the cause.

Recording who deployed which model, when, and what changed also makes the change history of operations easier to review.

MLOps and VLMOps

MLOps is the concept that covers the training, deployment and monitoring of machine learning models in general.

VLMOps applies this operating concept more specifically to vision-language models and the document AI environment.

In document AI, not only the model itself but also the schema that defines which items to extract, natural-language instructions, validation criteria, and changes to document forms all affect operations.

In particular, when a new document form or extraction item is added, the model does not necessarily have to be retrained. There are areas where you can respond by adjusting the extraction criteria or the schema without changing the model parameters.

So where MLOps centers operations on training and deployment of models, VLMOps extends into managing operating criteria, evaluation and change history together, so that document AI keeps responding to real changes in work.

MLOps in the Korean Enterprise Environment

When applying MLOps in a company, you need to consider the operating environment as well as model performance.

In environments such as finance and the public sector, where the use of external clouds or the export of data is restricted, training data, models and operating logs may need to be managed within internal infrastructure.

In that case, a structure is needed that can carry out model development, deployment and monitoring inside the internal environment.

It is also important to be able to record who reviewed and approved which version each time a model changes, so that the change history of operations is easy to trace.

Frequently asked questions

Will adopting MLOps make my model improve automatically?

No. MLOps is not a technology that automatically raises a model's performance. It is a system that makes the development, validation, deployment and monitoring of a model repeatable. It helps you find when a model needs improvement and makes the necessary work easier to carry out.

Do I need MLOps if I have only one model?

It is not necessarily only for large-scale systems. Even one model that you update and operate continuously benefits from a system that manages data and model versions and evaluation results. How much is needed depends on the scale of operation, however.

Are MLOps and DevOps the same concept?

They are not quite the same. DevOps centers on the development and deployment of software code, while MLOps adds machine learning data, models, training and performance evaluation on top of that.

How often should I retrain a model?

There is no fixed cycle. It is common to check changes in input data and actual model performance and then decide whether to retrain. Retraining is not necessarily required just because a certain period has passed.

What is data drift?

It is the phenomenon where the characteristics of the data coming into the operating environment differ from those at the time the model was trained. If the data distribution changes significantly, it can affect model performance, so continuous monitoring is needed.

What is the most important thing to manage in MLOps?

Training data, model versions, evaluation results and the deployment history. You should be able to trace which data and settings were used to build a model, and which evaluation it went through before a given version was applied in operation.

How do MLOps and VLMOps differ?

MLOps is the operating system for machine learning models in general. VLMOps focuses on the operating elements that document work needs in vision-language models and the document AI environment, such as extraction criteria, schemas, evaluation documents and change history.

Managing models, data and deployment as one system helps you respond faster to model changes and performance drops.

Contact us