RF-FedAvg: Federated learning-based random forest model for intrusion detection in wireless sensor networks

Abstract Wireless Sensor Networks (WSNs) play a pivotal role in modern applications, ranging from smart cities to environmental monitoring. However, their inherent vulnerability to security threats, such as denial-of-service attacks and unauthorized access, necessitates the implementation of robust intrusion detection systems (IDS). Traditional IDS frameworks are predominantly centralized, raising significant concerns about data privacy, leakage, and scalability. In this paper, we propose a novel federated learning-based Random Forest architecture (RF-FedAvg) for intrusion detection in WSNs that addresses these limitations. Our method enables decentralized model training across multiple clients without sharing raw data, thereby enhancing privacy and mitigating data leakage. Random Forest models are trained locally on each client and aggregated using a weighted FedAvg strategy at the central server. To reflect real-world deployment scenarios, we evaluate the model under varying client configurations (2 to 5 nodes) and incorporate data balancing techniques such as Random Under Sampling (RUS) and SMOTE to address class imbalance issues common in WSN datasets. Extensive experiments on WSN-DS and UNSW-NB15 datasets demonstrate that the RF-FedAvg model maintains high performance even with fewer clients and imbalanced data. The highest accuracy achieved was 99.67% on WSN-DS with SMOTE and 98.45% on UNSW-NB15, showcasing strong robustness and scalability. These results confirm the effectiveness of our federated learning-based IDS in providing a scalable, privacy-preserving, and reliable solution for intrusion detection in resource-constrained WSNs environments.

Authors

Institutions

Publication Details

Journal
Cluster Computing
Published
2025-09-22
DOI
https://doi.org/10.1007/s10586-025-05591-8
Citations
1
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RF-FedAvg: Federated learning-based random forest model for intrusion detection in wireless sensor networks

Md. Alamin Talukder, Ammar Alazab, Ansam Khraisat, Md. Ashraf Uddin
1 citations
Cluster Computing
Network Security and Intrusion Detection
1.49
article

RF-FedAvg: Federated learning-based random forest model for intrusion detection in wireless sensor networks

Md. Alamin Talukder, Ammar Alazab, Ansam Khraisat, Md. Ashraf Uddin
article en
1 citations

Abstract

Abstract Wireless Sensor Networks (WSNs) play a pivotal role in modern applications, ranging from smart cities to environmental monitoring. However, their inherent vulnerability to security threats, such as denial-of-service attacks and unauthorized access, necessitates the implementation of robust intrusion detection systems (IDS). Traditional IDS frameworks are predominantly centralized, raising significant concerns about data privacy, leakage, and scalability. In this paper, we propose a novel federated learning-based Random Forest architecture (RF-FedAvg) for intrusion detection in WSNs that addresses these limitations. Our method enables decentralized model training across multiple clients without sharing raw data, thereby enhancing privacy and mitigating data leakage. Random Forest models are trained locally on each client and aggregated using a weighted FedAvg strategy at the central server. To reflect real-world deployment scenarios, we evaluate the model under varying client configurations (2 to 5 nodes) and incorporate data balancing techniques such as Random Under Sampling (RUS) and SMOTE to address class imbalance issues common in WSN datasets. Extensive experiments on WSN-DS and UNSW-NB15 datasets demonstrate that the RF-FedAvg model maintains high performance even with fewer clients and imbalanced data. The highest accuracy achieved was 99.67% on WSN-DS with SMOTE and 98.45% on UNSW-NB15, showcasing strong robustness and scalability. These results confirm the effectiveness of our federated learning-based IDS in providing a scalable, privacy-preserving, and reliable solution for intrusion detection in resource-constrained WSNs environments.

Cluster ComputingVol. 28(13)
Crown College (US), Deakin University (AU), International University of Business Agriculture and Technology (BD), Torrens University Australia (AU)
Openalex Percentile: Top 13%
Network Security and Intrusion Detection
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.