ML in Practice — Lightweight MLOps
Back to Monitoring, Retraining, and Lifecycle

Drift Detection — Data Drift vs Concept Drift

Two distinct kinds of drift. Different symptoms, different fixes. FIND_VIDEO: search 'data drift concept drift machine learning' — recommended channel: Evidently / Made with ML. Aim for 10 min or under.

18 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.
Loading progress...

Key moments

  1. Model Monitoring Foundations — Covers how production models degrade over time due to non-stationarity and shifts in data distributions.
  2. Concept Drift Mechanics — Explains how macro-environmental shifts alter target relationships without necessarily altering input distributions.
  3. Covariate Drift Characteristics — Details shifts in input feature distributions and their impact on baseline training assumptions.
  4. Statistical Hypothesis Tests — Demonstrates applying Kolmogorov-Smirnov for continuous variables and Chi-Square for categorical variables.
  5. Population Stability Index — Introduces symmetric divergence calculation across binned data alongside standard alert thresholds.
  6. Discriminative Drift Detection — Walks through training an auxiliary binary classifier to uncover multivariate distribution divergence.
  7. Streaming Drift Detectors — Reviews sequential real-time change detection using ADWIN sliding windows and Page-Hinkley cumulative sums.
  8. Retraining & Remediation — Compares scheduled updates, recency-weighted retraining, and online learning strategies to remediate drift.
PDF notes

Frequently asked questions

Why is Population Stability Index preferred over raw Kullback-Leibler divergence in production?

Standard KL divergence is directional and asymmetric (KL(P||Q) != KL(Q||P)). PSI uses symmetric Jeffreys divergence to provide a consistent single metric regardless of baseline ordering.

How can concept drift occur if feature distributions P(X) remain completely identical?

External real-world factors can change consumer behavior or target definitions, altering the mapping P(Y|X) even when incoming inputs match baseline data perfectly.

What accuracy should an auxiliary discriminative drift classifier achieve if no drift exists?

It should achieve an ROC-AUC near 0.50 (random chance), meaning historical and production data points are indistinguishable from one another.

How was this lesson?

Your feedback helps us refine explanations and catch bugs.