Model Monitoring & Drift
Q: What can go wrong after deployment, and how do you catch it?
- Data drift (input distribution changes: P(x)), concept drift (relationship changes: P(y|x)), label drift (P(y)).
- Monitor: input feature stats, prediction distribution, calibration, latency/errors, business KPIs; and model quality once labels arrive (possibly delayed).
- Responses: alerts → investigate (upstream pipeline bug is the most common cause!) → retrain on recent data (scheduled or triggered) → shadow/canary deploy new models → automatic rollback.
- Feedback loops: the model influences its own future training data (recommendations, fraud blocking) → keep exploration traffic / holdouts to collect unbiased labels.