Attentional LSTM-ensemble architecture for intrusion detection in smart grids
Authors:
Open Access
- 25 November 2025
- journal article
- Published by Springer Nature in Scientific Reports
- Vol. 15 (1) , 41977
Abstract
Smart grids integrate real-time communication, computational intelligence, and physical energy infrastructure to improve operational efficiency and adaptability. However, this interconnectivity increases vulnerability to cyber intrusions capable of disrupting control signals, compromising data integrity, and causing large-scale outages. This study presents an architectural synthesis that combines a long short-term memory network with an attention mechanism for temporal-saliency feature extraction, followed by an ensemble of gradient-boosting classifiers (XGBoost, LightGBM, and CatBoost) for robust decision-making. Experiments on the benchmark smart grid intrusion detection dataset demonstrate that the integrated framework achieves 79.8% average cross-validation accuracy and 75.67% overall test accuracy, with a normal-class recall of 98.26% in the baseline configuration. To address severe class imbalance, a combination of synthetic minority oversampling technique and focal loss was applied, which improved minority attack-class recall from 1.43 to 64.3% and increased its PR-AUC from 0.2884 to 0.791. The balanced configuration yielded an receiver operating characteristic curve (ROC-AUC) of 0.928 for both classes, demonstrating substantial gains in minority-class detection while maintaining high precision for majority classes. These results highlight the potential of strategically combining temporal modelling, attention-driven interpretability, and ensemble diversity, augmented with targeted imbalance mitigation, to develop effective, scalable, and interpretable intrusion detection systems for critical energy infrastructure.Keywords
This publication has 46 references indexed in Scilit:
- Cyber Security Data Science: Machine Learning Methods and Their Performance on Imbalanced Datasets2025
- Trustworthy cyber-physical power systems using AI: dueling algorithms for PMU anomaly detection and cybersecurityArtificial Intelligence Review, 2024
- Employing RNN and Petri Nets to Secure Edge Computing Threats in Smart CitiesJournal of Grid Computing, 2024
- Marine Goal Optimizer Tuned Deep BiLSTM-Based Self-Configuring Intrusion Detection in CloudJournal of Grid Computing, 2024
- Intrusion Detection using Federated Attention Neural Network for Edge Enabled Internet of ThingsJournal of Grid Computing, 2024
- A Self-Adaptive Intrusion Detection System for Securing UAV-to-UAV Communications Based on the Human Immune System in UAV NetworksJournal of Grid Computing, 2022
- Big Data-Aware Intrusion Detection System in Communication Networks: a Deep Learning ApproachJournal of Grid Computing, 2021
- Business Process Engineering for Data Storing and Processing in a Collaborative Distributed Environment Based on Provenance Metadata, Smart Contracts and Blockchain TechnologyJournal of Grid Computing, 2021
- Combining Pattern Classifiers2014
- An integrated detection system against false data injection attacks in the Smart GridSecurity and Communication Networks, 2014