[Paper Review] Spam Detection Using BERT
The paper builds a spam detector using a pre-trained BERT model and evaluates it on multiple corpora, achieving high accuracy across SMS and email datasets. It demonstrates strong context-aware classification for spam vs. ham.
Emails and SMSs are the most popular tools in today communications, and as the increase of emails and SMSs users are increase, the number of spams is also increases. Spam is any kind of unwanted, unsolicited digital communication that gets sent out in bulk, spam emails and SMSs are causing major resource wastage by unnecessarily flooding the network links. Although most spam mail originate with advertisers looking to push their products, some are much more malicious in their intent like phishing emails that aims to trick victims into giving up sensitive information like website logins or credit card information this type of cybercrime is known as phishing. To countermeasure spams, many researches and efforts are done to build spam detectors that are able to filter out messages and emails as spam or ham. In this research we build a spam detector using BERT pre-trained model that classifies emails and messages by understanding to their context, and we trained our spam detector model using multiple corpuses like SMS collection corpus, Enron corpus, SpamAssassin corpus, Ling-Spam corpus and SMS spam collection corpus, our spam detector performance was 98.62%, 97.83%, 99.13% and 99.28% respectively. Keywords: Spam Detector, BERT, Machine learning, NLP, Transformer, Enron Corpus, SpamAssassin Corpus, SMS Spam Detection Corpus, Ling-Spam Corpus.
Motivation & Objective
- Motivate the need for effective spam detection given rising volumes of email and SMS communications.
- Propose a BERT-based spam detection approach to capture contextual cues in messages.
- Evaluate the model on multiple public corpora to demonstrate generalization across domains.
Proposed method
- Utilize a BERT pre-trained model as the classifier for spam detection.
- Train and evaluate on multiple corpora: SMS collection corpus, Enron corpus, SpamAssassin corpus, Ling-Spam corpus, and SMS spam collection corpus.
- Report performance metrics (accuracy) on each corpus to demonstrate effectiveness.
Experimental results
Research questions
- RQ1Can a BERT-based model achieve high accuracy in classifying spam vs. legitimate messages across diverse corpora?
- RQ2How does the model perform on SMS versus email datasets compared to existing baselines?
- RQ3Is the approach generalizable across multiple spam datasets without dataset-specific tuning?
Key findings
- The model achieves 98.62% accuracy on one corpus, 97.83% on another, 99.13% on a third, and 99.28% on a fourth corpus.
- High performance is demonstrated across SMS and email collections, including Enron, SpamAssassin, Ling-Spam, and SMS spam datasets.
- The results illustrate strong context-aware spam detection using BERT without reporting any lower-bound baselines in the abstract.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.