ClusterFed: Self-supervised Federated Network Intrusion Detection using Clustering

Saquib Irtiza, Latifur Khan, Kevin W. Hamlen, Kevin S. Chan, Michael J. De Lucia, Murat Kantarcıoğlu, Sharad Mehrotra, Ananthram Swami, B. Thuraisingham2025

Abstract

ClusterFed is a novel clustering-based, self-supervised federated learning approach for intrusion detection in decentralized, heterogeneous flow-based network traffic data. It integrates soft clustering with a relational loss component to optimize local cluster assignments. To maintain globally consistent clusters across clients, ClusterFed also employs knowledge distillation at both local and global levels, effectively countering biases from non-Independent and Identically Distributed (non-IID) data distributions at each client. Unlike existing clustering-based FL methods that transmit additional metadata (e.g., local cluster information) to the server for generalization, ClusterFed minimizes communication overhead and enhances privacy by requiring no client-specific data sharing. This reduces the attack surface, making it substantially more difficult to infer private user information. Furthermore, ClusterFed converges to a globally optimal model in fewer communication rounds compared to existing baselines, leading to a 34% reduction in communication overhead relative to other models. Experiments show that ClusterFed achieves superior performance across different datasets, outperforming both supervised federated and centralized models, as well as other unsupervised FL techniques with the same model backbone. Evaluations on varying heterogeneity of data across clients show that clustering-based FL techniques are well suited for non-IID data distributions.
BibTeX
@misc{irtiza2025clusterfed,
  author = {Saquib Irtiza and Latifur Khan and Kevin W. Hamlen and Kevin S. Chan and Michael J. De Lucia and Murat Kantarcıoğlu and Sharad Mehrotra and Ananthram Swami and B. Thuraisingham},
  title = {{ClusterFed: Self-supervised Federated Network Intrusion Detection using Clustering}},
  year = {2025},
  doi = {10.1109/milcom64451.2025.11310640},
}

Loading related content...

Figure