Advancing Image Spam Detection: Evaluating Machine Learning Models Through Comparative Analysis
Open Access
- 30 May 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (11) , 6158
Abstract
Image-based spam poses a significant challenge for traditional text-based filters, as malicious content is often embedded within images to bypass keyword detection techniques. This study investigates and compares the performance of six machine learning models—ResNet50, XGBoost, Logistic Regression, LightGBM, Support Vector Machine (SVM), and VGG16—using a curated dataset containing 678 legitimate (ham) and 520 spam images. The novelty of this research lies in its comprehensive side-by-side evaluation of diverse models on the same dataset, using standardized dataset preprocessing, balanced data splits, and validation techniques. Model performance was assessed using evaluation metrics such as accuracy, receiver operating characteristic (ROC) curve, precision, recall, and area under the curve (AUC). The results indicate that ResNet50 achieved the highest classification performance, followed closely by XGBoost and Logistic Regression. This work provides practical insights into the strengths and limitations of traditional, ensemble-based, and deep learning models for image-based spam detection. The findings can support the development of more effective and generalizable spam filtering solutions in multimedia-rich communication platforms.Keywords
This publication has 26 references indexed in Scilit:
- Improving spam email classification accuracy using ensemble techniques: a stacking approachInternational Journal of Information Security, 2023
- Deep learning-based spam image filteringAlexandria Engineering Journal, 2023
- Data augmentation: A comprehensive survey of modern approachesArray, 2022
- Evaluating the Effectiveness of Machine Learning Methods for Spam DetectionProcedia Computer Science, 2021
- Comparative Analysis of Detection of Email Spam With the Aid of Machine Learning ApproachesIOP Conference Series: Materials Science and Engineering, 2021
- Convolutional neural networks for image spam detectionInformation Security Journal: A Global Perspective, 2020
- Machine learning for email spam filtering: review, approaches and open research problemsHeliyon, 2019
- Image spam filtering using convolutional neural networksPersonal and Ubiquitous Computing, 2018
- Image spam analysis and detectionJournal of Computer Virology and Hacking Techniques, 2016
- Supervised Learning2008