Data-driven intrusion detection systems often rely on centralized machine learning, which introduces privacy concerns and high bandwidth consumption. Federated Learning enables collaborative model training across decentralized data sources while keeping raw training data local to clients. While existing FL research has largely focused on optimizing model accuracy, this metric can be misleading for intrusion detection, where datasets can be highly imbalanced and non-IID (nonâindependent and identically distributed). This paper evaluates the performance of several widely used FL aggregation algorithms (FedAvg, FedProx, FedAdam, and FedYogi) on four public IDS datasets (CIC-IDS2017, CSE-CIC-IDS2018, IoTID20, BoT-IoT) in order to identify the algorithm that is best suited for intrusion detection. The focus is on assessing the precision, training behavior, and performance overhead under imbalanced and non-IID data conditions. The results show that no single algorithm consistently outperforms the others, and that dataset characteristics have a significant impact on observed performance.
Funding: The CyREC project funded by Vinnova and the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation.