Federated Learning Approaches for IoT Intrusion Detection Based on FedAvg and FedProx on IID and Non-IID Data

The increasing complexity of cyberattacks in the Internet of Things (IoT) architecture demands an Intrusion Detection System (IDS) that is not only accurate but also maintains data privacy. Conventional IDS are based on a centralized architecture, which is prone to a single point of failure and risks causing data leakage. To address this issue, Federated Learning (FL) is an innovative IDS approach that enables collaborative model training without the need to transmit raw data. However, the effectiveness of FL is highly dependent on the selection of the aggregation method, as it directly affects model convergence, detection accuracy, and system robustness, especially when faced with non-IID conditions. This research proposes a FL-based CIDS using two aggregation methods, namely FedAvg and FedProx, to evaluate the performance of attack detection on the CICIoT2023 dataset. Experiments were conducted with IID and non-IID data distribution scenarios using Deep Neural Network (DNN) as the classification model. The results show that in the IID scenario, FedAvg and FedProx both achieved high accuracy reaching 98.75%. However, in the non-IID scenario, FedProx with a regularization value of μ set to 1.0 performed best, with accuracy reaching 98.44%, outperforming FedAvg consistently. This finding confirms that FedProx is superior in handling non-IID data distribution while maintaining data security and confidentiality in IoT environments.

Authors

Institutions

Publication Details

Published
2025-07-30
DOI
https://doi.org/10.1109/icoict66265.2025.11192987
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Federated Learning Approaches for IoT Intrusion Detection Based on FedAvg and FedProx on IID and Non-IID Data

Yudha Purwanto, Favian Dewanta, Satria W. Herlambang
Network Security and Intrusion Detection
article

Federated Learning Approaches for IoT Intrusion Detection Based on FedAvg and FedProx on IID and Non-IID Data

Yudha Purwanto, Favian Dewanta, Satria W. Herlambang
article en

Abstract

The increasing complexity of cyberattacks in the Internet of Things (IoT) architecture demands an Intrusion Detection System (IDS) that is not only accurate but also maintains data privacy. Conventional IDS are based on a centralized architecture, which is prone to a single point of failure and risks causing data leakage. To address this issue, Federated Learning (FL) is an innovative IDS approach that enables collaborative model training without the need to transmit raw data. However, the effectiveness of FL is highly dependent on the selection of the aggregation method, as it directly affects model convergence, detection accuracy, and system robustness, especially when faced with non-IID conditions. This research proposes a FL-based CIDS using two aggregation methods, namely FedAvg and FedProx, to evaluate the performance of attack detection on the CICIoT2023 dataset. Experiments were conducted with IID and non-IID data distribution scenarios using Deep Neural Network (DNN) as the classification model. The results show that in the IID scenario, FedAvg and FedProx both achieved high accuracy reaching 98.75%. However, in the non-IID scenario, FedProx with a regularization value of μ set to 1.0 performed best, with accuracy reaching 98.44%, outperforming FedAvg consistently. This finding confirms that FedProx is superior in handling non-IID data distribution while maintaining data security and confidentiality in IoT environments.

Telkom University (ID)
Openalex Percentile: Top 66%
Network Security and Intrusion Detection
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.