# Data drift

> Canonical: https://skillalmanac.com/glossary/data-drift | Last verified: 2026-11-24 | Index status: index-eligible

Data drift is a change in the input-data distribution relative to a chosen reference, such as training data or an earlier production period. It can affect a deployed model’s usefulness, but an input-distribution shift alone does not prove accuracy loss.

Also called: drift machine learning, covariate shift, dataset drift.

## In plain language

A model learns from data collected at one point in time. Data drift is what happens when the data it meets in use stops looking like the data it learned from. A shop's sales model trained before a big price change, or a spam filter facing new kinds of spam, are common pictures. A model may continue returning outputs without a software error even when predictive usefulness changes. Spotting drift needs monitoring, and a shift in the inputs is not proof that predictions are wrong. Handling it can mean retraining the model, which costs time and compute.

## Technical definition

IBM distinguishes data drift, also called covariate shift, where the statistical distribution of the input data changes, from concept drift, where the relationship between inputs and the target changes, and describes model drift or decay as a decline in performance. An arXiv review describes concept drift as unpredictable shifts in streaming data distributions and proposes drift detection, understanding and adaptation as its framework. Google Cloud's MLOps guidance advises tracking summary statistics of the data and the online performance of the model, and lists retraining on performance degradation, on a schedule, or when feature distributions change significantly.

## How it shows up when you use agents

Data drift matters wherever a trained model stays in use for months: a classifier, a forecaster, a ranking model. For people running coding agents it shows up in two places. An agent may build a monitoring job around a model, or be asked to explain why a model's results got worse. It also bears on anything evaluated against a fixed test set, because the world that set was drawn from can move on.

What breaks when it is misunderstood: a team trusts last quarter's accuracy figure, or retrains on a schedule unrelated to the data. Next actions: ask what is being monitored (input statistics, outputs, or labelled outcomes), keep a recent labelled sample, and treat an input shift as a prompt to investigate rather than proof of failure. See [MLOps](/glossary/mlops) for the operating practice and [observability](/glossary/observability) for monitoring in general.

## Worked example (illustrative)

Consider a toy classifier that always returns its input bit, with the correct target also equal to that bit. Changing the share of input ones from 50% to 80% changes the input distribution while accuracy remains 100% in both cases. This calculated counterexample shows why an input-distribution alert is not proof of accuracy loss; no deployed model was measured.

## Common confusions

- **Data drift versus concept drift.** According to IBM, data drift is a change in the input distribution, while concept drift is a change in the relationship between inputs and the target. The word "drift" is often used loosely for both.
- **Data drift versus a bug.** Data drift need not be gradual, and a pipeline bug can itself change the observed input distribution. Distinguish a distribution alert from an identified cause. Google's guidance treats schema skew as an anomaly to stop and investigate.
- **Drift versus overfitting.** Overfitting is a model fitting its training data too closely. Drift is the world changing after training.
- **Data drift versus configuration drift.** The second refers to settings diverging between environments rather than directly naming a change in the input-data distribution. A configuration change can nevertheless affect what data reaches the model.

## Worked examples in this catalogue

### [data-analysis-eda](https://skillalmanac.com/skills/skill-almanac/data-analysis-eda)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill gives a fixed exploratory-analysis procedure and a CSV profiler that keeps findings descriptive, evidenced and caveated.

Why it exercises the concept: Profiling a recent extract and an older one side by side is a descriptive way to look for changes in the inputs. The skill does not implement drift tests.

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.

Why it exercises the concept: A fixed eval set lets you re-run the same checks later and see whether quality has fallen. It is about LLM features, not classic drift detection.

### [configuration-key-drift-check](https://skillalmanac.com/skills/skill-almanac/configuration-key-drift-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill compares supplied required and optional configuration key-name declarations against named configuration key arrays.

Why it exercises the concept: Name warning: this is configuration drift, a different thing from data drift. It is listed to mark that difference, not as a drift detector for data.

### [AI Hallucination: What to Check in Agent Output](https://skillalmanac.com/learn/ai-hallucination-what-to-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A guide with a checklist for reviewing agent output: claims, quotes, sources and figures before you rely on them.

Why it exercises the concept: Silent decline is why drift matters: output can look the same while its reliability changes, so ongoing checks are needed. This guide is adjacent, not about drift itself.

## Related terms

- [MLOps](https://skillalmanac.com/glossary/mlops.md)
- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [AI observability (LLM observability)](https://skillalmanac.com/glossary/observability.md)
- [Anomaly detection](https://skillalmanac.com/glossary/anomaly-detection.md)
- [Training data](https://skillalmanac.com/glossary/training-data.md)
- [Model training (AI)](https://skillalmanac.com/glossary/ai-model-training.md)

## Sources

- [What is model drift?](https://www.ibm.com/think/topics/model-drift), IBM (accessed 2026-11-24)
- [Learning under Concept Drift: A Review](https://arxiv.org/abs/2004.05785), arXiv (accessed 2026-11-24)
- [MLOps: Continuous delivery and automation pipelines in machine learning](https://docs.cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning), Google Cloud (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
