Production machine learning systems require constant monitoring, not just to keep the system online but also to ensure the model inference results are correct. This is much more straightforward when user feedback or labels are available. In those cases, the model performance can be tracked and periodically reevaluated using standard metrics such as precision, recall, or AUC. But what about when labeled data is lacking? In many applications, labels are expensive to obtain (requiring human analysts’ manual review) or cannot be obtained in a timely manner (e.g., not available until weeks or months later).
Ting-Fang Yen discusses the design and implementation of a real-time system to monitor production machine learning systems. The approach is designed to discover detection anomalies, such as volume spikes caused by spurious false positives, as well as gradual concept drifts when the model is no longer able to capture the target concept. In either case, it is able to automatically detect undesirable model behaviors early.
Part of the approach borrows from signal processing techniques for time series decomposition, where the time series can be used to represent a sequence of model decisions on different types of input data, or the amount of deviation between consecutive model runs. The approach calculates cross-correlation among the identified anomalies to facilitate root cause analysis of the model behavior.
This work is a step toward automated deployment of machine learning in production as well as new tools for interpreting model inference results.
Ting-Fang Yen is director of research at DataVisor, the leading fraud, crime, and abuse detection solution utilizing unsupervised machine learning to detect fraudulent and malicious activity such as fake account registrations, fraudulent transactions, spam, account takeovers, and more. She has over 10 years of experience in applying big data analytics and machine learning to tackle problems in cybersecurity. Ting-Fang holds a PhD in electrical and computer engineering from Carnegie Mellon University.
Comments on this page are now closed.
©2019, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com