Abstract
This paper presents GAN-AD, an unsupervised anomaly detection framework designed to protect complex Cyber-Physical Systems (CPS). By leveraging Generative Adversarial Networks (GANs) with Long Short-Term Memory (LSTM) backbones, the model captures the intricate temporal and non-linear dependencies inherent in multivariate time-series data. Trained exclusively on normal operating data, GAN-AD identifies cyber-attacks by evaluating real-time samples against a dual-score metric: reconstruction error and discriminator confidence. Experimental results on the Secure Water Treatment (SWaT) dataset demonstrate that GAN-AD significantly outperforms traditional statistical and PCA-based detection methods.
Introduction
Modern Cyber-Physical Systems (CPS)—such as power grids, oil refineries, and water treatment plants—are increasingly integrated with the Industrial Internet of Things (IIoT). While this connectivity improves efficiency, it exposes critical infrastructure to sophisticated cyber-attacks. Detecting these intrusions is challenging due to the lack of labeled attack data, the non-linear complexity of sensor correlations, and the emergence of "indirect attacks" that manipulate variables subtly to avoid detection by univariate monitoring systems.
The GAN-AD Framework
The authors propose an unsupervised approach that models the "normal" state of a system. The architecture, shown in Figure 1, utilizes an LSTM-RNN backbone for both the Generator ($G$) and the Discriminator ($D$) to handle the temporal nature of sensor data.
Methodology
- Unsupervised Training: The GAN is trained solely on healthy system data. The Generator learns to produce synthetic samples that mimic normal operations, while the Discriminator learns to distinguish these from real healthy samples.
- Dimensionality Reduction: To manage high-dimensional sensor arrays (often exceeding 50 variables), Principal Component Analysis (PCA) is employed to project data into a lower-dimensional space before processing.
- Dual-Score Detection: During the testing phase, an anomaly score is calculated based on two components:
- Residual Loss: Measures how well the GAN can reconstruct the observed sample from its latent space.
- Discrimination Loss: The Discriminator’s assessment of how "believable" the sample is relative to the learned normal distribution.
Experimental Evaluation
The model was evaluated using the Secure Water Treatment (SWaT) dataset, a full-scale purification plant testbed. The data includes 11 days of continuous operation tracking 51 variables. The test set contains 36 different cyber-attacks, ranging from simple sensor overrides to complex, multi-stage coordinated strikes.
Results and Discussion
GAN-AD achieved an F1 score of 0.75 on the SWaT dataset, outperforming traditional methods like CUSUM and standard PCA. A key finding is the effectiveness of multivariate modeling; by learning the relationships between sensors, the GAN can detect anomalies that appear normal when viewed in isolation but are physically impossible when viewed concurrently.
As shown in Figure 2, the Generator's ability to replicate the system's normal behavior improves drastically over training iterations. By iteration 95, the generated samples closely mirror the original data's statistical signatures. This "implicit modeling" allows the system to flag any real-world behavior that the Generator cannot replicate as a potential anomaly.
Conclusion
GAN-AD provides a robust, unsupervised solution for securing CPS. By using the Discriminator as a feature extractor and the Generator as an implicit system model, the framework captures the complex interdependencies of multivariate time series. Future work will focus on reducing the computational overhead of LSTM training and exploring Multi-GAN architectures for segmented sub-processes within large-scale plants.
Summary updated