An explainable transformer-based model for phishing email detection: A large language model approach

Phishing email is a serious cyber threat that tries to deceive users by sending false emails with the intention of stealing confidential information or causing financial harm. Attackers, often posing as trustworthy entities, exploit technological advancements and sophistication to make the detection and prevention of phishing more challenging. Despite extensive academic research, phishing detection remains an ongoing and formidable challenge in the cybersecurity landscape. In this research paper, we present a fine-tuned transformer-based masked language model, RoBERTa (Robustly Optimized BERT Pretraining Approach), for phishing email detection. In the detection process, we employ a phishing email dataset and apply the preprocessing techniques to clean and address the class imbalance issues, thereby enhancing model performance. The results of the experiment demonstrate that our fine-tuned model outperforms traditional machine learning models with an accuracy of 98.45%. To ensure model transparency and user trust, we propose a hybrid explanation approach, LITA (LIME-Transformer Attribution), which integrates the potential of Local Interpretable Model-Agnostic Explanations (LIME) and Transformers Interpret methods. The proposed method provides more consistent and user-friendly insights, mitigating local attribution inconsistencies between the two explanation approaches. Moreover, the study highlights the model's ability to generate its predictions by presenting positive and negative contribution scores using LIME, Transformers Interpret, and LITA.

Authors

Publication Details

Journal
Computer Networks
Published
2026-01-28
DOI
https://doi.org/10.1016/j.comnet.2026.112061
Citations
4
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
99.41
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An explainable transformer-based model for phishing email detection: A large language model approach

Iqbal H. Sarker, Mohammad Amaz Uddin, Md Mahiuddin
4 citations
Computer Networks
Spam and Phishing Detection
99.41
article

An explainable transformer-based model for phishing email detection: A large language model approach

Iqbal H. Sarker, Mohammad Amaz Uddin, Md Mahiuddin
article en
4 citations

Abstract

Phishing email is a serious cyber threat that tries to deceive users by sending false emails with the intention of stealing confidential information or causing financial harm. Attackers, often posing as trustworthy entities, exploit technological advancements and sophistication to make the detection and prevention of phishing more challenging. Despite extensive academic research, phishing detection remains an ongoing and formidable challenge in the cybersecurity landscape. In this research paper, we present a fine-tuned transformer-based masked language model, RoBERTa (Robustly Optimized BERT Pretraining Approach), for phishing email detection. In the detection process, we employ a phishing email dataset and apply the preprocessing techniques to clean and address the class imbalance issues, thereby enhancing model performance. The results of the experiment demonstrate that our fine-tuned model outperforms traditional machine learning models with an accuracy of 98.45%. To ensure model transparency and user trust, we propose a hybrid explanation approach, LITA (LIME-Transformer Attribution), which integrates the potential of Local Interpretable Model-Agnostic Explanations (LIME) and Transformers Interpret methods. The proposed method provides more consistent and user-friendly insights, mitigating local attribution inconsistencies between the two explanation approaches. Moreover, the study highlights the model's ability to generate its predictions by presenting positive and negative contribution scores using LIME, Transformers Interpret, and LITA.

Computer NetworksVol. 277
Reduced inequalities
Openalex Percentile: Top 0%
Spam and Phishing Detection
99.41
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.

An explainable transformer-based model for phishing email detection: A large language model approach — Iqbal H. Sarker, Mohammad Amaz Uddin, et al. · Computer Networks (2026) | TGRS Research Map | TGRS