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
- Vasileios Argyriou (ORCID: https://orcid.org/0000-0003-4679-8049)
- Panagiotis Radoglou‐Grammatikis (ORCID: https://orcid.org/0000-0003-1605-9413)
- Pavlos S. Bouzinis (ORCID: https://orcid.org/0000-0003-4861-475X)
- Panagiotis Sarigiannidis (ORCID: https://orcid.org/0000-0001-6042-0355)
- Ioannis Makris (ORCID: https://orcid.org/0000-0002-6574-8525)
- George K. Karagiannidis (ORCID: https://orcid.org/0000-0001-8810-0345)
- Georgios Th. Papadopoulos (ORCID: https://orcid.org/0000-0003-1686-421X)
- Θωμάς Λάγκας (ORCID: https://orcid.org/0000-0002-0749-9794)
Institutions
- 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)
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
- HORIZON EUROPE Digital, Industry and Space