Skip to content
Conference Open access

Size Does Matter: The Impact of Embedding Models and Sizes on Spam Email Classification

2026 · International Conference on Security and Cryptography · pp. 841-851 · 0 citations · 29 references
Computer Science

TL;DR

This work empirically compares a diverse set of sentence embedders to assess how model type and embedding dimensionality influence downstream email spam classification, showing that embedder choice - especially embedding size - substantially affects classification performance and generalisation.

Abstract

: Spam and phishing emails remain a major cybersecurity challenge, even after decades of research into reliable detection methods. Modern ML-based spam filters typically rely on text embeddings to represent email content, yet the choice of embedding model and size is often treated as secondary. This work empirically compares a diverse set of sentence embedders to assess how model type and embedding dimensionality influence downstream email spam classification. Using both classical and ML-based classifiers, we evaluate performance across multiple embedding configurations. Our results show that embedder choice - especially embedding size - substantially affects classification performance and generalisation. We observe performance differences of up to 13% overall, alongside variations of 25% in misclassified spam and 10% in misclassified ham across embedders. These findings highlight that embedding models are not interchangeable; rather, their deliberate selection is just as critical as choosing the right classifier when designing AI-based spam detection pipelines.

Read PDF

Similar papers

Conference Jul 2026

Performance and Explainability of Open-Weight Large Language Models for Spam Email Detection

Despite the advancements made by researchers, spam emails remain one of the biggest challenges in the field of cybersecurity. Spam emails can serve as phishing emails or carry viruses that compromise the security of an organization's system. Current detection techniques depend on supervised learning or rely on cloud-ba...

Vusal Shahbazov · 0 citations
Open access Aug 2026

Email Security: Predictive Analysis of Spam Detection Using Machine Learning

The proposed system utilizes textual features such as word frequency, message structure, and content patterns to classify emails as spam or legitimate (ham) through supervised learning techniques, and is developed using Python and Scikit-learn.

M. K, S. Nandhini · 0 citations
Review Open access Jul 2026

A Comprehensive Review of Long Short-term Memory Network for Email Spam Detection

This paper aims to explore the state of the art in LSTM networks for email spam detection and present a systematic approach to their use and combine them with other deep learning methods, for instance, Convolutional Neural Networks (CNNs), to enhance their ability to extract more durable features from email.

Ekramul Haque Tusher, Mohd Arfian Ismail, Nurfadhilah Idris et al. · 0 citations
Preprint Sep 2026

Johnny Still Receives Spam SMS: Assessing the Robustness of SMS Spam Detection

A multi-model ensemble that combines adversarial training with spam classifiers diverse in architecture and tokenization substantially improves robustness against both perceptible and imperceptible adversarial attacks while maintaining competitive classification accuracy.

M. Salman, Muhammad Islam, Muhammad Ikram et al. · 0 citations
Open access Aug 2026

INTERPRETABLE MACHINE LEARNING FOR DETECTION OF SPAMBOTS AND FAKE FOLLOWERS ON SOCIAL NETWORKS USING FEATURE BASED AND TEXT BASED

A combination of feature selection, advanced resampling, and ensemble learning algorithms and interpretable methods of robust social network automatic recognition of accounts is demonstrated to be working.

K. S. Prasad, S. V. Achutha Rao · 0 citations
Conference Aug 2026

Spam Email Detection and Categorization using Deep Learning Techniques

Email has become one of the most widely used forms of communication. Email spam refers to unsolicited messages sent in large volumes. While some spam emails may contain useful information, most are unwanted and can lead to online fraud. Therefore, filtering spam emails from legitimate ones is essential. Effective categ...

Keerththana Kishalathan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.