Adversarial Robustness Enhancement for Transformer-based Anomaly Detection in Industrial Control Systems

Authors:

Abstract
Industrial Control Systems (ICS) underpin critical infrastructure for sustainable development, including water treatment, energy grids, and smart manufacturing. While deep learning-based anomaly detectors show promise, their susceptibility to adversarial attacks poses significant security risks. This paper presents a Transformer Autoencoder (Transformer-AE) for adversarially robust ICS anomaly detection. Through systematic evaluation on the HAI 23.05 dataset, our Transformer-AE achieves 55.2% higher F1-score (0.343) and 9.1% higher AUC (0.802) compared to LSTM baselines. We conduct comprehensive robustness evaluation using FGSM and PGD attacks, revealing vulnerability to small perturbations (F1 drops to 0.274 under ϵ = 0.02 FGSM). We introduce an adversarial training strategy with 50% adversarial sample mixing, achieving 33.3% robustness improvement (F1=0.320) under attack while improving clean-data AUC by 5.9% (0.849). We identify critical cross-dataset deployment challenges, revealing 100% false positive rates when directly transferring thresholds, and propose domain-specific calibration strategies. Our findings provide theoretical insights into PGD-FGSM equivalence and practical guidelines for deploying robust detection systems.