Why Models Break in Production
Tunebox, a music streaming service, wants to know which subscribers are about to cancel so it can send them an offer first. A data scientist trains a churn model in a notebook and gets an excellent score. Three months after launch, the retention team says the predictions "feel random". Nobody changed the model. So what broke?
The rule
The model is the small part; the system around it breaks.
A trained model is one file. To be useful it needs a whole system around it:
- Data pipelines that collect and clean fresh subscriber data every day.
- Feature code that turns raw events into inputs such as
days_since_last_loginandskips_per_week. - Training infrastructure that can rebuild the model when data changes.
- Serving that answers "will this user churn?" fast enough for the app.
- Monitoring that notices when answers stop being good.
MLOps (machine learning operations) is the set of practices for building, shipping and running that whole system reliably. It borrows from DevOps — version control, automated tests, continuous delivery, monitoring — and adds what is special about ML: the behaviour of the product depends on data, not only on code.
That difference matters. A normal program with the same code gives the same result forever. A model with the same code can quietly get worse, because the world it learned from has moved on.