Hybrid Email Filtering Using TF-IDF and BERT Enhanced Spam Detector

Email spam detection is a crucial cybersecurity challenge requiring accurate and efficient filtering methods. This study introduces the TF-IDF and BERT Enhanced Spam Detector (TBESD), a hybrid deep learning model that integrates statistical and contextual text analysis for robust spam classification. TF-IDF captures essential n-gram patterns, while BERT embeddings extract deep semantic features. These feature vectors are combined and processed through a multilayer perceptron (MLP) with dropout regularization and ReLU activation for optimal classification. The methodology includes text preprocessing (normalization, stopword removal, tokenization), feature extraction (TF-IDF, BERT embeddings), and model training using the Adam optimizer with binary cross-entropy loss. Evaluated on a publicly available dataset, TBESD achieved an impressive accuracy of 98.88%, precision of 98.44%, recall of 99.44%, F1-score of 98.94%, and an AUC score of 0.9990. This study demonstrates the superiority of hybrid models over conventional methods, highlighting the role of advanced NLP techniques in cybersecurity.

Authors

Institutions

Publication Details

Published
2025-06-27
DOI
https://doi.org/10.1109/ncim65934.2025.11160311
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid Email Filtering Using TF-IDF and BERT Enhanced Spam Detector

M. Sohel Rahman, Abdullah Al Prince, Md Abu Talha, Md. Shakhauat Hossan Sumon et al.
Spam and Phishing Detection
article

Hybrid Email Filtering Using TF-IDF and BERT Enhanced Spam Detector

M. Sohel Rahman, Abdullah Al Prince, Md Abu Talha, Md. Shakhauat Hossan Sumon, Md. Nazmus Sakib, Sumit Kanti Sarker, Abdul Al Mahmud Riaz, Sifat Sohanoor
article en

Abstract

Email spam detection is a crucial cybersecurity challenge requiring accurate and efficient filtering methods. This study introduces the TF-IDF and BERT Enhanced Spam Detector (TBESD), a hybrid deep learning model that integrates statistical and contextual text analysis for robust spam classification. TF-IDF captures essential n-gram patterns, while BERT embeddings extract deep semantic features. These feature vectors are combined and processed through a multilayer perceptron (MLP) with dropout regularization and ReLU activation for optimal classification. The methodology includes text preprocessing (normalization, stopword removal, tokenization), feature extraction (TF-IDF, BERT embeddings), and model training using the Adam optimizer with binary cross-entropy loss. Evaluated on a publicly available dataset, TBESD achieved an impressive accuracy of 98.88%, precision of 98.44%, recall of 99.44%, F1-score of 98.94%, and an AUC score of 0.9990. This study demonstrates the superiority of hybrid models over conventional methods, highlighting the role of advanced NLP techniques in cybersecurity.

American International University-Bangladesh (BD), University of South Wales (GB), North South University (BD), Leading University (BD), BRAC University (BD), University of Tulsa (US), University of Wales (GB)
Openalex Percentile: Top 63%
Spam and Phishing Detection
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.

Hybrid Email Filtering Using TF-IDF and BERT Enhanced Spam Detector — M. Sohel Rahman, Abdullah Al Prince, et al. · (2025) | TGRS Research Map | TGRS