Study on Spam SMS Detection Based on TF-IDF and Random Forest

With the proliferation of mobile internet, SMS, as a fundamental communication modality, remains widely adopted. However, the rampant dissemination of spam SMS severely undermines user experience and information security. Traditional rule-based keyword filtering approaches exhibit limited flexibility, struggling to adapt to the evolving patterns of spam SMS. This study proposes a robust spam SMS detection method integrating TF-IDF and random forest algorithms. Specifically, TF-IDF is employed to extract textual features from SMS content, converting unstructured text into numerical feature vectors that quantify the semantic importance of terms. These vectors are then input into a random forest classifier to construct a discriminative model capable of distinguishing spam from legitimate messages. Experimental validation on a publicly available Kaggle dataset demonstrates the method's superior performance, achieving an accuracy of 97.73 %. The results highlight that the proposed framework offers an efficient and reliable solution for automated spam SMS recognition, effectively addressing the limitations of conventional rule-based methods and providing a scalable approach for real-world deployment.

Authors

Institutions

Publication Details

Published
2025-04-25
DOI
https://doi.org/10.1109/iccea65460.2025.11102217
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Study on Spam SMS Detection Based on TF-IDF and Random Forest

Lichun Feng, Xinlei Cai, Min Zhou, Zesheng Chen
Network Security and Intrusion Detection
article

Study on Spam SMS Detection Based on TF-IDF and Random Forest

Lichun Feng, Xinlei Cai, Min Zhou, Zesheng Chen
article en

Abstract

With the proliferation of mobile internet, SMS, as a fundamental communication modality, remains widely adopted. However, the rampant dissemination of spam SMS severely undermines user experience and information security. Traditional rule-based keyword filtering approaches exhibit limited flexibility, struggling to adapt to the evolving patterns of spam SMS. This study proposes a robust spam SMS detection method integrating TF-IDF and random forest algorithms. Specifically, TF-IDF is employed to extract textual features from SMS content, converting unstructured text into numerical feature vectors that quantify the semantic importance of terms. These vectors are then input into a random forest classifier to construct a discriminative model capable of distinguishing spam from legitimate messages. Experimental validation on a publicly available Kaggle dataset demonstrates the method's superior performance, achieving an accuracy of 97.73 %. The results highlight that the proposed framework offers an efficient and reliable solution for automated spam SMS recognition, effectively addressing the limitations of conventional rule-based methods and providing a scalable approach for real-world deployment.

Guangzhou Academy of Fine Arts (CN)
Life in Land
Openalex Percentile: Top 77%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Study on Spam SMS Detection Based on TF-IDF and Random Forest — Lichun Feng, Xinlei Cai, et al. · (2025) | TGRS Research Map | TGRS