YouTube Spam Comment Detection using Transfer Learning and Machine Learning algorithms

YouTube is the most popular social media platform enriched with different kinds of content. Spam comments on YouTube can lead to misinformation about content and users fall into scams. This often creates dissatisfaction among the subscribers and leads to poor user experience. In our research, a YouTube comment will be classified as either spam or not using supervised machine learning classifications and transfer learning algorithms. Lemmatization, tokenization, and other text preprocessing techniques had been applied to be suitable for the algorithms. BERT, ROBERTA, and DistilBERT are the transfer learning algorithms, while Naive Bayes, Decision Tree, Support Vector Machine, and K-Nearest Neighbour are the classification algorithms introduced in our proposed study. Random Forest and XGBoost, both powerful ensemble algorithms, were used for better classification. Among these algorithms, The RoBERTa algorithm performed better and achieved the highest accuracy of 92.71%. Among the machine learning algorithms, SVM was able to get the best accuracy of 88.9% after hyperparameter tuning.

Authors

Institutions

Publication Details

Published
2025-02-13
DOI
https://doi.org/10.1109/ecce64574.2025.11013288
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

YouTube Spam Comment Detection using Transfer Learning and Machine Learning algorithms

Jit Biswas, Md. Milon Islam, Md. Nahid Hasan, Raiyan Azim
Spam and Phishing Detection
article

YouTube Spam Comment Detection using Transfer Learning and Machine Learning algorithms

Jit Biswas, Md. Milon Islam, Md. Nahid Hasan, Raiyan Azim
article en

Abstract

YouTube is the most popular social media platform enriched with different kinds of content. Spam comments on YouTube can lead to misinformation about content and users fall into scams. This often creates dissatisfaction among the subscribers and leads to poor user experience. In our research, a YouTube comment will be classified as either spam or not using supervised machine learning classifications and transfer learning algorithms. Lemmatization, tokenization, and other text preprocessing techniques had been applied to be suitable for the algorithms. BERT, ROBERTA, and DistilBERT are the transfer learning algorithms, while Naive Bayes, Decision Tree, Support Vector Machine, and K-Nearest Neighbour are the classification algorithms introduced in our proposed study. Random Forest and XGBoost, both powerful ensemble algorithms, were used for better classification. Among these algorithms, The RoBERTa algorithm performed better and achieved the highest accuracy of 92.71%. Among the machine learning algorithms, SVM was able to get the best accuracy of 88.9% after hyperparameter tuning.

Bangladesh University of Engineering and Technology (BD), Daffodil International University (BD), Dhaka International University (BD)
Openalex Percentile: Top 83%
Spam and Phishing 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.