PRACTITIONERCHAPTER 09

Monitoring models and drift

Launch is when ownership starts: what a data scientist watches in a live model, who answers each alert, and when retraining is the wrong first move

45 MINDATA AND MLUPDATED 2026-11-21
PREDICT

Roya's team sends a bonus-data offer to the 100,000 subscribers the churn model scores highest each week. At launch, in a back-test before any offers, 30,000 of those 100,000 went on to churn. The offer works: it keeps half of the people who would have left. Six months later Sewa recomputes the model's precision in its top 100,000 from the labels. The model has not changed and ranks subscribers as well as ever. What does she see?

A model in production is a service that makes decisions, and like any service it has an owner. This chapter is about being that owner as a data scientist. The arithmetic of drift is not here: model risk teaches the population stability index, the two kinds of drift and the back-test on a credit model, and governing AI credit models builds the monthly monitoring job and its change records. Read those for the mechanics. This chapter takes the same ideas to a different model, a churn model, and asks the questions the job puts to you: what do you promise at launch, what do you watch, who answers when it moves, and when do you retrain. The previous chapter in this track, taking a model from notebook to production, ends at launch. Here the work starts. If the model you own is a hosted language model rather than one you trained, the problem differs, and monitoring quality in production in the AI Engineer track covers it.

Four ways a live model goes wrong

When a monitored number moves, the useful first question is which of four things happened. They need different responses.

  1. The data is broken. A pipeline stops populating a feature, a join drops rows, an upstream team renames a column. Nothing about the world changed. The model is being fed nonsense, and the fix is in the pipeline. The Rules of Machine Learning guide makes the standard defence: log the features the model saw at serving time and train from that log, so that training and serving cannot quietly disagree.
  2. The population moved. The mix of people changed (a new region, a promotion that brought in a new kind of subscriber) but a given input still means what it meant. The model is being asked about people it saw little of. Lending’s model-risk chapter calls this population drift.
  3. The meaning of an input moved. The population may look similar, but how inputs relate to outcomes has changed. Lumora’s tariff is this case. Under pay-as-you-go, “days since last recharge” climbing past 30 was a strong sign of leaving. Under a monthly bundle, 30 days is the ordinary gap. The feature has the same name and a different meaning, and the model is confidently wrong in a way no input chart will show you directly. Model risk calls this concept drift.
  4. The model changed the world. The flags trigger offers, offers change who churns, and the next batch of labels reflects the offers as well as the subscribers. Predict showed the effect on measured precision. In their paper on hidden technical debt in machine learning systems, Sculley and colleagues list hidden feedback loops among the risks that make machine-learning systems costly to maintain, a point the reading covers.

A fifth is easy to forget: the use changed. The campaign team starts sending the same offer to a segment the model was never tested on. The model is unchanged and the model card, which comes next, is now wrong.

Only the first is a bug in the usual sense. The first two are often found by inputs monitoring. The third and fourth are the ones that do the most damage, because every dashboard stays calm.

The promise: a model card

A monitoring plan needs something to measure against, and the best thing is a written promise made at launch. Mitchell and colleagues proposed model cards: short documents that travel with a trained model and report how it was evaluated under a variety of conditions. Their examples are about image and text classifiers and group fairness; for a data scientist who owns a business model the idea carries over directly, and the card in this chapter’s artefact adapts it. A card is a document, not a tool. It answers six things.

Section The question it answers Example, Lumora’s churn model
Use What decision does this feed, who owns that decision, and what is it not for? Picks 100,000 prepaid subscribers a week for a retention offer. Not for credit, not for disconnection decisions
Data and label What was it trained on, and how is the outcome defined? Twelve months of prepaid history; churned means no recharge or chargeable use for 90 days
Evidence at launch How well did it do, against what, on which slices? Precision in the top 0.5% was 30% against a 6% base rate, about five times better than choosing at random
Known weak spots Where is it worse, and where was it never tested? New subscribers under 60 days; business lines; any tariff other than pay-as-you-go
Watching What is monitored, by whom, and what do the alerts do? The plan below
Retirement What would make you switch it off or fall back to a rule? Measured lift below 2 in the holdout for two readings in a row

The card matters because it turns “the numbers moved” into “a promise may be broken”. The tariff change is a breach of a line already written: the card says the model was only tested on pay-as-you-go. Without it, the first meeting about the alert is about whether an alert is worth discussing.

What you watch, and which clock it runs on

