Skip to content
Open access

Are large language models effective for detecting spam messages?

Jul 2026 · International Journal of Information Security · Vol 25 · 0 citations · 69 references
Computer Science

TL;DR

Experimental results on English and Korean SMS datasets indicate that LLMs are highly robust for spam detection and can provide interpretable rationales by leveraging their language understanding capabilities, suggesting that LLMs are a highly effective and practical option for modern SMS spam filtering.

Abstract

The widespread global use of short message service (SMS) has heightened the importance of reliable spam detection, as spam messages are not only disruptive but can also facilitate phishing and identity theft. While extensive prior research has explored SMS spam detection using traditional machine learning (ML), deep learning (DL), and transformer-based encoder models, the recent rapid advances in large language models (LLMs) with strong natural language understanding capabilities motivate a fresh, systematic evaluation. In this study, we investigate how effectively LLMs detect SMS spam using both English and Korean datasets. We benchmark representative prior approaches on recent SMS spam corpora and compare them against LLM-based classifiers. Our experiments cover both commercial black-box LLMs and locally deployable white-box models and examine multiple prompting strategies, including zero-shot, few-shot, and chain-of-thought (CoT) prompting. Furthermore, to reflect adversarial characteristics commonly used to evade detection, we evaluate robustness under concept drift and adversarial attack settings. Experimental results on English and Korean SMS datasets indicate that LLMs are highly robust for spam detection and can provide interpretable rationales by leveraging their language understanding capabilities, suggesting that LLMs are a highly effective and practical option for modern SMS spam filtering.

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
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
Open access Jul 2026

A Secure Lightweight SMS Spam Detection Framework with Robustness to Text Obfuscation Attacks

Experimental evaluations on the UCI SMS Spam Collection dataset demonstrate that the TF-IDF-PCA-DT pipeline achieves a detection accuracy of 99% while reducing model size by 77% and inference time by 75%, demonstrating the practicality of the proposed framework for real-world deployment in resource-constrained environm...

Baraa Tareq Hammad, Ismail Taha Ahmed, Mohamed A. Hafez et al. · 0 citations
Conference Open access 2026

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

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.

Malte Josten, Gérald Kämmerer, Arne Kummerow et al. · 0 citations
Open access Jul 2026

Can LLMs Keep Up? Evaluating Phishing Detection on Telegram

The findings in this study highlight the potential and current limitations of LLMs for phishing detection in dynamic instant messaging environments and emphasize the superior performance of platform-tailored models.

Md Erfan, Paula Branco, Guy-Vincent Jourdan · 0 citations
Conference Jul 2026

Benchmarking Classical and Deep Learning Models for Cyberbullying, Spam, and Smishing Detection

SMS spam and smishing detection is an important problem that arise in automatic message filtering systems. Already existing solutions make the use of complex deep learning models that act as black boxes. In this work, we provide a combined comparison of classical machine learning models, ensemble methods as well as dee...

Anurag Mukherjee, Subhas Barman, Rebanta Sarkar et al. · 0 citations

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