DeepGram: Combining Language Transformer and N-Gram based ML Models for YouTube Spam Comment Detection

Authors

  • Ankit Agarwal Department of Computer Science and Engineering, Kalasalingam Academy of Research and Education, India
  • Peddi Nikitha Department of Computer Science and Engineering, Kalasalingam Academy of Research and Education, India
  • Sable Ramkumar Department of Computer Science and Engineering, Kalasalingam Academy of Research and Education, India
  • Anurag Sinha Department of Computer Science and Information Technology, Indira Gandhi National Open University, India
  • Pratyush Maheshwari Gyanodaya International School, India
  • Arshroop Singh Saini The Emerald Heights International School, India https://orcid.org/0009-0001-5918-1649

DOI:

https://doi.org/10.47852/bonviewJDSIS3202966

Keywords:

YouTube, spam comments, deep learning, language transformer, N-gram, machine learning

Abstract

Spam comments on YouTube videos are a persistent issue that can negatively impact the user experience and content creator’s reputation. In this paper, we propose an algorithm called “DeepGram” for detecting YouTube spam comments using a combination of deep learning-based language transformer models and N-gram-based machine learning (ML) models. The algorithm leverages the power of language transformers, which have shown significant success in various natural language processing tasks, along with N-gram-based models that capture local context and patterns in the text data. The proposed algorithm goes through several stages, including data collection, text preprocessing, feature extraction, and model training. The collected YouTube comments are preprocessed by removing special characters, punctuation, and HTML tags and converting them to lowercase. Common stop words are also removed, and stemming or lemmatization is applied to reduce dimensionality. The algorithm then extracts features from the preprocessed comments using a combination of language transformer models and N-gram-based features. Finally, the features are fed into ML models for training and evaluation. Experimental results on a large dataset of YouTube comments show that the DeepGram algorithm achieves high accuracy and robust performance in detecting spam comments. The proposed algorithm can be potentially employed as an effective tool for YouTube content creators and platform moderators to combat spam comments and improve the quality of user interactions on YouTube videos.

 

Received: 15 April 2023 | Revised: 15 September 2023 | Accepted: 16 November 2023

 

Conflicts of Interest

The authors declare that they have no conflicts of interest to this work.

 

Data Availability Statement

Data available on request from the corresponding author upon reasonable request.


Downloads

Published

2023-11-17

Issue

Section

Research Articles

How to Cite

Agarwal, A., Nikitha, P. ., Ramkumar, S. ., Sinha, A. ., Maheshwari, P., & Saini, A. S. (2023). DeepGram: Combining Language Transformer and N-Gram based ML Models for YouTube Spam Comment Detection. Journal of Data Science and Intelligent Systems. https://doi.org/10.47852/bonviewJDSIS3202966