The structure is the one in governing AI credit models: some signals are known the day a subscriber is scored, others arrive months later, and the report must say which clock each number comes from. Here is how it looks for the churn model.

Layer What you measure Known when Owner and response
Pipeline Feature freshness, null rate per feature, scored volume against last week At scoring Data owner. A break that feeds nulls into a live campaign is a page
Inputs Drift of each feature and of the score against the training population At scoring You. A ticket, answered within the working week
Outputs Share flagged, score distribution, who gets flagged by region and tenure At scoring You. A ticket
Early outcome A fast stand-in for churn, such as a lapsed bundle not renewed Weeks You, with the retention team
Outcome The 90-day label: precision in the flagged group, calibration 90 days or more You, reviewed monthly with Roya
Business Saves against the holdout, offer cost per save Weeks to months Roya, with you

Two points about the table. First, who is paged. The alert-design chapter in the observability course sets the rule: page only for what is urgent, actionable by the person woken and real. A drift alert on a churn model is none of these at 03:00. Nobody can be hurt in the next hour by a shifted feature. It is a ticket with an owner and a date. The pipeline row is different: if a feature turns to nulls the model will rank on noise, and the offers go to the wrong people on Monday morning. Page that.

Second, the early outcome can break too. Under pay-as-you-go, the team used “no recharge in 30 days” as an early read on churn, because it was known a third of the way through the 90-day window. Under monthly bundles, nearly every subscriber recharges about every 30 days, so the stand-in is silent noise. A fast label depends on the same behaviour the tariff changed. After the change it has to be redefined, for example as a bundle that has lapsed and not been renewed after 14 days, and checked against the 90-day label when that arrives.

Retraining is a decision, not a button

The usual question is how often to retrain. It is better to ask what you would be training on. Four policies are common, and each is right somewhere.

Policy Right when How it fails
Calendar (every month) Labels arrive within days, retraining is automated and checked, and the world drifts steadily Each new model absorbs the drift, so the monitor’s baseline moves with it and a slow change never alarms. Every retrain is also a change to a live decision and needs its record and review
Drift-triggered The cause of a shift can be named, and the response differs by cause Too many alerts if thresholds are set on every feature, and a retrain started before post-change labels exist trains on the old world
Both Retraining is cheap and automated, and a missed shift is costly Combines the costs, and the monthly part still hides slow drift
Outcome-triggered Alerts are noisy, labels are fast, or the decision is low stakes With a 90-day label you learn of a failure up to three months after it began

An alert should start a short, bounded check, not a retrain. Many teams use a rule of thumb of one to two working days. The check asks four things in order.

  1. Is it the data? Look at null rates and freshness first, because this is the cheapest explanation and the one that needs no model work. If a column changed upstream, fix the pipeline and re-score. The lesson on data leakage shows the neighbouring trap: a feature that is built differently in training from the way it will be at serving.
  2. What happened in the world? Ask the business before the data. A tariff change, a promotion, a new region and a competitor’s launch are all things someone in Lumora knows about and the data team does not. A fifteen-minute call with Roya’s team often finds in minutes what a week of plots would not.
  3. Did the meaning move, or only the mix? Compare the early outcome with the score for the people scored since the change. If those flagged now lapse at about the old rate, the model is probably still sound. If they lapse far less often, it is ranking on a signal that no longer carries the old meaning.
  4. What is the cheapest safe response? Retraining is the heaviest option. Lighter ones come first: reduce the number of offers until you know more, drop or rebuild a feature whose meaning changed (a gap in days since the bundle expired, not since the last recharge), recalibrate the cut-off, or fall back to a simple rule for the affected segment. The model card’s retirement line says when to go back to the rule.

For Lumora, the retrain that fixes a tariff change cannot start from the 90-day label: the first post-change labels for scores made on 1 October arrive on 30 December. Start from the redefined early outcome, train a candidate on that, and confirm it against the 90-day label when it arrives. Retraining on drift alerts then means retrain when the check names the cause, with the labels the new regime can supply. It does not mean retrain on every alert. Each retrained version also needs a change record with before and after results on the same subscribers and a rollback, as in governing AI credit models.

When the model changes what it measures

Predict showed why the offer lowers the model’s measured performance. The remedy is the oldest one in the discipline: a randomised control. Hold out a small share of the flagged subscribers at random, say 5% of the 100,000, and send them no offer. Their churn rate is the model’s true precision. The gap between them and the treated group is the offer’s effect, which is what Roya’s team pays for. This is an experiment, and the design questions (size, duration, a readout nobody can argue with) are in metrics and experiments.

