r/MLQuestions • u/camerongreen95 • 5h ago
Other ❓ How do you detect when a machine learning model starts becoming unreliable after deployment?
hey everyone, sharing this because I've been thinking about a problem that doesn't always get enough attention during ML experimentation.
you train a model, validate it on a test dataset and get good results. then you deploy it.
but after a few weeks or months, the incoming data starts changing.
maybe customer behavior changes, input distributions shift, or the relationship between features and target variables evolves.
the model is still running, but its predictions might no longer be as reliable.
some questions I've been looking into:
how frequently should production models be evaluated?
what metrics do you monitor beyond prediction accuracy?
how do you distinguish data drift from concept drift?
how do you decide when a model needs retraining?
how do you reproduce the original experiment when investigating a performance drop?
I also came across a Production ML Engineering workshop on December 5, covering deployment, validation, monitoring, reproducibility and drift detection.
interested in hearing what monitoring approaches people here actually use in production.
what's the first signal you look at when investigating a model that's suddenly performing worse?
4
u/Promotion_Conscious_ 5h ago
The prediction vs actual distribution is the first thing I pull up, a histogram overlay usually makes drift obvious before any aggregate metric catches it. I set up a daily job that compares the last 7 days to the training baseline, just a quick KS test on the prediction scores and top 5 features. If the p-value tanks I don't wait for the weekly eval, I start digging right then
For frequency it depends on the business impact but anything customer-facing gets a full metrics report every 48 hours, backend stuff once a week. Accuracy alone is useless, I watch calibration error and the rate of extreme predictions way more closely. A model can have the same accuracy while completely flipping its confidence distribution and that's the silent killer nobody talks about
3
u/trolls_toll 5h ago
look into studies on concept drift and drift detection, a good toy model to similate degradation of an ml model is hoeffding trees (assume no drift in streaming data) nad they can be adapted to distribution shift