Bouzinis, Pavlos S., Radoglou-Grammatikis, Panagiotis, Makris, Ioannis, Lagkas, Thomas, Argyriou, Vasileios, Papadopoulos, Georgios Th., Sarigiannidis, Panagiotis and Karagiannidis, George K. (2025) StatAvg : mitigating data heterogeneity in federated learning for intrusion detection systems. IEEE Transactions on Network and Service Management, ISSN (online) 1932-4537 (Epub Ahead of Print)
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%.
Actions (Repository Editors)
![]() |
Item Control Page |