• ISSN [ Online ] : 3139-1141

Volume 1 - Issue 5, November - December 2026

  • Home
  • November - December 2026

Comparing Random Forest, XGBoost, LSTM, GRU, and Autoencoder Architectures for Cyber-Attack Detection in Industrial Control Systems


📑 Paper Information
📑 Paper Title Comparing Random Forest, XGBoost, LSTM, GRU, and Autoencoder Architectures for Cyber-Attack Detection in Industrial Control Systems
👤 Authors Prerana Mahajan, Aniket Lande
📘 Published Issue Volume 1 Issue 5
📅 Year of Publication 2026
🆔 Unique Identification Number IJARSMET-V1I5P25
📑 Search on Google Click Here
📝 Abstract
Cyber-physical attacks on industrial control systems (ICS) can create serious safety and operational hazards in critical infrastructure such as water treatment plants, power grids, manufacturing lines and transport networks. These plants stream sensor and actuator data around the clock, yet turning that data into reliable attack detection is difficult. Operating conditions drift over time, attacks occupy only a small share of the recorded runtime, and a detector that raises too many false alarms soon loses the trust of the operators who have to respond to it. This paper compares five learning approaches for separating normal plant operation from attack activity. Random Forest and eXtreme Gradient Boosting (XGBoost) serve as strong baselines for tabular features, Long Short-Term Memory (LSTM) networks and Gated Recurrent Units (GRUs) model temporal dependence, and an Autoencoder learns the bounds of normal behaviour and flags observations whose reconstruction error exceeds a threshold. The experiments use the Secure Water Treatment (SWaT) benchmark, which holds 1,387,098 normal records and 54,621 attack records across 51 physical variables. Models are judged by accuracy, precision, recall, F-score and confusion-matrix counts. On a held-out test set of 288,344 samples, Random Forest reached an accuracy of 99.9931 percent with 6 false positives and 14 false negatives, while XGBoost reached 99.9185 percent with 20 false positives and 215 false negatives. The LSTM currently has only a preliminary accuracy of 97.5 percent, and the full confusion matrices for the LSTM, GRU and Autoencoder are still being compiled. The paper also examines why the widely used 80/20 stratified random split is a weak basis for evaluating time-series models: consecutive one-second records are almost identical, so test samples effectively leak information from the training set and inflate the reported metrics. We outline the chronological and episode-isolated validation needed to confirm these findings.
📝 How to Cite
Prerana Mahajan, Aniket Lande, "Comparing Random Forest, XGBoost, LSTM, GRU, and Autoencoder Architectures for Cyber-Attack Detection in Industrial Control Systems" International Journal of Advance Research in Science, Management, Engineering and Technology, V1(5): Page(171-180) November - December 2026. ISSN: 3139-1141. www.ijarsmet.com. Published by Scientific and Academic Research Publishing.