Explainable Email Spam Detection: A Transformer-based Language Modeling Approach

Email spam, also known as junk email, is any unwanted or irrelevant message that is delivered to a large number of recipients without the recipient's consent. Email communication is undoubtedly efficient and convenient, but there are serious risks associated with its rise in unwanted spam emails. These risks include resource waste and potential cybersecurity breaches. It also serves as a backdoor for malware infections, phishing attempts, and other cyber threats. Transformer-based models have a positive effect on the cybersecurity sector in order to address those cybersecurity concerns. In this research, we use a Bidirectional Encoder Representations from Transformers (BERT) variant, the DistilBERT model, to detect spam emails. For this purpose, we utilize the benchmark Enron spam email dataset, applying several preprocessing techniques to address the noisy data. Our model demonstrates high accuracy, achieving 99.18%. Additionally, to interpret the model's decision-making process, we used Transformers Interpret. This explainability tool provides insights into how our proposed model works and makes its decisions throughout the experiment.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1109/iccit64611.2024.11022595
Citations
4
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
3.12
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable Email Spam Detection: A Transformer-based Language Modeling Approach

Md. Mahiuddin, Mohammad Amaz Uddin, Ali Asgar Chowdhury
4 citations
Spam and Phishing Detection
3.12
article

Explainable Email Spam Detection: A Transformer-based Language Modeling Approach

Md. Mahiuddin, Mohammad Amaz Uddin, Ali Asgar Chowdhury
article en
4 citations

Abstract

Email spam, also known as junk email, is any unwanted or irrelevant message that is delivered to a large number of recipients without the recipient's consent. Email communication is undoubtedly efficient and convenient, but there are serious risks associated with its rise in unwanted spam emails. These risks include resource waste and potential cybersecurity breaches. It also serves as a backdoor for malware infections, phishing attempts, and other cyber threats. Transformer-based models have a positive effect on the cybersecurity sector in order to address those cybersecurity concerns. In this research, we use a Bidirectional Encoder Representations from Transformers (BERT) variant, the DistilBERT model, to detect spam emails. For this purpose, we utilize the benchmark Enron spam email dataset, applying several preprocessing techniques to address the noisy data. Our model demonstrates high accuracy, achieving 99.18%. Additionally, to interpret the model's decision-making process, we used Transformers Interpret. This explainability tool provides insights into how our proposed model works and makes its decisions throughout the experiment.

International Islamic University Chittagong (BD), Metropolitan University (BD)
Openalex Percentile: Top 6%
Spam and Phishing Detection
3.12
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.