StatAvg: Mitigating Data Heterogeneity in Federated Learning for Intrusion Detection Systems

Federated learning (FL) enables devices to collaboratively build a shared machine learning (ML) or deep learning (DL) model without exposing raw data. Its privacy-preserving nature has made it popular for intrusion detection systems (IDS) in the field of cybersecurity. However, data heterogeneity across participants poses challenges for FL-based IDS. This paper proposes statistical averaging (StatAvg) method to alleviate non-independently and identically (non-iid) distributed features across local clients’ data in FL. In particular, StatAvg allows the FL clients to share their individual local data statistics with the server. These statistics include the mean and variance of each client’s feature vector. The server then aggregates this information to produce global statistics, which are shared with the clients and used for universal data normalization, i.e., common scaling of the input features by all clients. It is worth mentioning that StatAvg can seamlessly integrate with any FL aggregation strategy, as it occurs before the actual FL training process. The proposed method is evaluated against well-known baseline approaches that rely on batch and layer normalization, such as FedBN, and address the non-iid features issue in FL. Experiments were conducted using the TON-IoT and CIC-IoT-2023 datasets, which are relevant to the design of host and network IDS, respectively. The experimental results demonstrate the efficiency of StatAvg in mitigating non-iid feature distributions across the FL clients compared to the baseline methods, offering a gain in IDS accuracy ranging from 4% to 17%.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Network and Service Management
Published
2025-04-25
DOI
https://doi.org/10.1109/tnsm.2025.3564387
Citations
12
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
17.85

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

StatAvg: Mitigating Data Heterogeneity in Federated Learning for Intrusion Detection Systems

Vasileios Argyriou, Panagiotis Radoglou‐Grammatikis, Pavlos S. Bouzinis, Panagiotis Sarigiannidis et al.
12 citations
IEEE Transactions on Network and Service Management
Network Security and Intrusion Detection
17.85
article

StatAvg: Mitigating Data Heterogeneity in Federated Learning for Intrusion Detection Systems

Vasileios Argyriou, Panagiotis Radoglou‐Grammatikis, Pavlos S. Bouzinis, Panagiotis Sarigiannidis, Ioannis Makris, George K. Karagiannidis, Georgios Th. Papadopoulos, Θωμάς Λάγκας
article en
12 citations

Abstract

Federated learning (FL) enables devices to collaboratively build a shared machine learning (ML) or deep learning (DL) model without exposing raw data. Its privacy-preserving nature has made it popular for intrusion detection systems (IDS) in the field of cybersecurity. However, data heterogeneity across participants poses challenges for FL-based IDS. This paper proposes statistical averaging (StatAvg) method to alleviate non-independently and identically (non-iid) distributed features across local clients’ data in FL. In particular, StatAvg allows the FL clients to share their individual local data statistics with the server. These statistics include the mean and variance of each client’s feature vector. The server then aggregates this information to produce global statistics, which are shared with the clients and used for universal data normalization, i.e., common scaling of the input features by all clients. It is worth mentioning that StatAvg can seamlessly integrate with any FL aggregation strategy, as it occurs before the actual FL training process. The proposed method is evaluated against well-known baseline approaches that rely on batch and layer normalization, such as FedBN, and address the non-iid features issue in FL. Experiments were conducted using the TON-IoT and CIC-IoT-2023 datasets, which are relevant to the design of host and network IDS, respectively. The experimental results demonstrate the efficiency of StatAvg in mitigating non-iid feature distributions across the FL clients compared to the baseline methods, offering a gain in IDS accuracy ranging from 4% to 17%.

IEEE Transactions on Network and Service ManagementVol. 22(4)
Democritus University of Thrace (GR), Kingston University London (GB), Aristotle University of Thessaloniki (GR), Harokopio University of Athens (GR), Technological Educational Institute of Eastern Macedonia and Thrace (GR), University of Western Macedonia (GR)
HORIZON EUROPE Digital, Industry and Space
Openalex Percentile: Top 1%
Network Security and Intrusion Detection
17.85
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.