Call For Paper November 2026

Research Article | Open Access | Download PDF
Volume 13 | Issue 11 | Year 2026 | Article Id. IJECE-V13I11P108 | DOI : https://doi.org/10.14445/23488549/IJECE-V13I11P108

HGBTransNet: A Hybrid Deep Learning and Transformer based Framework for Intrusion Detection in WSN


Veggalam Shivaraj Kumar, K Renu, Ch Venkat Rao

Received Revised Accepted Published
23 Jul 2026 16 Oct 2026 31 Oct 2026 27 Nov 2026

Citation :

Veggalam Shivaraj Kumar, K Renu, Ch Venkat Rao, "HGBTransNet: A Hybrid Deep Learning and Transformer based Framework for Intrusion Detection in WSN," International Journal of Electronics and Communication Engineering, vol. 13, no. 11, pp. 139-155, 2026. Crossref, https://doi.org/10.14445/23488549/IJECE-V13I11P108

Abstract

Wireless Sensor Networks (WSNs) are composed of various sensor nodes which receive and send environmental data. There are various applications of WSNs to real-time application in the real world, such as environment, healthcare, and surveillance in the military. They are, however, very vulnerable to various attacks due to their distributed and resource constrained nature. As a solution to these points, in this work, Hybrid GRU–BiLSTM–Transformer Network (HGBTransNet) model an intelligent Deep-Learning (DL) model, has been proposed to detect intrusions in WSNs with high efficiency using Convolutional-Neural Networks (CNN), Transformer Encoder, Gated Recurrent Unit (GRU) and Bi-Long Short-Term Memory (Bi-LSTM) networks. The CNN part derives spatial correlations of network traffic data, and the Bi-LSTM layer derives temporal dependencies to increase the accuracy of classification. The proposed method is tested on five publicly available datasets, comprising normal and attack traffic logs. The experimental observations show that HGBTransNet model has a higher detection accuracy of 99.8%, 98.20%, 99.99%,97.20% and 99.70% on WSN-DS, WSN-BFSF, CICIDS-2017, UNSWNB15 and NSL-KDD datasets, respectively and proves that proposed model is efficient in detecting various attacks compared with state-of-the-art methods.

Keywords

Bi-Long Short Term-Memory (Bi-LSTM), Gated-Recurrent Unit (GRU), Intrusion Detection System (IDS), Transformer encoder, WSNs.

