Abstract
In the era of Industry 5.0, the integration of high-performing machine learning models into industrial processes is often hindered by their "black-box" nature. This paper introduces AcME-AD (Accelerated Model explanations for Anomaly Detection), a model-agnostic framework designed to provide fast, actionable interpretability for anomaly detection. By offering real-time "what-if" visualizations and efficient feature importance rankings, AcME-AD empowers human operators to perform root-cause analysis and build trust in automated systems.
Introduction: The Transparency Gap in Industry 5.0
As industrial environments transition toward human-centric collaboration, the demand for explainable AI (XAI) has become critical. While Machine Learning (ML) models excel at detecting anomalies in complex Industrial Internet of Things (IIoT) streams, their lack of transparency poses two significant challenges: trust and actionability. Operators are often reluctant to act on alarms without understanding the underlying cause, and engineers require specific sensor data to implement corrective measures. Existing tools like SHAP are frequently too computationally intensive for real-time industrial applications, necessitating a more efficient approach.
Methodology: The AcME-AD Framework
AcME-AD is a model-agnostic framework that explains any anomaly detection (AD) model by systematically perturbing individual features to observe their impact on anomaly scores. It calculates feature importance ($I_j$) through a convex combination of four key metrics:
- Score Sensitivity ($\Delta D_j$): The maximum change in the anomaly score across a feature's range.
- Distance to Normal ($R_j$): The gap between the current score and the minimum achievable score for that feature.
- Class Flip ($C_j$): Whether changing the feature can revert the prediction from "anomalous" to "normal."
- Perturbation Effort ($Q_j$): The magnitude of change required to achieve a class flip.
Beyond numerical rankings, AcME-AD features a "what-if" visualization tool. This allows users to simulate how anomaly scores would change if specific sensor readings were modified, mapped across the dataset's quantiles.
Experimental Setup and Datasets
The framework was validated using two distinct datasets:
- Tennessee Eastman Process (TEP): A chemical process benchmark with 52 features and ground-truth labels for specific faults, used to verify root-cause identification.
- PIADE (Packaging Industry Anomaly DEtection): A high-dimensional (162 features) real-world dataset from industrial packaging machines, representing unsupervised IIoT conditions.
Key Results and Discussion
Computational Efficiency
A primary contribution of AcME-AD is its speed. In industrial settings, delayed explanations are often useless. As shown in the table below, AcME-AD generated local explanations for the TEP dataset in just 3.03 seconds. In contrast, KernelSHAP required over a minute even when restricted to 10% of the background data, and over 10 minutes when using 50% of the data.
Root Cause Accuracy and Model Selection
In the TEP case study, AcME-AD correctly identified xmeas_11 (separator temperature) as the primary driver for a specific simulated fault, aligning with established domain knowledge. Furthermore, in unsupervised settings like PIADE, AcME-AD serves as a tool for model selection; domain experts can evaluate which model flags the most physically logical features (e.g., "alarm counts" or "downtime") as important.
Conclusion and Future Work
AcME-AD bridges the gap between model performance and operational transparency by providing real-time, actionable insights. While the current framework is highly effective, future work will focus on refining visualizations based on operator feedback and exploring automated classification of failure types using local explanations. Integrating AcME-AD into live monitoring environments remains the ultimate goal to enhance human decision-making in the factory of the future.
Summary updated