Skip to main content
QUICK REVIEW

[Paper Review] Evaluation of Federated Learning in Phishing Email Detection

Chandra Thapa, Jun Tang|arXiv (Cornell University)|Jul 27, 2020
Spam and Phishing DetectionComputer Science5 citations
TL;DR

This paper evaluates Federated Learning (FL) for phishing email detection using deep neural networks—RNN-based THEMIS and BERT—showing FL achieves performance comparable to centralized learning under balanced data, but accuracy drops by 1.8% when scaling from 2 to 10 organizations with fixed data. BERT shows improved accuracy (up to +0.6%) under increasing organization counts when data scales, while extreme data imbalance degrades performance, especially for THEMIS.

ABSTRACT

The use of Artificial Intelligence (AI) to detect phishing emails is primarily dependent on large-scale centralized datasets, which opens it up to a myriad of privacy, trust, and legal issues. Moreover, organizations are loathed to share emails, given the risk of leakage of commercially sensitive information. So, it is uncommon to obtain sufficient emails to train a global AI model efficiently. Accordingly, privacy-preserving distributed and collaborative machine learning, particularly Federated Learning (FL), is a desideratum. Already prevalent in the healthcare sector, questions remain regarding the effectiveness and efficacy of FL-based phishing detection within the context of multi-organization collaborations. To the best of our knowledge, the work herein is the first to investigate the use of FL in email anti-phishing. This paper builds upon a deep neural network model, particularly RNN and BERT for phishing email detection. It analyzes the FL-entangled learning performance under various settings, including balanced and asymmetrical data distribution. Our results corroborate comparable performance statistics of FL in phishing email detection to centralized learning for balanced datasets, and low organization counts. Moreover, we observe a variation in performance when increasing organizational counts. For a fixed total email dataset, the global RNN based model suffers by a 1.8% accuracy drop when increasing organizational counts from 2 to 10. In contrast, BERT accuracy rises by 0.6% when going from 2 to 5 organizations. However, if we allow increasing the overall email dataset with the introduction of new organizations in the FL framework, the organizational level performance is improved by achieving a faster convergence speed. Besides, FL suffers in its overall global model performance due to highly unstable outputs if the email dataset distribution is highly asymmetric.

Motivation & Objective

  • To investigate the feasibility and effectiveness of Federated Learning (FL) in collaborative phishing email detection across multiple organizations.
  • To evaluate FL performance using state-of-the-art deep learning models—THEMIS (RNN-based) and BERT—under real-world constraints like data imbalance and scalability.
  • To assess whether FL can achieve detection accuracy comparable to centralized learning while preserving email data privacy.
  • To analyze the impact of data distribution skew and increasing client count on FL model convergence and performance.
  • To identify challenges in FL deployment for phishing detection, including model personalization, data heterogeneity, and security risks.

Proposed method

  • Employs Federated Averaging (FedAvg) for global model aggregation across multiple client organizations without sharing raw email data.
  • Trains two deep learning models—THEMIS (RNN-based) and BERT—on distributed email datasets across clients in a FL framework.
  • Evaluates performance under two data distribution settings: balanced and highly asymmetric data across clients.
  • Measures model accuracy, convergence speed, and generalization across varying numbers of participating organizations (2 to 10).
  • Analyzes the effect of increasing total dataset size with new clients on client-level and global model performance.
  • Assesses robustness under extreme data skew and evaluates model stability and convergence behavior.

Experimental results

Research questions

  • RQ1Can Federated Learning achieve detection performance comparable to centralized learning in phishing email detection?
  • RQ2How does data imbalance across client organizations affect the performance of FL-based phishing detection models?
  • RQ3How does increasing the number of participating organizations impact model accuracy and convergence speed in FL?
  • RQ4Does scaling the total dataset size with new clients improve client-level and global model performance in FL?
  • RQ5How do different deep learning architectures (THEMIS vs. BERT) perform under FL with varying data distributions?

Key findings

  • FL achieves performance comparable to centralized learning when data is balanced and the number of organizations is low.
  • For a fixed total dataset, the global RNN-based model (THEMIS) suffers a 1.8% accuracy drop when scaling from 2 to 10 organizations.
  • BERT accuracy improves by 0.6% when scaling from 2 to 5 organizations, indicating better scalability under increasing data volume.
  • When the total dataset grows with new clients, client-level performance improves and convergence speed increases.
  • Highly asymmetric data distribution leads to unstable model outputs, with BERT showing greater robustness than THEMIS under extreme skew.
  • Model personalization effects worsen with more clients, reducing global model performance and increasing variance in local accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.