liveBook · Manning

Data drift

Data drift is a change or discrepancy in data characteristics or statistical distributions between a reference and the data encountered over time or in another operating context.

How 7 Manning books explain it

Machine Learning System Design

A discrepancy between the statistical characteristics of data used for model development and those of data encountered in the target operating environment.

How it is used
Guides data consistency and monitoring decisions across development and production.
How deep it goes
Outlines causes, monitoring choices, alert thresholds, and responses without deriving statistical tests.
Examples
Uses a camera system tested in different climates and a loungewear forecast with recurring weekend demand.
What you can do after
Evaluate and design drift monitoring around label availability, feature importance, alert thresholds, and possible responses.

Read how Machine Learning System Design explains data drift →

Machine Learning Platform Engineering

Drift detection is the identification of changes in data distributions or related model-serving conditions over time.

How it is used
Monitors production data and its relationship with target variables to identify changes that may affect model quality.
How deep it goes
Implements microbatch reports with a rolling window, but does not detail the underlying statistical tests.
Examples
Uses an income classifier API, and identifies fraud detection, recommendation systems, and image or embedding data as monitoring contexts.
What you can do after
Operate microbatch drift monitoring with BentoML and use detected changes to guide model maintenance.

Read how Machine Learning Platform Engineering explains data drift →

The Art of AI Product Development

Domain shift is a change between the data distribution encountered during model operation and the distribution represented by its training data.

How it is used
Monitor production inputs and changing data distributions to identify risks and guide prompt adaptation or model updates.
How deep it goes
Explains production risks and monitoring responses, without detailing drift detection methods or update procedures.
Examples
Uses unpredictable free-text app inputs and demographic imbalances in changing real-world data as examples.
What you can do after
Operate continuous monitoring and adapt prompts, examples, or data when production inputs or imbalances change.

Read how The Art of AI Product Development explains data drift →

Reinforcement Learning from Human Feedback

Distribution mismatch is a discrepancy between the probability distribution that generated training data and the distribution of the policy being optimized.

How it is used
Corrects policy-optimization estimates and motivates training on student-generated sequences in distillation.
How deep it goes
Derives importance-sampling correction and contrasts token- with sequence-level ratios, including clipping failure modes.
Examples
Uses stale-policy rollouts, asynchronous model weights, student-generated completions, and shifted task rules as examples.
What you can do after
Apply importance sampling to reweight samples from an older policy when estimating updates for the current policy.

Read how Reinforcement Learning from Human Feedback explains data drift →

Starting Data Analytics with Generative AI and Python

Domain mismatch is the discrepancy between the data domain used to develop a model and the domain of the data to which it is applied.

How it is used
Flags the risk of applying a financial-text classifier to general customer reviews.
How deep it goes
Lists likely drawbacks and monitoring options but does not establish the model’s actual performance on the reviews.
Examples
Contrasts FinBERT-PT-BR’s financial focus with Portuguese customer reviews and demonstrates positive-review filtering.
What you can do after
Evaluate a classifier’s suitability for customer reviews and consider human review and error monitoring.

Read how Starting Data Analytics with Generative AI and Python explains data drift →

Delivering Machine Learning Projects: From design to deployment

Feature drift is a change over time in the characteristics or meaning of the features supplied to a machine learning model.

How it is used
Protects deployed model performance by prompting teams to monitor inputs and behavior for change.
How deep it goes
Explains domain, noise, and interface causes, then recommends monitoring and retesting without detailing detection algorithms.
Examples
Uses changing noise levels and types, plus subtle input changes after an API update, as drift examples.
What you can do after
Diagnose/debug with it by monitoring model behavior and inputs, setting assertions, and retesting after changes.

Read how Delivering Machine Learning Projects: From design to deployment explains data drift →

Microsoft Azure in Action

Data drift is a change over time in the distribution or characteristics of input data relative to the data used to train a model.

How it is used
Monitors incoming request features and alerts teams when they move outside the model’s training distribution.
How deep it goes
Tracks feature changes with examples, but does not specify detection thresholds or remediation steps.
Examples
Uses changes in review length and sentiment distribution as examples of shifting incoming features.
What you can do after
Operate/configure it by setting alerts for shifts in incoming request features.

Read how Microsoft Azure in Action explains data drift →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.