Skip to content

ML model monitoring

We monitor models in production for drift and performance, using one approach across all models. We built a monitoring package like this for Rijkswaterstaat.

We developed a general-purpose monitoring package for all of Rijkswaterstaat's models

"DSL came up with an inventive solution that we can put to good use." Nanine Overgaauw, SRE Data Science, Rijkswaterstaat

Read the case study

How do we know if our model still predicts as well as it did when it went live?

A model learns from historical data. When the world changes, so do its inputs, and its predictions become less accurate without anyone noticing. Monitoring catches this in time, so you can intervene before it affects decisions.

Book a call

Four signals we monitor for every model

Discuss your models

Input quality

Missing values, new categories or a column that suddenly stays empty. Often the first cause of poor predictions.

Data drift

The distribution of input data shifts relative to the training data, as in the drift and outlier detection we built for Rijkswaterstaat.

Prediction drift

The model starts making different predictions: more of one outcome, higher or lower scores. This is a signal even when the actual outcome is not yet known.

Performance

Once the actual outcome is known, we compare it with the prediction and track accuracy over time.

From the first model to monitoring for every model

  1. Baseline assessment

    For each model: what constitutes normal input, what performance is required and when the actual outcome becomes known.

  2. Thresholds and alerts

    A threshold for each signal, an alert to the owner and an agreed course of action.

  3. One approach

    Monitoring as a reusable component, so every new model has it from the moment it goes live.

Is monitoring worthwhile with just a few models?

Find out in a conversation

A good fit if

You have models in production that decisions depend on, but no one currently knows whether they still work properly. Or your number of models is growing and manual checks don’t scale.

Not a good fit if

You don’t yet have a model in production. Start by getting a model into production; add monitoring when the first one goes live.

What determines the scope

The number of models, how often they make predictions, when the actual outcomes become known, your platform, and whether you want alerts only or management as well.

Will this generate too many alerts?

That can happen when thresholds are too strict. So we set them according to each model’s normal variation and refine them during the initial period.

Monitoring on your platform, a specialised tool or your own package?

Monitoring on your platform

Choose this if your models run on a single platform with built-in monitoring, such as Databricks or Azure Machine Learning.

A specialised tool

Choose this if you have many models in different places and want a ready-made overview, with an additional licence.

Your own package

Choose this if your models differ and you want a consistent approach in your own code. We recommend this if the platform doesn’t cover everything.

We keep models running after delivery

Data Science Lab has worked with data and AI since 2016, as a Microsoft Partner and Databricks Partner. We monitor and manage AI solutions so they continue to perform reliably after delivery.

Book an introductory meeting

Bring your list of production models to the first meeting

Stef Stoelwinder

Stef Stoelwinder

Business Development

Stef is your point of contact. In the first meeting, we’ll look at which models are running and what’s currently being monitored.

Which models are you running in production?

Describe your models, your platform and what you’re currently monitoring. We’ll reply by email, or we can arrange an initial conversation.

Enter a valid email address.

Let us know how we can help you.

Frequently asked questions

It means continuously monitoring machine learning models in production: whether the input still resembles the training data, whether predictions are changing and whether the model is still performing well enough.

It is part of MLOps, the approach used to keep models reliable in production.

With data drift, the input changes: different customers, different weather, different sensors. With concept drift, the relationship between input and outcome changes: the same input now means something different.

You can see data drift directly in the input. Concept drift often only becomes apparent when the actual outcomes come in.

By comparing the distribution of recent inputs or predictions with a reference, usually the training data. Statistical tests and measures for this include the Kolmogorov–Smirnov test and the population stability index.

Libraries such as Alibi Detect and Evidently can help. We explain the technique in our blog post on model monitoring.

You start with signals that are available immediately: input quality, data drift and prediction drift. Once the outcomes come in, you measure actual performance and review what happened.

For long-term predictions, we schedule that review in advance.

The model owner investigates the cause: an error in the data feed, a real-world change or a problem with the model. The next step is to fix the data, retrain the model on recent data or revert to a previous version.

We document who does what for each model.

Sometimes. For models that become outdated quickly and are thoroughly tested, retraining can happen automatically on a set schedule or when drift is detected. Even then, a new model only goes live after undergoing the same evaluation as the previous one.

For models with significant consequences, a person decides when to retrain.

Differently from traditional models: you track answer quality against a test set, user feedback, the proportion of questions without a good answer, cost per question and response speed.

When the provider releases a new model version, you run the test set again.

For high-risk AI, the Act requires, among other things, post-deployment monitoring and logging. Monitoring provides the data for this.

Your legal adviser determines which obligations apply to your use case; we make sure the technology can provide the evidence.