Comparative Analysis of Transformer-Based and ClassicalMachine Learning Models for Phishing Email Detection:A Multi-Source Dataset Evaluation with Explainability
This paper compares five classifiers: Multinomial Naive Bayes, Random Forest, Bidirectional Long Short-Term Memory, BiLSTM, DistilBERT, and BERT-base, and finds that BERT-base achieves the highest F1-score and DistilBERT the lowest, representing the strongest accuracy–latency trade-off in the evaluated environment.
Abstract
Phishing remains one of the most persistent cyber threats, particularly in email environments where deceptive messages can be distributed at scale. This paper compares five classifiers: Multinomial Naive Bayes, Random Forest, Bidirectional Long Short-Term Memory (BiLSTM), DistilBERT, and BERT-base. A multi-source corpus of 82,689 cleaned and deduplicated emails was built from nine public datasets. Under a unified protocol, BERT-base achieved the highest F1-score (0.9824), while DistilBERT obtained an almost identical F1-score (0.9822) with lower measured inference latency (1.130 versus 2.218 ms/email), representing the strongest accuracy–latency trade-off in the evaluated environment. LIME explanations exposed plausible phishing indicators, such as urgency and account-verification language, but also mixed local contributions that require cautious interpretation. In the source-held-out experiment, the positive-class prevalence changed from 41.1% in training to 26.6% in testing, and DistilBERT produced 505 false negatives but only two false positives. Consequently, recall decreased from 0.9750 to 0.5346, showing that high mixed-source test performance does not guarantee robustness when complete data sources are unseen.
Phishing email detection has increasingly benefited from deep neural models and transformer-based language representations. However, many operational security settings still require detectors that are transparent, low-latency, auditable, and deployable without GPU resources. This paper presents an explainable phishing...
T. Onitiju, Swapnoneel Roy, Debajyoti Mukhopadhyay· International Symposium on N...· 0 citations
Nowadays, email is the world’s primary communication channel, making it a dominant vector for phishing attacks that exploit urgency, authority, and trust. Advances in Large Language Models (LLMs) have intensified this threat by enabling attackers to generate persuasive, context-aware, and multilingual phishing emails a...
Farouk Aziz, Norbert Oláh· Proceedings of the 13th Inte...· 0 citations
Phishing remains the leading initial-access vector in modern cyberattacks, and the emergence of large language models (LLMs) has made social-engineering content easier to produce and harder to distinguish from legitimate communication. This paper reviews recent (2023-2026) research on artificial-intelligence-based phis...
Muhammad Azeem Afzal, Usama Ahmad Mughal, Malik Hammad Hussain et al.· International Journal of Eme...· 0 citations
Email spam and phishing remain one of the threats in the information era that harms information and financial security. This study, based on machine learning methods, uses a Kaggle dataset containing over 250,000 samples to classify emails into three categories: legitimate, phishing, and spam. A pre-processing pipeline...
External validation against ten official Iraqi university websites resulted in correct classification with no false positives, demonstrating that the proposed phishing detection model is reliable.
T. Omar· Engineering, Technology &...· 0 citations
: Phishing remains one of the most persistent attack vectors in cybersecurity, and the gradient-boosting models that now dominate its automated detection are frequently deployed as opaque classifiers, which limits analyst trust and slows incident response. This paper presents a cross-dataset, explainability-driven eval...
S. M. Nihal Ahmed, Afrim Hossen Khan, Mahmudur Rashid· Journal of Cyber Security· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.