Abstract
Industrial Control Systems (ICSs) are becoming more and more important in managing the operation of many important systems in smart manufacturing, such as power stations, water supply systems, and manufacturing sites. While massive digital data can be a driving force for system performance, data security has raised serious concerns. Anomaly detection, therefore, is essential for preventing network security intrusions and system attacks. Many AI-based anomaly detection methods have been proposed and achieved high detection performance, however, are still a "black box" that is hard to be interpreted. In this study, we suggest using Explainable Artificial Intelligence to enhance the perspective and reliable results of an LSTM-based Autoencoder-OCSVM learning model for anomaly detection in ICS. We demonstrate the performance of our proposed method based on a well-known SCADA dataset.
Introduction
Industrial Control Systems (ICS)—the "brains" behind power grids, water plants, and factories—are no longer air-gapped; they are increasingly connected to the internet via IoT and cloud technologies. This connectivity exposes critical infrastructure to sophisticated cyber-attacks. While AI-based anomaly detection (AD) models are highly effective at spotting these threats, they suffer from a "black-box" problem. If a model flags an anomaly, a human operator often doesn't know why. Is it a sensor malfunction, a routine maintenance event, or a malicious intrusion? Without interpretability, engineers waste time investigating false alarms or, worse, fail to trust the system during a real attack.
Methodology
The proposed framework utilizes a three-stage architecture to detect and explain anomalies in ICS environments:
- Feature Extraction (LSTM Autoencoder): The system uses a Long Short-Term Memory (LSTM) Autoencoder to process multivariate time-series data. The encoder compresses the input into a lower-dimensional representation, and the decoder attempts to reconstruct it.
- Detection (OCSVM): Instead of simply using the reconstruction error (which requires a manually tuned threshold), the authors feed the difference between the input and the reconstructed output into a One-Class Support Vector Machine (OCSVM). The OCSVM learns the boundary of "normal" behavior and flags anything outside that boundary as an anomaly.
- Explanation (XAI Module): To make the model transparent, the authors implement an XAI module using Gradient SHAP. Because standard Autoencoders don't produce a single output suitable for SHAP, the authors modified the structure by adding a "flattened layer" on top of the pre-trained model to calculate feature importance (Shapley values).
Experimental Setup
The model was evaluated using the Gas Pipeline SCADA dataset (Morris and Gao, 2014).
- Features: 17 features including network metadata (MODBUS packet length, checksums) and physical process values (pressure measurements, PID gain, pump/solenoid status).
- Data Split: 80% for training (normal data only) and 20% for testing (containing roughly 20% anomalies).
Results and Discussion
The proposed hybrid model outperformed several baseline algorithms on the Gas Pipeline dataset. A major headache in Autoencoder-based detection is deciding how much "reconstruction error" constitutes an anomaly. By using an OCSVM as the final decision-maker, the authors automate this boundary-setting process.
In the context of critical infrastructure, missing an attack (a False Negative) is far more dangerous than a false alarm. The proposed model specifically optimizes for Recall, ensuring that almost all actual threats are captured. As shown in the performance comparison, the LSTM Autoencoder-OCSVM achieved a recall of 96.28% and an F1-score of 90.12%.
The XAI module revealed that features like "cycle time" and "solenoid status" were the primary drivers for predicted anomalies. This allows engineers to prioritize checking the PID controller and solenoid valves first, significantly reducing troubleshooting time.
Conclusion
This paper demonstrates that combining deep learning for feature extraction with OCSVM for boundary detection creates a robust anomaly detection system. Furthermore, the integration of Gradient SHAP addresses the "black-box" nature of deep learning, providing actionable insights for ICS operators. Future work will focus on reducing the computational overhead of XAI for real-time applications and validating the model on other ICS benchmarks like SWaT or WADI.
Summary updated