SpaLLM-Guard: Pairing SMS Spam Detection Using Open-source and Commercial LLMs
Muhammad Salman, Muhammad Ikram, Nardine Basta, Mohamed Ali Kaafar

TL;DR
This paper evaluates the effectiveness of various large language models, both open-source and commercial, for SMS spam detection, emphasizing fine-tuning as the most reliable approach to achieve high accuracy and robustness against adversarial attacks and concept drift.
Contribution
It systematically compares different LLM strategies for SMS spam detection and demonstrates fine-tuning as the most effective method for robustness and accuracy.
Findings
Fine-tuning achieves 98.6% accuracy with low false positive/negative rates.
Fine-tuned models are more robust against adversarial manipulations.
Few-shot learning improves detection but varies across models.
Abstract
The increasing threat of SMS spam, driven by evolving adversarial techniques and concept drift, calls for more robust and adaptive detection methods. In this paper, we evaluate the potential of large language models (LLMs), both open-source and commercial, for SMS spam detection, comparing their performance across zero-shot, few-shot, fine-tuning, and chain-of-thought prompting approaches. Using a comprehensive dataset of SMS messages, we assess the spam detection capabilities of prominent LLMs such as GPT-4, DeepSeek, LLAMA-2, and Mixtral. Our findings reveal that while zero-shot learning provides convenience, it is unreliable for effective spam detection. Few-shot learning, particularly with carefully selected examples, improves detection but exhibits variability across models. Fine-tuning emerges as the most effective strategy, with Mixtral achieving 98.6% accuracy and a balanced…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpam and Phishing Detection · Advanced Malware Detection Techniques · Network Security and Intrusion Detection
