[Paper Review] Automatic Model Monitoring for Data Streams
This paper proposes SAMM, an unsupervised streaming system for automatic model monitoring in data streams that detects concept drift using distributional shifts in model scores and generates explainable alarm reports. Evaluated on five real-world fraud detection datasets, SAMM achieved high human expert confidence in alarm detection and report clarity, demonstrating its effectiveness in identifying meaningful drifts without immediate labels.
Detecting concept drift is a well known problem that affects production systems. However, two important issues that are frequently not addressed in the literature are 1) the detection of drift when the labels are not immediately available; and 2) the automatic generation of explanations to identify possible causes for the drift. For example, a fraud detection model in online payments could show a drift due to a hot sale item (with an increase in false positives) or due to a true fraud attack (with an increase in false negatives) before labels are available. In this paper we propose SAMM, an automatic model monitoring system for data streams. SAMM detects concept drift using a time and space efficient unsupervised streaming algorithm and it generates alarm reports with a summary of the events and features that are important to explain it. SAMM was evaluated in five real world fraud detection datasets, each spanning periods up to eight months and totaling more than 22 million online transactions. We evaluated SAMM using human feedback from domain experts, by sending them 100 reports generated by the system. Our results show that SAMM is able to detect anomalous events in a model life cycle that are considered useful by the domain experts. Given these results, SAMM will be rolled out in a next version of Feedzai's Fraud Detection solution.
Motivation & Objective
- To address the gap in detecting concept drift when labels are delayed or unavailable in production ML systems.
- To automatically generate actionable explanations for detected drifts, identifying contributing features and events.
- To design a time- and space-efficient system suitable for real-time monitoring of high-velocity data streams.
- To evaluate the system using human feedback from domain experts to ensure practical utility in real-world deployment.
Proposed method
- SAMM uses a streaming signal S to compare the distribution of model scores in a recent target window T against a reference window R, detecting shifts indicative of concept drift.
- It employs SPEAR, a constant-time and memory-efficient algorithm for percentile estimation using fixed bins, enabling real-time operation.
- When S exceeds a dynamic threshold τ, an alarm is triggered, and an auxiliary model is trained to identify distinguishing features between T and R.
- The auxiliary model outputs feature importance scores and prediction confidence to generate a human-readable explanation report.
- The system dynamically adjusts the threshold to adapt to regime changes, though current implementation uses a fixed threshold based on historical percentiles.
- Time-correlated features are removed from the explanation model to avoid spurious correlations.
Experimental results
Research questions
- RQ1Can an unsupervised method detect concept drift in data streams when labels are not immediately available?
- RQ2Can the system generate meaningful, actionable explanations for detected drifts that help users identify root causes?
- RQ3How effective are the generated alarm reports in conveying true alarms and detectable patterns to domain experts?
- RQ4Does the system’s performance vary across datasets with different drift characteristics?
- RQ5How does the system handle abrupt regime changes, such as model deployments, without manual reconfiguration?
Key findings
- Human experts rated alarm reports significantly higher in confidence and clarity compared to reports for non-drift events (valleys), with statistically significant differences.
- Experts were more likely to change their initial confidence in an alarm after viewing validation plots, indicating the reports provided useful diagnostic insight.
- The system detected meaningful drifts in five real-world fraud detection datasets spanning over 22 million transactions and up to eight months of data.
- In dataset B2, a high peak in the signal was linked to a new model deployment, confirming the system’s sensitivity to regime changes.
- The evaluation revealed that threshold sensitivity to deployment events can increase false positives, highlighting the need for adaptive thresholding in future work.
- The system’s explanation reports were found to be particularly effective in identifying true alarms, with strong expert validation for key events like fraud attacks and hot sales.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.