ML Model Monitoring: Data Drift, Concept Drift and Feedback

ML model monitoring explained: data drift vs concept drift, delayed labels, prediction and feature monitoring, alerting and when to retrain a model.

Intermediate 3 min read · Updated

ML model monitoring watches a deployed model to catch when its predictions stop being trustworthy. Models degrade silently: the service stays up and returns answers, but the world it was trained on has changed. Monitoring covers the service itself (latency, errors), the inputs (data drift, broken features), the outputs (prediction drift) and, when labels eventually arrive, performance against reality (concept drift).

What can go wrong

ProblemWhat changedExample
Data drift (covariate shift)The distribution of inputsA marketing campaign brings many first-time users unlike the training population
Concept driftThe relationship between inputs and the right answerFraudsters change tactics, so old signals no longer predict fraud
Label or prior shiftHow common the outcome isDefault rates rise in a downturn
Broken features (pipeline bugs)A feature is suddenly null, zero, in different units or staleAn upstream rename turns price_rupees into all nulls
Training-serving skewServing computes a feature differently from trainingDifferent time windows or default values
Feedback loopsThe model's own decisions change future dataBlocked transactions never get fraud labels

What to monitor

Model servicePrediction logfeatures · scores · versionLabels (delayed)chargebacks · outcomesMonitorsdrift · quality · performanceReference windowtraining / last monthAlerts + dashboards
Predictions and features are logged at serving time; monitors compare them to a reference window, and delayed labels feed performance metrics.
  • Service health: latency, error rate, throughput, fallback rate. These are ordinary observability signals.
  • Feature quality: null rates, out-of-range values, staleness and schema changes per feature. These catch pipeline bugs fastest, and they're the same checks as data quality.
  • Input drift: compare each feature's distribution with a reference window using measures such as the population stability index (PSI), KL divergence or a Kolmogorov-Smirnov test.
  • Prediction drift: the distribution of scores and the share of positive decisions. A fraud model suddenly flagging 3% of transactions instead of 0.5% needs attention immediately.
  • Performance: precision, recall, calibration or error, once labels arrive, broken down by segment.
  • Business outcomes: the metric the model exists to move.

The delayed label problem

Many labels arrive late: a chargeback takes weeks, a loan default takes months, a recommendation's long-term value may never be measured directly. Until then, input and prediction drift are leading indicators. Some teams also send a small random sample of cases for human review, or use fast proxy labels (a click instead of a purchase), to estimate performance sooner.

Drift alone doesn't mean the model is wrong. Seasonal patterns and growth cause harmless drift. Alert on drift in the features that matter most to the model, and investigate before retraining reflexively.

Responding to problems

  1. Broken feature or pipeline bug: fix the data and, if needed, fall back to a previous model or a rule while it's fixed. Retraining on broken data makes things worse.
  2. Real drift with labels available: retrain on recent data and validate against the current model on a recent holdout before promoting.
  3. Scheduled retraining (daily, weekly) suits fast-changing domains; triggered retraining on drift or performance alerts suits stable ones.
  4. Guard the feedback loop: keep a small exploration or holdout group so the model still sees outcomes for cases it would have blocked.

Where it’s used

Fraud and risk

Daily prediction-rate monitors and weekly performance on matured labels, with a holdout to observe what blocking hides.

Recommendations

Feature freshness and score distribution monitors catch broken pipelines before engagement drops.

Demand forecasting

Forecast error by region is tracked as actuals arrive, triggering retraining after sustained degradation.

In an interview

  • Separate service health, feature quality, drift and performance monitoring.
  • Log features, predictions and model version at serving time.
  • Address delayed labels with leading indicators and sampled review.
  • Distinguish pipeline bugs from real drift before retraining.

Further reading