[Paper Review] FedEmail: Performance Measurement of Privacy-friendly Phishing Detection Enabled by Federated Learning.
This paper proposes FedEmail, a federated learning (FL)-based framework for privacy-preserving phishing email detection using a Recurrent Convolutional Neural Network. It demonstrates that FL achieves comparable testing accuracy (~98%) to centralized learning across diverse data distributions, with a communication overhead of 0.179 GB per global epoch, and enables fast convergence via transfer learning when integrating new clients.
Artificial intelligence (AI) has been applied in phishing email detection. Typically, it requires rich email data from a collection of sources, and the data usually contains private information that needs to be preserved. So far, AI techniques are solely focusing on centralized data training that eventually accesses sensitive raw email data from the collected data repository. Thus, a privacy-friendly AI technique such as federated learning (FL) is a desideratum. FL enables learning over distributed email datasets to protect their privacy without the requirement of accessing them during the learning in a distributed computing framework. This work, to the best of our knowledge, is the first to investigate the applicability of training email anti-phishing model via FL. Building upon the Recurrent Convolutional Neural Network for phishing email detection, we comprehensively measure and evaluate the FL-entangled learning performance under various settings, including balanced and imbalanced data distribution among clients, scalability, communication overhead, and transfer learning. Our results positively corroborate comparable performance statistics of FL in phishing email detection to centralized learning. As a trade-off to privacy and distributed learning, FL has a communication overhead of 0.179 GB per global epoch per its clients. Our measurement-based results find that FL is suitable for practical scenarios, where data size variation, including the ratio of phishing to legitimate email samples, among the clients, are present. In all these scenarios, FL shows a similar performance of testing accuracy of around 98%. Besides, we demonstrate the integration of the newly joined clients with time in FL via transfer learning to improve the client-level performance. The transfer learning-enabled training results in the improvement of the testing accuracy by up to 2.6% and fast convergence.
Motivation & Objective
- To address the privacy risks associated with centralized training of phishing detection models that require access to sensitive email data.
- To investigate the feasibility and performance of federated learning (FL) in training anti-phishing models across distributed email datasets without centralizing raw data.
- To evaluate FL performance under realistic conditions such as data imbalance, varying client data sizes, and dynamic client participation.
- To explore the integration of new clients into the FL system using transfer learning to enhance client-level model accuracy and convergence speed.
Proposed method
- Employs a Recurrent Convolutional Neural Network (RCNN) as the base model for phishing email detection in a FL setting.
- Deploys a federated averaging (FedAvg) algorithm to aggregate local model updates from distributed clients without sharing raw email data.
- Implements transfer learning by initializing new clients' models with the global FL model to accelerate convergence and improve performance.
- Evaluates system performance across multiple configurations, including balanced and imbalanced data distributions, varying client numbers, and different communication rounds.
- Measures communication overhead per global epoch, quantifying the trade-off between privacy and efficiency.
- Conducts ablation studies on scalability, data heterogeneity, and transfer learning effectiveness in real-world deployment scenarios.
Experimental results
Research questions
- RQ1Can federated learning achieve comparable phishing detection accuracy to centralized learning while preserving data privacy?
- RQ2How does data imbalance across clients affect the performance of FL-based phishing detection models?
- RQ3What is the communication overhead of FL in a distributed email detection setting, and is it scalable for real-world deployment?
- RQ4Can transfer learning effectively improve the performance and convergence speed of newly joined clients in the FL system?
- RQ5How does the system perform under varying client data sizes and phishing-to-legitimate email ratios?
Key findings
- FedEmail achieves a testing accuracy of approximately 98% across all evaluated settings, demonstrating performance comparable to centralized learning.
- The communication overhead is 0.179 GB per global epoch per client, representing a measurable but manageable trade-off for enhanced privacy.
- FL maintains consistent performance even under data imbalance and varying data sizes among clients, indicating robustness to real-world data heterogeneity.
- Transfer learning enables newly joined clients to achieve up to a 2.6% improvement in testing accuracy compared to training from scratch.
- Transfer learning also accelerates convergence, reducing the number of training rounds required for new clients to reach high performance.
- The system scales effectively across different numbers of clients and remains stable under diverse data distribution patterns.
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.