SAFE-IDS: A privacy-preserving framework for overcoming non-IID challenges in federated intrusion detection

Federated learning has advanced intrusion detection systems (IDS) by enabling collaborative model training without requiring direct data sharing. This approach allows multiple institutions to contribute to and benefit from a shared model, enhancing detection capabilities. Despite these advances, the security of model updates remains a significant concern, as malicious actors may reverse-engineer the underlying data from these updates. Additionally, existing federated learning techniques struggle with non-IID (non-Independent and Identically Distributed) data distributions and are vulnerable to inference attacks on model updates. For example, methods like SignSGD , while providing some privacy benefits through gradient sign manipulation, suffer from accuracy degradation, especially when dealing with non-IID data. Similarly, FedAvg , while effective in handling non-IID data, is prone to privacy breaches as it transmits full model updates, potentially revealing sensitive information. To address these challenges, we propose SAFE-IDS , a novel framework combining gradient sign-based aggregation with the zSignFedAvg optimizer. Unlike SignSGD , it incorporates a unified learning rate and weighted loss function to mitigate accuracy loss in non-IID settings. Additionally, while FedAvg shares full model updates, SAFE-IDS only shares gradient signs, enhancing privacy. The integration of zSignFedAvg balances privacy and convergence speed, accelerating convergence and improving robustness, particularly for class imbalance. Notably, SAFE-IDS is the first federated network intrusion detection system that effectively maintains privacy while adeptly managing non-IID data. Our empirical evaluation demonstrates that SAFE-IDS achieves an impressive accuracy of up to 99.74% across various IDS datasets and a varying number of clients, proving its effectiveness in both securing client data and maintaining high model performance.

Authors

Institutions

Publication Details

Journal
Computers & Security
Published
2025-04-21
DOI
https://doi.org/10.1016/j.cose.2025.104492
Citations
4
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
5.95
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SAFE-IDS: A privacy-preserving framework for overcoming non-IID challenges in federated intrusion detection

Ji Sun Shin, Alimov Abdulboriy Abdulkhay ugli
4 citations
Computers & Security
Network Security and Intrusion Detection
5.95
article

SAFE-IDS: A privacy-preserving framework for overcoming non-IID challenges in federated intrusion detection

Ji Sun Shin, Alimov Abdulboriy Abdulkhay ugli
article en
4 citations

Abstract

Federated learning has advanced intrusion detection systems (IDS) by enabling collaborative model training without requiring direct data sharing. This approach allows multiple institutions to contribute to and benefit from a shared model, enhancing detection capabilities. Despite these advances, the security of model updates remains a significant concern, as malicious actors may reverse-engineer the underlying data from these updates. Additionally, existing federated learning techniques struggle with non-IID (non-Independent and Identically Distributed) data distributions and are vulnerable to inference attacks on model updates. For example, methods like SignSGD , while providing some privacy benefits through gradient sign manipulation, suffer from accuracy degradation, especially when dealing with non-IID data. Similarly, FedAvg , while effective in handling non-IID data, is prone to privacy breaches as it transmits full model updates, potentially revealing sensitive information. To address these challenges, we propose SAFE-IDS , a novel framework combining gradient sign-based aggregation with the zSignFedAvg optimizer. Unlike SignSGD , it incorporates a unified learning rate and weighted loss function to mitigate accuracy loss in non-IID settings. Additionally, while FedAvg shares full model updates, SAFE-IDS only shares gradient signs, enhancing privacy. The integration of zSignFedAvg balances privacy and convergence speed, accelerating convergence and improving robustness, particularly for class imbalance. Notably, SAFE-IDS is the first federated network intrusion detection system that effectively maintains privacy while adeptly managing non-IID data. Our empirical evaluation demonstrates that SAFE-IDS achieves an impressive accuracy of up to 99.74% across various IDS datasets and a varying number of clients, proving its effectiveness in both securing client data and maintaining high model performance.

Computers & SecurityVol. 155
Sejong University (KR), Korea Institute of Science & Technology Information (KR)
Openalex Percentile: Top 4%
Network Security and Intrusion Detection
5.95
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.