Evaluating Spam Detection Techniques: A Comparison of TF-IDF and Sentence Embeddings with Machine Learning Models

This paper presents a comparative analysis of spam detection models using two feature extraction techniques: TF-IDF and Sentence Embeddings. The study evaluates three machine learning models: Random Forest, XGBoost, and Logistic Regression, to classify spam messages. Optuna, a hyperparameter optimization framework, is applied to tune Random Forest and XGBoost classifiers. Results are compared in terms of accuracy, precision, recall, fl-score, support, execution time, train time and tune time.

Authors

Institutions

Publication Details

Published
2025-04-24
DOI
https://doi.org/10.1109/isdfs65363.2025.11012070
Primary Topic
Misinformation and Its Impacts
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Spam Detection Techniques: A Comparison of TF-IDF and Sentence Embeddings with Machine Learning Models

Patrícia Leite, Bruno Silva, Óscar R. Ribeiro
Misinformation and Its Impacts
article

Evaluating Spam Detection Techniques: A Comparison of TF-IDF and Sentence Embeddings with Machine Learning Models

Patrícia Leite, Bruno Silva, Óscar R. Ribeiro
article en

Abstract

This paper presents a comparative analysis of spam detection models using two feature extraction techniques: TF-IDF and Sentence Embeddings. The study evaluates three machine learning models: Random Forest, XGBoost, and Logistic Regression, to classify spam messages. Optuna, a hyperparameter optimization framework, is applied to tune Random Forest and XGBoost classifiers. Results are compared in terms of accuracy, precision, recall, fl-score, support, execution time, train time and tune time.

Universidade Politécnica do Cávado e do Ave (PT)
Openalex Percentile: Top 82%
Misinformation and Its Impacts
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.