liveBook · Manning

Data drift

As explained in 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.

Data drift occurs when real-world inputs change from the distribution represented in training data. In a language-model app, unpredictable user inputs can produce errors, inaccurate responses, or harmful outputs. section 6.4.2 section 11.3.1

Monitor user behavior and incoming data continuously. Use what you observe to adapt prompts and examples, or trigger updates when imbalances emerge; guardrails can mitigate risks but do not replace monitoring. section 6.4.2 section 11.3.1

Two production signals

An app’s free-text inputs differ from its curated training data and lead to problematic responses. Separately, changing real-world data reveals demographic imbalances in a recommendation system. section 6.4.2 section 11.3.1

How The Art of AI Product Development covers it

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 it assumes
Assumes a trained model operating with real users and contrasts curated training data with unpredictable production inputs.
What you can do after
Operate continuous monitoring and adapt prompts, examples, or data when production inputs or imbalances change.
How it connects
Connects drift to prompt engineering, model evaluation, guardrails, and training data bias.

Also explained in

Compare how 6 books explain data drift →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Art of AI Product Development. The section links point to the parts of the book it draws on.