Research Article

Hate Speech Detection In Social Media with Deep Learning And Language Models

Volume: 14 Number: 2 June 30, 2025
EN

Hate Speech Detection In Social Media with Deep Learning And Language Models

Abstract

Nowadays, hate speech has started to spread rapidly with the increasing use of social media. Such abusive discourse can cause reputation damage and adversely affect psychological health. Large social media companies are trying to prevent this situation and increase their service quality with the increasing number of users every day. In this context, our study proposes a system that detects hate speech in texts and warns the user against hate speech. The project was implemented using machine learning, deep learning and language modeling techniques with a labeled hate speech dataset collected from various sources. The results show that BERTweet and DistilBERT language models achieved 90% accuracy. On the other hand, although the success of the classical models was lower, they were more effective temporally.

Keywords

Ethical Statement

The study is complied with research and publication ethics.

References

  1. S. V. Balshetwar and A. Rs, "Fake news detection in social media based on sentiment analysis using classifier techniques," Multimedia Tools and Applications, vol. 82, no. 23, pp. 35781-35811, 2023. https://doi.org/10.1007/s11042-023-14883-3
  2. N. Khanduja, N. Kumar, and A. Chauhan, "Telugu language hate speech detection using deep learning transformer models: Corpus generation and evaluation," Systems and Soft Computing, p. 200112, 2024. https://doi.org/10.1016/j.sasc.2024.200112.
  3. C. D. Putra and H.-C. Wang, "Advanced BERT-CNN for hate speech detection," Procedia Computer Science, vol. 234, pp. 239–246, 2024. https://doi.org/10.1016/j.procs.2024.02.170.
  4. S. MacAvaney, H.-R. Yao, E. Yang, K. Russell, N. Goharian, and O. Frieder, "Hate speech detection: Challenges and solutions," PLOS ONE, vol. 14, no. 8, Article e0221152, 2019. https://doi.org/10.1371/journal.pone.0221152.
  5. Z. Waseem and D. Hovy, "Hateful symbols or hateful people? Predictive features for hate speech detection on Twitter," in Proceedings of the NAACL Student Research Workshop, Association for Computational Linguistics, 2016. https://doi.org/10.18653/v1/n16-2013.
  6. J. F. Allen, "Natural language processing," in Encyclopedia of Computer Science, 2003, pp. 1218-1222.
  7. M. A. Alonso, D. Vilares, C. Gómez-Rodríguez, and J. Vilares, "Sentiment analysis for fake news detection," Electronics, vol. 10, no. 11, p. 1348, 2021. https://doi.org/10.3390/electronics10111348
  8. Y. M. Ibrahim, R. Essameldin, and S. M. Darwish, "An adaptive hate speech detection approach using neutrosophic neural networks for social media forensics," Computers, Materials & Continua, pp. 1-10, 2024. https://doi.org/10.32604/cmc.2024.047840.

Details

Primary Language

English

Subjects

Natural Language Processing, Artificial Intelligence (Other)

Journal Section

Research Article

Early Pub Date

June 27, 2025

Publication Date

June 30, 2025

Submission Date

February 11, 2025

Acceptance Date

May 29, 2025

Published in Issue

Year 2025 Volume: 14 Number: 2

APA
Akdik, B., & Sarıman, G. (2025). Hate Speech Detection In Social Media with Deep Learning And Language Models. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, 14(2), 1077-1095. https://doi.org/10.17798/bitlisfen.1637822
AMA
1.Akdik B, Sarıman G. Hate Speech Detection In Social Media with Deep Learning And Language Models. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi. 2025;14(2):1077-1095. doi:10.17798/bitlisfen.1637822
Chicago
Akdik, Beste, and Güncel Sarıman. 2025. “Hate Speech Detection In Social Media With Deep Learning And Language Models”. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi 14 (2): 1077-95. https://doi.org/10.17798/bitlisfen.1637822.
EndNote
Akdik B, Sarıman G (June 1, 2025) Hate Speech Detection In Social Media with Deep Learning And Language Models. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi 14 2 1077–1095.
IEEE
[1]B. Akdik and G. Sarıman, “Hate Speech Detection In Social Media with Deep Learning And Language Models”, Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, vol. 14, no. 2, pp. 1077–1095, June 2025, doi: 10.17798/bitlisfen.1637822.
ISNAD
Akdik, Beste - Sarıman, Güncel. “Hate Speech Detection In Social Media With Deep Learning And Language Models”. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi 14/2 (June 1, 2025): 1077-1095. https://doi.org/10.17798/bitlisfen.1637822.
JAMA
1.Akdik B, Sarıman G. Hate Speech Detection In Social Media with Deep Learning And Language Models. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi. 2025;14:1077–1095.
MLA
Akdik, Beste, and Güncel Sarıman. “Hate Speech Detection In Social Media With Deep Learning And Language Models”. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, vol. 14, no. 2, June 2025, pp. 1077-95, doi:10.17798/bitlisfen.1637822.
Vancouver
1.Beste Akdik, Güncel Sarıman. Hate Speech Detection In Social Media with Deep Learning And Language Models. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi. 2025 Jun. 1;14(2):1077-95. doi:10.17798/bitlisfen.1637822

Bitlis Eren University

Journal of Science Editor

Bitlis Eren University Graduate Institute

Bes Minare Mah. Ahmet Eren Bulvari, Merkez Kampus, 13000 BITLIS

E-mail: fbe@beu.edu.tr