3 min read

Five checks that catch model drift before your customers do

Model drift monitoring for production computer vision: the five checks that find degradation early, and the one that sounds smart but isn't.

A model that passed every test at launch will get worse. Not because the code changes, but because the world does. Seasons change, cameras get dirty, a customer starts photographing something new. If the first sign is a complaint, you're late.

I've run computer vision in production on physical cameras for years. These are the five checks I'd put in place on any model before I trusted it unattended.

1. Watch the inputs, not just the outputs

Drift usually starts upstream. Track simple statistics of what's coming in: image brightness, blur, resolution, the proportion of near-empty frames, the file format mix. A new camera model, a firmware update or a lens obscured by dirt shows up here long before accuracy visibly moves.

These checks need no labels. They're cheap and they run on everything.

2. Watch the distribution of predictions

If the model suddenly predicts one class twice as often as last month, or its average confidence slides down, something changed. Either the world did or the model's grip on it did. Track class frequencies and confidence histograms over a rolling window and compare to a reference period.

This is also label-free. It can't tell you what's wrong, only that something is, which is exactly what an alert needs to say.

3. Keep a golden set and run it constantly

A fixed collection of examples, hand-labelled, with hard cases included, that you run through the current model on a schedule. Any drop is real, because the data didn't change. This is how you separate "the model regressed" from "the world drifted."

Grow the set from production failures. Every error a customer reports earns a place in it.

4. Slice your metrics

An overall accuracy of 96% can hide one site at 70%. Break metrics down by the dimensions that matter: location, camera, time of day, class, customer. Averages are where regressions hide. If you only watch one aggregate number, you're watching the number least likely to move.

5. Sample for human review, on a schedule

Labels arrive slowly in most real systems, sometimes never. So create them: pull a small random sample every week, have someone review it, and track the error rate. Sample a bit more from the low-confidence band, because that's where mistakes cluster.

It's unglamorous and it's the only check that measures what you actually care about.

The one that sounds smart and isn't

Retraining on a schedule, automatically, as a substitute for monitoring. It feels like a safety net. In practice it can quietly bake in a drift or a labelling mistake, and replace a model you understand with one you haven't evaluated. Retrain because a check told you to, then compare against the golden set before you ship it.

Alerting that doesn't get muted

Every one of these can fire too often. Set thresholds from historical variation, not gut feel. Alert on sustained change, not a single bad hour. Make every alert say what to do next. An alert nobody acts on trains people to ignore the next one.

Where to start

If you have nothing today, do two and four first: prediction distribution and sliced metrics. They take a day to build, need no new labels and catch most of what matters. Add the golden set next. Everything else can follow once you've seen what actually breaks.