Hierarchical Personalized Federated Learning for Fine-Grained Intrusion Detection: A Multi-Class Analysis in Heterogeneous Attack Environments
Abul Kalam Azad, Travis Atkison
Abstract
Intrusion Detection Systems (IDS) play a vital role in protecting modern network infrastructures. Although Federated Learning (FL) enables collaborative training without sharing raw network traffic, global models struggle with non-IID attack distributions. Moreover, practical security operations require fine-grained attack classification for targeted threat responses. To address these challenges, this paper investigates the convergence dynamics and performance of Hierarchical Personalized Federated Learning (HPFL), which combines multi-tier aggregation with client-level personalization, for 8-class, 6-class, and 4-class intrusion detection using Multi-Layer Perceptron (MLP) models implemented in NVIDIA FLARE on the CICIDS2017 dataset. Experimental results show that personalized HPFL models achieve micro F1-scores up to 0.9911 in the 6-class task, while the overall local accuracy reaches 0.9975 in the 8-class task. On 8-class local test sets, HPFL achieves a micro F1-score of 0.9901 and a macro F1-score of 0.8324, outperforming FedAvg (0.7176) and FedProx (0.5624) in macro F1. Cross-client evaluations demonstrate out-of-distribution generalization, with HPFL achieving a 4-class micro F1-score of 0.9294 compared with 0.9140 for standalone local models. Furthermore, distance-weighted network analysis estimates a 48.9% reduction in transmission overhead compared with conventional FL (194.4 MB vs. 380.3 MB for the 8-class task). These findings demonstrate HPFLs potential as an accurate, privacy-preserving, and communication-efficient approach to fine-grained intrusion detection in heterogeneous networks.
Create a lesson
Related papers
Replay-Augmented Regularisation for Class-Incremental Network Intrusion Detection: A Three-Dataset Evaluation of EWC and LwF
Shared title terminology · Mohammed Fackruddin Tusher, Muhammad Iqbal Hossain
Enhancing Metaverse Security using Explainable AI-based Intrusion Detection Framework
Shared title terminology · Esha Kuppanda, Shalaka Mahadik, Pranav M. Pawar et al.
A Unified Framework for Intelligent Cyber Attack Detection and Alert Correlation
Shared title terminology · Miguel Silva, João Vitorino, Daniela Pinto et al.
Phantom of the Masquerade: Graph Neural Network-Based Detection of Masquerade Attacks in Controller Area Networks
Shared title terminology · Nehal Ameen, Pablo Moriano, Irfan Ahmed
Attacks and Defenses in Decentralized Multi-Agent Systems with Hop-by-Hop Task Decomposition and Delegation
Shared title terminology · Matthew D. Laws, Maria Lazou, Alina Oprea et al.
FlowSH: Detecting Web Attacks by Correlating Anomalous Network Flows and Endpoint Logs
Shared title terminology · Nuno Durão, Rodrigo Branco, Vinicius V. Cogo et al.