Analyzing the Performance of Deep Learning Models for Detecting Hate Speech on Social Media Platforms

Authors

  • Md Ariful Islam Arif Department of Computer Science and Engineering, Military Institute of Science and Technology, Dhaka-1216, Bangladesh
  • Md Mahbubur Rahman Department of Computer Science and Engineering, Military Institute of Science and Technology, Dhaka-1216, Bangladesh
  • Md Golam Rabiul Alam Department of Computer Science and Engineering, BRAC University, Merul Badda, Dhaka-1212, Bangladesh.
  • M Akhtaruzzaman Department of Computer Science and Engineering, Military Institute of Science and Technology, Dhaka-1216, Bangladesh.

Keywords:

Social media platform, Hate speech detection, Deep learning models, Word embedding, LSTM

Abstract

Currently social media and online platforms have become a major source of cyberbullying and hate speech. It is currently affecting people and communities in harmful ways. Hate speech on social media is rising in Bangladesh and it is creating a need for effective tools to prevent and detect these incidents. This study introduces a deep learning model to mitigate this issue of identifying hate speech in text using three types of word embedding methods: Word2Vec, FastText, and BERT. The text data was labeled to mark hate speech and non-hate speech content. After that, these texts are preprocessed by removing punctuation and symbols to help improve model accuracy. Five deep learning models Bi-GRU-LSTM-CNN, Bi-LSTM, CNN, LSTM, and XGBoost were trained to classify the text as hate speech or non-hate speech. The study found that the LSTM model accomplished the highest accuracy at 95.66% with the Word2Vec embedding method, while CNN reached 87.70% with FastText embeddings. Word2Vec is effective for capturing word meanings in general text classification. FastText works well with rare words and languages that have complex word forms. These findings help advance effective hate speech detection techniques. It could promote more respectful and inclusive interactions on social media. This proposed deep-learning model can help stop cyberbullying and hate speech on social media.

MIJST, Vol. 12, December 2024 : 39-52

DOI: https://doi.org/10.47981/j.mijst.12(02)2024.466(39-52)

Abstract
79
PDF
41

Downloads

Published

2025-02-02

How to Cite

Arif, M. A. I., Rahman, M. M., Alam, M. G. R., & Akhtaruzzaman, M. (2025). Analyzing the Performance of Deep Learning Models for Detecting Hate Speech on Social Media Platforms. MIST International Journal of Science and Technology, 12(2), 39–52. Retrieved from https://www.banglajol.info/index.php/MIJST/article/view/79646

Issue

Section

Articles