Step 21 of 36 · Delivery
Monitoring models and data in production
Models and data fail quietly. Across the function you need one inventory, common monitors and a named person who gets the alert.
Software breaks with an error. A model keeps returning answers while the world it learned from moves away. A feed changes its units, a customer segment grows, a policy shifts, and predictions degrade for weeks before a business metric shows it.
For every model in production, require the same minimum: input data checked against the training data, prediction distributions tracked, predictions compared with real outcomes once they arrive, and the business metric the model should move. Each has a threshold, an owner and a defined response, including falling back to a simpler rule.
At function level, keep an inventory of every live model with its owner and last review. The orphan model, built by someone who left, is where the worst incidents start. Retire models nobody will own.
Try this week
- List every model running in production with its owner, last retraining date and what is monitored. Mark the orphans.
- For your most important model, write down what happens, and who acts, when its input data shifts.
Signs you've got it
- You hear about model degradation from an alert before you hear it from the business.
- No production model lacks a named owner and a fallback.
Resources
- articleData Distribution Shifts and Monitoring (opens in a new tab)Chip Huyen
- articleMonitoring Machine Learning Models in Production (opens in a new tab)Christopher Samiullah
- articleA Practical Guide to Maintaining Machine Learning in Production (opens in a new tab)Eugene Yan
- paperFailing Loudly: An Empirical Study of Methods for Detecting Dataset Shift (opens in a new tab)Stephan Rabanser, Stephan Günnemann and Zachary Lipton
- paperMonitoring and explainability of models in production (opens in a new tab)Janis Klaise and colleagues