Introduction
In modern machine learning, particularly in streaming environments like credit scoring, sensor monitoring, or real-time bidding, models are rarely static. To maintain performance, these models must constantly adapt to "concept drift"—the phenomenon where the underlying statistical patterns in data change over time. While the field of Explainable AI (XAI) has matured significantly in explaining static model behavior, there is a distinct lack of tools designed to explain how and why a model has evolved after an update.
This paper introduces a model-agnostic framework designed to detect, quantify, and explain significant changes in incremental machine learning models. By focusing on the "delta" between model versions, the authors provide a mechanism for human monitors to understand which features have gained or lost influence as a model adapts to new data.
The Challenge of Model Evolution
Traditional XAI methods, such as SHAP or LIME, are typically applied in batch settings where a model is trained once and explained. In online learning, models update continuously. Generating a full explanation from scratch for every minor update is computationally expensive and cognitively overwhelming for users. The authors argue that it is more effective to explain the difference between a current model and a previous "reference" model, focusing only on significant semantic changes.
The Proposed Framework
The authors propose a three-step pipeline to manage model evolution:
- Detection: The framework utilizes ADWIN (Adaptive Windowing) to monitor model performance. When a significant drop in accuracy is detected, it signals that the model is adapting to a new concept.
- Quantification: Once drift is detected, the system calculates the Expected Discrepancy. This measures the "semantic change"—the actual difference in prediction outputs between the old reference model ($h_r$) and the new target model ($h_t$) over a shared data window.
- Explanation: To explain the change, the authors adapt Permutation Feature Importance (PFI). By calculating the importance of each feature for both $h_r$ and $h_t$, they derive the difference ($\Delta \phi$). This allows the system to report, for example, that a specific feature became 20% less important following the update.
Detection and Quantification in Practice
As shown in the figure above, the framework monitors the rolling mean accuracy. When the accuracy dips below a threshold (the red line), the system identifies the drift. It then compares the stable performance window of the first concept ($D_r$) with the newly stabilized window of the second concept ($D_t$). This ensures that explanations are only triggered when the model change is substantial, managing the cognitive load on the user.
Experimental Validation
The framework was validated using two synthetic data streams:
- STAGGER Concepts: A benchmark involving geometric objects where the target concept is manually shifted (e.g., from "red" to "large"). The explainer perfectly mirrored these theoretical changes, showing a precise drop in importance for the discarded feature.
- Agrawal Generator: A complex stream simulating credit applications. This test revealed the framework's ability to identify when a model "learns" to ignore irrelevant features that were previously correlated with target variables.
Conclusion
The proposed framework offers a robust, model-agnostic solution for tracking model evolution in dynamic environments. By distinguishing between syntactic changes (internal structure) and semantic changes (output behavior), and by providing clear feature-based deltas, it allows for transparent and manageable monitoring of streaming machine learning systems. Future work may involve incorporating more computationally intensive methods like SHAP to better handle feature multicollinearity.
Summary updated