What is the difference between covariate (data) drift and concept drift, what is an example of each, and how would you detect each in production?
ML systems and evaluation, Monitoring
Level L2 Elementary. Length Short. Nature Th Theoretical.
What's being asked
Whether you can say which part of changes in each case, and know that they need different monitoring.
Key idea
Covariate drift: changes but stays the same. Concept drift: changes, so the same input should now get a different label. The first can be detected from inputs alone; the second needs labels or a proxy for them.
Steps
- Factor and define the two drifts. Mention label (prior) shift, where changes but does not, as a third type.
- Covariate example: a loan model trained on salaried applicants starts seeing many gig workers. Concept example: during a lockdown, a purchase pattern that used to signal fraud becomes normal.
- Detect covariate drift by comparing live input statistics with a training reference: population stability index, KL divergence, or per-feature two-sample tests such as Kolmogorov–Smirnov.
- Detect concept drift by tracking performance on labels as they arrive (often delayed), or proxies such as shifts in the prediction distribution and user feedback. Respond by retraining on recent data or weighting it more heavily.
Common mistakes
- Assuming every input drift hurts accuracy. If the model is already right on the new region of , covariate drift can be harmless.
- Assuming no input drift means the model is fine. Concept drift can happen with unchanged.
- Alerting on raw p-values with huge production samples, where every tiny shift is "significant". Use effect sizes and agreed thresholds.
How long your answer should be
4–6 sentences with one example each.
Last checked on 4 December 2026.
Read this
Previous in ML systems and evaluation: When would you prefer PR-AUC over ROC-AUC?
Next in ML systems and evaluation: A search system returns four documents whose graded relevance, in rank order, is (higher is more relevant; 0 is irrelevant). What are precision@3 and NDCG@4, using ?