The holdout has a price. At 5,000 subscribers a week, 30% of whom would churn, and an offer that keeps half, about 750 subscribers a week who could have been kept are not (5,000 × 0.30 × 0.5). Write that cost down and have the retention lead agree to it before launch. It is easy to cancel a holdout in a bad quarter, and the model’s quality can no longer be known the day it is.

Where practitioners disagree

Schedule or signal. Some teams retrain on a calendar because it is simple, it keeps the model fresh and it needs no judgement. Others argue that a calendar hides what changed and that a retrain should have a reason. Both are defensible. Calendar retraining fits a fast label and a cheap, tested pipeline. A signal fits a slow label or a costly review. Huyen’s chapter on distribution shifts and monitoring treats the choice as a trade-off, not a rule.

Monitor inputs or only outcomes. Input monitoring fires early and often, and a team with fifty features and no discipline gets fifty alerts a month and ignores them. Outcome-only monitoring is quiet and slow. A middle course many teams use: watch the score and a handful of the most important features, treat every other feature as a dashboard panel, and use the early outcome as the arbiter.

Who owns the model. One view says the person who built it runs it, so they feel the consequences. Another puts a platform or machine-learning engineering team in charge of the serving side and leaves the scientist with quality. Whichever you pick, the card names one owner for quality and one for the pipeline. Two people who each assume the other has the alert is the common failure.

Day to day

The work is mostly small, regular and not exciting, which is the reason it gets skipped.

Daily, the pipeline checks run themselves. You read nothing unless one pages. A few minutes at most, first thing, if the weekly scoring ran the night before.

Weekly, after the Monday scoring you spend about thirty minutes on the monitoring view: drift tickets, the early outcome, the share flagged and who. New tickets get an owner and a date. Close or escalate last week’s.

Monthly, you sit with the retention lead for the outcome review: precision against the holdout, offers per save, anything that changed in the business. This is the meeting that finds a tariff change before the data does, if you ask “what is Lumora launching?” at every one.

Quarterly, re-read the model card. Is the use the same? Is the evidence at launch still the evidence you would show today? Does the retirement line still make sense? Decide whether to refresh, rebuild or retire.

On demand, when an alert opens, you run the four-step check inside the time box and write down what you found, even when it is “false alarm”. Closed tickets are the evidence that the monitor is worth keeping. A team that closes tickets without a note cannot tell next year which alerts were useful.

Before any business change you hear about, ask whether the model has seen it. A new tariff, product or region is the cheapest way to learn of drift, and it arrives weeks before any metric.

BY ORG SIZE
STARTUPunder 30 people

There is one model, perhaps in a notebook run on a schedule, and the person who built it is the only monitor. A model card is a page in the repository and the plan is three checks: nulls, volume and a weekly look at the score. You will not afford a holdout for every campaign, so choose the one decision where being wrong costs most and hold out there. The biggest risk is not drift. It is that the person leaves and nobody knows the model is running.

SCALE-UP30 to 300

Several models serve several teams, and the first one has already gone wrong without anyone noticing. This is when a shared template for the card and a monitoring view pay off, and when ownership gets written down: a model with a business owner and a named scientist. Expect pressure to automate retraining before you have worked out when it should happen. Resist it until each model’s alerts have an owner and a response.

ENTERPRISE300 and up

There is a machine-learning platform, a model inventory and often a risk or governance function that asks for the card. The job becomes persuading each business owner that the plan is worth their time, and keeping the number of alerts a person can answer. Changes need review and records, and a tariff change can reach the data team late through three layers of process. Build the monthly conversation with the business into the calendar, because nobody will forward the news.

ARTEFACT Write the model card and the monitoring plan ~50 MIN
YOU PRODUCEA one-page model card and a monitoring plan

Template

# Model card and monitoring plan: <model name, version>
Owner (quality): <name>. Owner (pipeline): <name>. Business owner: <name>. Date: <date>

## Use
Decision it feeds: <what, for whom, how often>
Not for: <uses it has not been tested for>

## Data and label
Trained on: <population, period>
Label: <definition, and how long it takes to be known>

## Evidence at launch
| Measure | Value | Baseline | Slice |

## Known weak spots
<where it is worse, and where it was never tested>

## Monitoring
| Layer | Measure | Rule and level | Clock | Owner | Page or ticket |

## Retraining policy
Trigger for a check: <alert or event>. Check time box: <days>.
Check order: data, world, meaning, cheapest safe response.
Lighter responses: <list>

