Data Drift Degrades a Deployed Model Without Any Change to Its Code

Machine Learning Observability

A model encodes the statistics of the data it was trained on. When real-world inputs change (new buying habits, a new product range, an economic shift), predictions get worse even though nobody touched the model or its code. This data drift means a deployed model needs monitoring like any production service, plus a way to explain its predictions, or nobody will notice or trust what is going wrong.

How Drift Happens

  • A fraud model trained on last year's transactions meets new payment methods it has never seen.
  • A demand forecast trained before a price change keeps predicting the old volumes.
  • Upstream, a field's format or meaning changes (a currency, a unit), and the model reads it as before.

Nothing fails loudly: the service keeps answering, just less correctly.

Monitoring and Explaining Go Together

Explainable AI (XAI) is the set of tools that show why a model produced a given output (which features weighed most, how a change in input moves the prediction). It serves three purposes:

  1. Trust: an unexpected decision can be explained to a customer, a user or a regulator in human terms.
  2. Diagnosis: a shift in which features drive predictions is an early sign of drift.
  3. Audit: high-stakes uses (credit, health, hiring) need a traceable decision path.

References

Review cards

Flashcard Why can a deployed model's predictions get worse without any change to its code?

Real-world inputs drift away from the training data (new habits, products, formats). Nothing fails loudly: the service keeps answering, just less correctly.

Flashcard Which three purposes does explainable AI serve for a deployed model?

Trust (explaining a decision in human terms), diagnosis (a shift in which features drive predictions is an early sign of drift) and audit (a traceable decision path for high-stakes uses).