References

  1. T. Gopala, V. Raviram, and N.L. Udaya Kumar, “Detecting Security Threats in Wireless Sensor Networks using Hybrid Network of CNNs and Long Short-Term Memory,” International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 1s pp. 704-722, 2023.
    [
    Google Scholar] [Publisher Link]
  2. Iman Almomani, Bassam Al-Kasasbeh, and Mousa AL-Akhras, “WSN‐DS: A Dataset for Intrusion Detection Systems in Wireless Sensor Networks,” Journal of Sensors, vol. 2016, pp. 1-16, 2016.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  3. Andrea Pinto et al., “Survey on Intrusion Detection Systems based on Machine Learning Techniques for the Protection of Critical Infrastructure,” Sensors, vol. 23, no. 5, pp. 1-18, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  4. Hakan Can Altunay, and Zafer Albayrak, “A Hybrid CNN+LSTM-based Intrusion Detection System for Industrial IoT Networks,” Engineering Science and Technology, an International Journal, vol. 38, pp. 1-23, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  5. Kuljeet Singh, Amit Mahajan, and Vibhakar Mansotra, “Hybrid CNN-LSTM Model Combined with Feature Selection and SMOTE for Detection of Network Attacks,” International Journal of Sensor Networks, vol. 43, no. 4, pp. 208-222, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  6. Md. Alamin Talukder et al., “MLSTL-WSN: Machine Learning-based Intrusion Detection using SMOTETomek in WSNs,” International Journal of Information Security, vol. 23, no. 3, pp. 2139-2158, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  7. Ovi Abul Hussain, Zigang Chen, and Haihua Zhu, “sSecure Net: A Hybrid CNN-LSTM-based Intrusion Detection System for Securing IoT Networks,” Proceedings of the 4th International Conference on Computer, Artificial Intelligence and Control Engineering, pp. 537-544, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  8. Tinshu Sasi et al., “An Efficient Self Attention-based 1D-CNN-LSTM Network for IoT Attack Detection and Identification using Network Traffic,” Journal of Information and Intelligence, vol. 3, no. 5, pp. 375-400, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  9. Pendukeni Phalaagae et al., “A Hybrid CNN-LSTM Model with Attention Mechanism for Improved Intrusion Detection in Wireless IoT Sensor Networks,” IEEE Access, vol. 13, pp. 57322-57341, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  10. Raja Waseem Anwar​ et al., “Federated Learning with LSTM for Intrusion Detection in IoT-based Wireless Sensor Networks: A Multi-Dataset Analysis,” PeerJ Computer Science, vol. 11, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  11. Nurtay Albanbay et al., “Federated Learning-based Intrusion Detection in IoT Networks: Performance Evaluation and Data Scaling Study,” Journal of Sensor and Actuator Networks, vol. 14, no. 4, pp. 1-24, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  12. Vivek Kumar Pandey et al., “Enhancing Intrusion Detection in Wireless Sensor Networks using a Tabu Search based Optimized Random Forest,” Scientific Reports, vol. 15, pp. 1-21, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  13. Ansam Khraisat et al., “RF-FedAvg: Federated Learning-based Random Forest Model for Intrusion Detection in Wireless Sensor Networks,” Cluster Computing, vol. 28, no. 13, pp. 1-21, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  14. Zhenyue Long et al., “A Transformer-based Network Intrusion Detection Approach for Cloud Security,” Journal of Cloud Computing, vol. 13, no. 1, pp. 1-11, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  15. Amal Ajayan, G. Kirubavathi, and Iqbal H. Sarker, “DistilXIDS: Efficient, Lightweight and Explainable Transformer-based Language Model for Real-Time Network Intrusion Detection,” Neurocomputing, vol. 668, 2026.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  16. Hesham Kamal, and Maggie Mashaly, “Advanced Hybrid Transformer-CNN Deep Learning Model for Effective Intrusion Detection Systems with Class Imbalance Mitigation Using Resampling Techniques,” Future Internet, vol. 16, no. 12, pp. 1-74, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  17. Md. Alamin Talukder, Majdi Khalid, and Nasrin Sultana, “A Hybrid Machine Learning Model for Intrusion Detection in Wireless Sensor Networks Leveraging Data Balancing and Dimensionality Reduction,” Scientific Reports, vol. 15, pp. 1-23, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  18. H. Fares, N. Aknin, and Z. Oughannou, “An Adaptive Framework for Real-Time Intrusion Detection in WSNs and IoMT: Comparative Study using CICDDoS-2019, WSN-DS and CICIoMT2024 Datasets,” Mathematical Modeling and Computing, vol. 13, no. 1, pp. 240-251, 2026.
    [
    CrossRef] [Publisher Link]
  19. Sydney M. Kasongo, and Yanxia Sun, “Performance Analysis of Intrusion Detection Systems using a Feature Selection Method on the UNSW-NB15 Dataset,” Journal of Big Data, vol. 7, no. 1, pp. 1-20, 2020.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  20. Asmaa Halbouni et al., “CNN-LSTM: Hybrid Deep Neural Network for Network Intrusion Detection System,” IEEE Access, vol. 10, pp. 99837-99849, 2022.
    [
    Google Scholar] [Publisher Link]
  21. Salim Salmi, and Lahcen Oughdir, “Performance Evaluation of Deep Learning Techniques for DoS Attacks Detection in Wireless Sensor Network,” Journal of Big Data, vol. 10, no. 1, pp. 1-25, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  22. Hee-Yong Kwon, Taesic Kim, and Mun-Kyu Lee, “Advanced Intrusion Detection Combining Signature-based and Behavior-based Detection Methods,” Electronics, vol. 11, no. 6, pp. 1-19, 2022.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  23. V. Gowdhaman, and R. Dhanapal, “An Intrusion Detection System for Wireless Sensor Networks using Deep Neural Network,” Soft Computing, vol. 26, no. 23, pp. 13059-13067, 2022.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  24. Muawia A. Elsadig et al., “Detection of Denial-of-Service Attack in Wireless Sensor Networks: A Lightweight Machine Learning Approach,” IEEE Access, vol. 11, pp. 83537-83552, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  25. Farhana Reza et al., “DDoS-Net: Classifying DDoS Attacks in Wireless Sensor Networks with Hybrid Deep Learning,” 2024 6th International Conference on Electrical Engineering and Information & Communication Technology (ICEEICT), Dhaka, Bangladesh, pp. 487-492, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  26. Amogh Deshmukh, and Kiran Ravulakollu, “An Efficient CNN-based Intrusion Detection System for IoT: Use Case towards Cybersecurity,” Technologies, vol. 12, no. 10, pp. 1-21, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  27. Mohamed H. Behiry, and Mohammed Aly, “Cyberattack Detection in Wireless Sensor Networks using a Hybrid Feature Reduction Technique with AI and Machine Learning Methods,” Journal of Big Data, vol. 11, pp. 1-39, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  28. Manu Devi, Priyanka Nandal, and Harkesh Sehrawat, “A Lightweight Approach for Intrusion Detection in WSNs based on DCGAN,” International Journal of Information Technology, vol. 17, no. 2, pp. 951-957, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  29. Ra’ed M. Al-Khatib et al., “A Novel Improved Deep Learning Model based on Bi-LSTM Algorithm for Intrusion Detection in WSN, vol. 20, no. 2, pp. 532-565, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  30. Laith H. Baniata et al., “A Dual-Attention CNN–GCN–BiLSTM Framework for Intelligent Intrusion Detection in Wireless Sensor Networks,” Future Internet, vol. 18, no. 1, pp. 1-21, 2026.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  31. Kadiyala Ramana et al., “WOGRU-IDS — An Intelligent Intrusion Detection System for IoT Assisted Wireless Sensor Networks,” Computer Communications, vol. 196, pp. 195-206, 2022.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  32. Kyle Stein et al., “A Transformer-based Framework for Payload Malware Detection and Classification,” 2024 IEEE World AI IoT Congress (AIIoT), Seattle, WA, USA, pp. 105-111. 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  33. Chiming Xi, Hui Wang, and Xubin Wang, “A Novel Multi-Scale Network Intrusion Detection Model with Transformer,” Scientific Reports, vol. 14, pp. 1-17, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  34. Shailesh Singh Panwar, Y. P. Raiwani, and Lokesh Singh Panwar, “An Intrusion Detection Model for CICIDS-2017 Dataset Using Machine Learning Algorithms,” 2022 International Conference on Advances in Computing, Communication and Materials (ICACCM), Dehradun, India, pp. 1-10, 2022.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  35. Murat Dener et al., “WSN-BFSF: A New Data Set for Attacks Detection in Wireless Sensor Networks,” IEEE Internet of Things Journal, vol. 11, no. 2, pp. 2109-2125, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  36. Nour Moustafa, and Jill Slay, “UNSW-NB15: A Comprehensive Data Set for Network Intrusion Detection Systems (UNSW-NB15 Network Data Set),” 2015 Military Communications and Information Systems Conference (MilCIS), Canberra, ACT, Australia, pp. 1-6, 2015.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  37. L. Dhanabal, and S.P. Shantharajah, “A Study on NSL-KDD Dataset for Intrusion Detection System based on Classification Algorithms,” International Journal of Advanced Research in Computer and Communication Engineering, vol. 4, no. 6, pp. 446-452, 2015.
    [
    Google Scholar] [Publisher Link]
  38. Hadeel M. Saleh, Hend Marouane, and Ahmed Fakhfakh, “Stochastic Gradient Descent Intrusions Detection for Wireless Sensor Network Attack Detection System using Machine Learning,” IEEE Access, vol. 12, pp. 3825-3836, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  39. Sanaa Ali Jabber, Soukaena H.H Ashem, and Shatha H. Jafer, “A Novel Approach to Intrusion-Detection System: Combining Lstm and the Snake Algorithm,” Jordanian Journal of Computers and Information Technology, vol. 9, no. 4, pp. 360-376, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  40. Priyanshu Sinha et al., “An Efficient Data Driven Framework for Intrusion Detection in Wireless Sensor Networks using Deep Learning,” Scientific Reports, vol. 15, pp. 1-25, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  41. Derui Guo, and Yufei Xie, “Research on Network Intrusion Detection Model based on Hybrid Sampling and Deep Learning,” Sensors, vol. 25, no. 5, pp. 1-32, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  42. Thuan Minh Nguyen, Hanh Hong-Phuc Vo, and Myungsik Yoo, “Enhancing Intrusion Detection in Wireless Sensor Networks Using a GSWO-CatBoost Approach,” Sensors, vol. 24, no. 11, pp. 1-26, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  43. Zico Pratama Putra et al., “Evaluating the Performance of Classification Algorithms on the UNSW-NB15 Dataset for Network Intrusion Detection,” FIFO Scientific Journal, vol. 16, no. 1, pp. 84-95, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  44. Shreeya Swagatika Sahoo, and Dibyasundar Das, “Design of Key Agreement Authentication Scheme with IDS Using OS-RVFL Neural Network for Secure Fog Computing,” IEEE Internet of Things Journal, vol. 12, no. 14, pp. 28521-28530, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  45. Rachid Ben Said, Zakaria Sabir, and Iman Askerzade, “CNN-BiLSTM: A Hybrid Deep Learning Approach for Network Intrusion Detection System in Software-Defined Networking with Hybrid Feature Selection,” IEEE Access, vol. 11, pp. 138732-138747, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]