Hate Speech Detection in Social Networks using Machine Learning and Deep Learning Methods


Toktarova A. Syrlybay D. Myrzakhmetova B. Anuarbekova G. Rakhimbayeva G. Zhylanbaeva B. Suieuova N. Kerimbekov M.
2023Science and Information Organization

International Journal of Advanced Computer Science and Applications
2023#14Issue 5396 - 406 pp.

Hate speech on social media platforms like Twitter is a growing concern that poses challenges to maintaining a healthy online environment and fostering constructive communication. Effective detection and monitoring of hate speech are crucial for mitigating its adverse impact on individuals and communities. In this paper, we propose a comprehensive approach for hate speech detection on Twitter using both traditional machine learning and deep learning techniques. Our research encompasses a thorough comparison of these techniques to determine their effectiveness in identifying hate speech on Twitter. We construct a robust dataset, gathered from diverse sources and annotated by experts, to ensure the reliability of our models. The dataset consists of tweets labeled as hate speech, offensive language, or neutral, providing a more nuanced representation of online discourse. We evaluate the performance of LSTM, BiLSTM, and CNN models against traditional shallow learning methods to establish a baseline for comparison. Our findings reveal that deep learning techniques outperform shallow learning methods, with BiLSTM emerging as the most accurate model for hate speech detection. The BiLSTM model demonstrates improved sensitivity to context, semantic nuances, and sequential patterns in tweets, making it adept at capturing the intricate nature of hate speech. Furthermore, we explore the integration of word embeddings, such as Word2Vec and GloVe, to enhance the performance of our models. The incorporation of these embeddings significantly improves the models ability to discern between hate speech and other forms of online communication. This paper presents a comprehensive analysis of various machine learning methods for hate speech detection on Twitter, ultimately demonstrating the superiority of deep learning techniques, particularly BiLSTM, in addressing this critical issue. Our findings pave the way for further research into advanced methods of tackling hate speech and facilitating healthier online interactions.

classification , deep learning , hate speech , Machine learning , social network

Text of the article Перейти на текст статьи

Khoja Akhmet Yassawi International Kazakh, Turkish University, Turkistan, Kazakhstan
M. Auezov South Kazakhstan Universtiy, Shymkent, Kazakhstan
South Kazakhstan State Pedagogical University, Shymkent, Kazakhstan
Abai Kazakh National Pedagogical University, Almaty, Kazakhstan
Asfendiyarov Kazakh National Medical University, Almaty, Kazakhstan
Yessenov University, Aktau, Kazakhstan
University of Friendship of People’s Academician A. Kuatbekov, Shymkent, Kazakhstan

Khoja Akhmet Yassawi International Kazakh
M. Auezov South Kazakhstan Universtiy
South Kazakhstan State Pedagogical University
Abai Kazakh National Pedagogical University
Asfendiyarov Kazakh National Medical University
Yessenov University
University of Friendship of People’s Academician A. Kuatbekov

10 лет помогаем публиковать статьи Международный издатель

Книга Публикация научной статьи Волощук 2026 Book Publication of a scientific article 2026