[Paper Review] Enabling Privacy-Preserving Cyber Threat Detection with Federated Learning
This paper proposes federated learning (FL) for privacy-preserving cyber threat detection in SMS spam and Android malware classification, enabling collaborative model training without sharing raw data. FL achieves performance comparable to centralized training, resists poisoning attacks with under 0.14% accuracy loss, and bootstrapping strategies significantly improve convergence in non-IID scenarios.
Despite achieving good performance and wide adoption, machine learning based security detection models (e.g., malware classifiers) are subject to concept drift and evasive evolution of attackers, which renders up-to-date threat data as a necessity. However, due to enforcement of various privacy protection regulations (e.g., GDPR), it is becoming increasingly challenging or even prohibitive for security vendors to collect individual-relevant and privacy-sensitive threat datasets, e.g., SMS spam/non-spam messages from mobile devices. To address such obstacles, this study systematically profiles the (in)feasibility of federated learning for privacy-preserving cyber threat detection in terms of effectiveness, byzantine resilience, and efficiency. This is made possible by the build-up of multiple threat datasets and threat detection models, and more importantly, the design of realistic and security-specific experiments. We evaluate FL on two representative threat detection tasks, namely SMS spam detection and Android malware detection. It shows that FL-trained detection models can achieve a performance that is comparable to centrally trained counterparts. Also, most non-IID data distributions have either minor or negligible impact on the model performance, while a label-based non-IID distribution of a high extent can incur non-negligible fluctuation and delay in FL training. Then, under a realistic threat model, FL turns out to be adversary-resistant to attacks of both data poisoning and model poisoning. Particularly, the attacking impact of a practical data poisoning attack is no more than 0.14\% loss in model accuracy. Regarding FL efficiency, a bootstrapping strategy turns out to be effective to mitigate the training delay as observed in label-based non-IID scenarios.
Motivation & Objective
- Address the challenge of collecting privacy-sensitive threat data under regulations like GDPR and CCPA.
- Assess the feasibility of federated learning (FL) for cyber threat detection in terms of effectiveness, robustness, and efficiency.
- Evaluate FL’s resilience to realistic poisoning attacks in security-specific settings.
- Improve FL convergence efficiency in non-IID data distributions common in cyber threat data.
- Provide a reproducible benchmark with datasets and code for future research in privacy-preserving threat detection.
Proposed method
- Built two realistic threat detection datasets: SMS spam and Android malware, using historical and publicly available sources.
- Designed cross-device FL settings with 200–500 clients to simulate real-world deployment.
- Applied label-based non-IID data distribution with Dirichlet parameter α=1 to model extreme data skew.
- Implemented a bootstrapping strategy: pre-trained a CNN model on public datasets (e.g., Genome) before FL fine-tuning.
- Evaluated FL under a realistic threat model with untargeted data and model poisoning attacks.
- Used standard metrics (accuracy, precision, recall) and convergence tracking to assess performance and stability.
Experimental results
Research questions
- RQ1How effective is federated learning in achieving performance comparable to centrally trained models in cyber threat detection tasks?
- RQ2How does non-IID data distribution—especially label-based skew—affect FL convergence and model accuracy in threat detection?
- RQ3How resilient is FL to realistic poisoning attacks (data and model poisoning) in cyber threat detection scenarios?
- RQ4Can bootstrapping strategies mitigate training delays and instability in extreme non-IID FL settings for threat detection?
- RQ5What are the communication and computational efficiency trade-offs in FL-based cyber threat detection?
Key findings
- FL-trained models achieved performance comparable to centrally trained models, with a 98.67% accuracy on the Genome dataset after pre-training.
- Most non-IID data distributions had only minor or negligible impact on model performance, except label-based non-IID with α=1, which caused noticeable training delay and fluctuation.
- Under realistic untargeted poisoning attacks, the maximum accuracy loss was only 0.14%, demonstrating strong byzantine resilience.
- The bootstrapping strategy significantly improved convergence speed and stability in label-based non-IID scenarios, especially with 500 clients.
- The model trained on the held-out test set showed poor performance (68.71% accuracy) without pre-training, highlighting the value of bootstrapping.
- The study released code and datasets at https://github.com/ChaseSecurity/Fostering_Cyber_Threat_Detection_Through_FL for reproducibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.