## Holdout
<share, selection, cost per week, who agreed>

## Retirement
Switch off or fall back to <rule> when: <condition>

## Review
Next card review: <date>. How this card could be wrong: <one way, and the signal>
WORKED EXAMPLE

Lumora Mobile, prepaid churn model v3, written by Sewa for Roya’s team on 14 September 2026 (figures illustrative).

Use. Picks 100,000 of about 20 million active prepaid subscribers each Monday for a bonus-data offer costing ₦150 each (₦15m a week). Not for credit, disconnection or pricing.

Label. Churned means no recharge and no chargeable use for 90 days after the score date. Known 90 days later. Base rate 6%.

Evidence at launch. Precision in the top 100,000 (0.5%) was 30%, against a 6% base rate: lift 5 (back-test on scores made 1 March to 30 May, labels matured 30 August; query churn_backtest_v3). Weak for subscribers under 60 days and untested on any tariff except pay-as-you-go.

Monitoring. Pipeline, null rate above 2% on any feature: page the data owner. Inputs, PSI of the score and the six largest features each Monday: amber 0.10, red 0.25, a ticket for Sewa within five working days. Early outcome: a 30-day no-recharge rate in the flagged group, weekly. Outcome: 90-day precision against the holdout, monthly with Roya.

Retraining. An amber or red alert starts a two-day check: data, world, meaning, then the cheapest safe response. Lighter responses: cut offers to 50,000, rebuild a feature, fall back to the rule “no recharge in 45 days”.

Holdout. 5% of flagged, 5,000 a week, no offer. Costs about 750 kept subscribers a week; Roya agreed on 11 September.

Retirement. Fall back to the rule if holdout lift is below 2 on two readings in a row.

Could be wrong. Everything rests on pay-as-you-go. A change of tariff would show first as a drift alert on recharge frequency.

Now you

You are the data scientist at Ojaline who owns the delivery-time estimate shown to buyers at checkout. It launched in June with a median absolute error of 11 minutes; the rule it replaced missed by 14 and the target is under 10. The delivery completes within hours, so the true time is known the same day. Median absolute error since launch: June 11.0, July 11.2, August 11.1, September 12.4, October 13.6 minutes. In September the delivery fleet began carrying up to two orders per rider in three cities, which lengthens some trips. On 20 September the rider-count-nearby feature began arriving empty more often: its null rate rose from 2% to 9%. Nothing alerted, because no monitoring existed. The head of data asks for a model card and a monitoring plan by Friday. Write them. Decide which alerts page, what the check order is, and what to do first about the 9% nulls.

Self-check

DECIDE

Lumora Mobile, six weeks after the 1 October tariff change. Sewa's drift monitor has been red on recharge frequency since 8 October (PSI 0.41) while the score's PSI is only 0.06. The 90-day labels for scores made after the change first arrive on 30 December. Each Monday's offers cost about ₦15m, and Roya wants to know whether to keep sending them. Retraining and its review take about eight working days. What retraining policy does Sewa propose for the churn model?

READING
  1. PAPER
    Model Cards for Model Reporting Margaret Mitchell and eight co-authors, 2019

    The source of the model card. Its examples are image and text classifiers, so adapt the idea to a business model as this chapter does, and keep the habit of stating intended use and what the model was never tested on. Read: The whole paper; read the proposal for what a card reports and the two worked example cards.

  2. PAPER
    Hidden Technical Debt in Machine Learning Systems D. Sculley and colleagues, 2015

    Names the feedback loops and undeclared consumers that make a model's own effects invisible in its monitoring. Read it before you design a holdout. Read: The section on hidden feedback loops and undeclared consumers.

  3. POST
    Data distribution shifts and monitoring Chip Huyen, 2022

    The author's free notes on the topic of chapter 8 of Designing Machine Learning Systems: types of shift, and monitoring predictions, features and raw inputs. Read it for the vocabulary of shift and how monitoring differs from observability.

  4. PAPER
    The ML Test Score: A Rubric for ML Production Readiness and Technical Debt Reduction Google researchers, including D. Sculley, 2017

    A checklist of 28 tests and monitoring checks drawn from production systems. Use it to audit your own monitoring plan for gaps. Read: The abstract, then the monitoring tests in the rubric.

  5. DOC
    Rules of Machine Learning: Best Practices for ML Engineering Martin Zinkevich, Google

    A numbered set of practical rules. Read the ones on logging serving-time features for training, and on testing the infrastructure separately from the model, before you debug a drift alert.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Data quality and trust →