mlsanityData to 7 Oct 2026

Classifying spam emails using agglomerative hierarchical clustering and a topic-based approach

arXiv 2402.05296 ↗First posted 7 Feb 2024cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Spam emails are unsolicited, annoying and sometimes harmful messages which may contain malware, phishing or hoaxes. Unlike most studies that address the design of efficient anti-spam filters, we approach the spam email problem from a different and novel perspective. Focusing on the needs of cybersecurity units, we follow a topic-based approach for addressing the classification of spam email into multiple categories. We propose SPEMC-15K-E and SPEMC-15K-S, two novel datasets with approximately 15K emails each in English and Spanish, respectively, and we label them using agglomerative hierarchical clustering into 11 classes. We evaluate 16 pipelines, combining four text representation techniques -Term Frequency-Inverse Document Frequency (TF-IDF), Bag of Words, Word2Vec and BERT- and four classifiers: Support Vector Machine, N"aive Bayes, Random Forest and Logistic Regression. Experimental results show that the highest performance is achieved with TF-IDF and LR for the English dataset, with a F1 score of 0.953 and an accuracy of 94.6%, and while for the Spanish dataset, TF-IDF with NB yields a F1 score of 0.945 and 98.5% accuracy. Regarding the processing time, TF-IDF with LR leads to the fastest classification, processing an English and Spanish spam email in and on average, respectively.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 52 references that are in the map. First posted on arXiv 7 Feb 2024.

Builds on

9 of 52 references.

References · 9

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  5. 2017Multi-label Dataless Text Classification with Topic Modelingcited by 14
  6. 2019The History of Digital Spamcited by 11
  7. 2021Measuring the impact of spammers on e-mail and Twitter networkscited by 5
  8. 2020Classification of Spam Emails through Hierarchical Clustering and Supervised Learningcited by 4
  9. 2024Automatic Construction of Multi-faceted User Profiles using Text Clustering and its Application to Expert Recommendation and Filtering Problemscited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.