Abstract
This study evaluates feature extraction techniques and classifiers for detecting SMS spam. We compared six classifiers: Naive Bayes, K-Nearest Neighbors, Support Vector Machines, Linear Discriminant Analysis, Decision Trees, and Deep Neural Networks, using both bag-of-words and TF-IDF. Results show TF-IDF consistently outperforms bag-of-words, with Naive Bayes achieving the highest accuracy (96.2%) and strong precision for non-spam (0.976). Support Vector Machines (94.5% accuracy) and Deep Neural Networks (91.0% accuracy) also performed well. In contrast, K-Nearest Neighbours, Linear Discriminant Analysis, and Decision Trees were less effective. Findings highlight TF-IDF with Naive Bayes, SVMs, or DNNs as optimal for spam detection.
| Original language | English |
|---|---|
| Pages (from-to) | 277-303 |
| Number of pages | 27 |
| Journal | Cyber-Physical Systems |
| Volume | 12 |
| Issue number | 3 |
| DOIs | |
| Publication status | Published - 2026 |
| Externally published | Yes |
Keywords
- Feature extraction
- large language models (LLM)
- machine learning
- natural language processing
- spam detection
Fingerprint
Dive into the research topics of 'Leveraging large language models for cybersecurity: enhancing SMS spam detection with robust and context-aware text classification'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver