EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Federated learning with LSTM for intrusion detection in IoT-based wireless sensor networks: a multi-dataset analysis

Raja Waseem Anwar, Mohammad Abrar iD, Abdu Salam iD, Faizan Ullah iD

PeerJ Computer Science · 28.03.2025 · 11 · e2751

DOI: 10.7717/peerj-cs.2751 ↗

Kurz gefasst

Fachartikel in der Zeitschrift PeerJ Computer Science, online erschienen am 28.03.2025. Verfasst von Raja Waseem Anwar und 3 weiteren Autor:innen. Beteiligte Einrichtung: Department of Computer Science, German University of Technology in Oman, Muscat, Oman. Die Arbeit wurde bisher 70-mal zitiert (Crossref) und nennt 43 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: German University of Technology (GUtech) Muscat, Sultanate of Oman under the Seed.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Intrusion detection in Internet of Things (IoT)-based wireless sensor networks (WSNs) is essential due to their widespread use and inherent vulnerability to security breaches. Traditional centralized intrusion detection systems (IDS) face significant challenges in data privacy, computational efficiency, and scalability, particularly in resource-constrained IoT environments. This study aims to create and assess a federated learning (FL) framework that integrates with long short-term memory (LSTM) networks for efficient intrusion detection in IoT-based WSNs. We design the framework to enhance detection accuracy, minimize false positive rates (FPR), and ensure data privacy, while maintaining system scalability. Using an FL approach, multiple IoT nodes collaboratively train a global LSTM model without exchanging raw data, thereby addressing privacy concerns and improving detection capabilities. The proposed model was tested on three widely used datasets: WSN-DS, CIC-IDS-2017, and UNSW-NB15. The evaluation metrics for its performance included accuracy, F1 score, FPR, and root mean square error (RMSE). We evaluated the performance of the FL-based LSTM model against traditional centralized models, finding significant improvements in intrusion detection. The FL-based LSTM model achieved higher accuracy and a lower FPR across all datasets than centralized models. It effectively managed sequential data in WSNs, ensuring data privacy while maintaining competitive performance, particularly in complex attack scenarios. FL and LSTM networks work well together to make a strong way to find intrusions in IoT-based WSNs, which improves both privacy and detection. This study underscores the potential of FL-based systems to address key challenges in IoT security, including data privacy, scalability, and performance, making the proposed framework suitable for real-world IoT applications.

Schlagwörter

Stichwörter der Autor:innen

Data privacyFederated learningIntrusion detectionIoTLSTMReal-time detectionWireless sensor networks

Autor:innen und Institutionen

  • Department of Computer Science, German University of Technology in Oman, Muscat, Oman.
  • Faculty of Computer Studies, Arab Open University, Muscat, Oman.
  • Department of Computer Science, Abdul Wali Khan University, Mardan, KPK, Pakistan.
  • Department of Computer Science, Bacha Khan University, Charsadda, KPK, Pakistan.

ORCID-Profile: Mohammad Abrar, Abdu Salam, Faizan Ullah

Förderung

  • German University of Technology (GUtech) Muscat
  • Sultanate of Oman under the Seed

Zitieren

APA

Anwar, R. W., Abrar, M., Salam, A., & Ullah, F. (2025). Federated learning with LSTM for intrusion detection in IoT-based wireless sensor networks: a multi-dataset analysis. PeerJ Computer Science, 11, e2751. https://doi.org/10.7717/peerj-cs.2751

Vancouver

Anwar RW, Abrar M, Salam A, Ullah F. Federated learning with LSTM for intrusion detection in IoT-based wireless sensor networks: a multi-dataset analysis. PeerJ Computer Science. 2025;11:e2751. doi:10.7717/peerj-cs.2751

BibTeX
@article{Anwar2025,
  author = {Anwar, Raja Waseem and Abrar, Mohammad and Salam, Abdu and Ullah, Faizan},
  title = {Federated learning with LSTM for intrusion detection in IoT-based wireless sensor networks: a multi-dataset analysis},
  journal = {PeerJ Computer Science},
  year = {2025},
  volume = {11},
  pages = {e2751},
  doi = {10.7717/peerj-cs.2751}
}
Kostenlos starten →