Chapter 13. Deployment and Continuous Delivery for AutoML
The phone call came at 2 a.m. on a Saturday. Our newly deployed AutoML-powered fraud detection system had flagged 94% of transactions in the past hour as fraudulent—a number that should have been closer to 0.1%. By the time we identified the root cause, we had blocked thousands of legitimate purchases and created a customer service nightmare.
The issue was discovered through our automated monitoring system, which detected the anomalous spike in fraud flags and triggered a PagerDuty alert. However, the root cause investigation required manual inspection of the feature pipeline logs, where we found a subtle timestamp handling bug that caused features to be computed differently in production than during training. The diagnosis took four hours—time that could have been reduced with better feature distribution monitoring. The model was working correctly on incorrect inputs.
This incident taught me a lesson that shapes this entire chapter: the gap between a trained AutoML model and a reliable production deployment is wider and deeper than most organizations anticipate. AutoML democratizes model creation, but it doesn’t automatically solve the challenges of production deployment. If anything, the ease of creating models amplifies the importance of rigorous deployment practices, because organizations using AutoML tend to deploy models more frequently and with less per-model scrutiny than in traditional ML workflows.
The fundamental ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access