Optimizing Hate Speech Detection in Indonesian Social Media: An ADASYN and LSTM-Based Approach

Open

Febby Apri Wenando, Nooraini Yusoff, Nurul Izrin, Sulistiawati R.N. Ahmad, M. Salim, Misrawati A. Puspa, Dony Novaliendry

2025 Journal Europeen des Systemes Automatises Vol. 58 Issue 1 Article Cited by 1

Abstract

Identifying hate speech in Indonesian social media presents considerable difficulties owing to the intricacies of the language and the varied nature of online material. This paper presents a novel method for improving hate speech identification in Indonesia by tackling the significant class imbalance in Indonesian hate speech datasets. The ADASYN oversampling technique proficiently addresses this problem, representing a notable advancement in this study. The FastText method is utilized for word weighting, improving the prediction efficacy of the classification model. The dataset is carefully curated to authentically reflect the language characteristics and cultural circumstances of Indonesian social media conversation. The long short-term memory (LSTM) method is chosen for its capacity to record long-range relationships in sequential data, essential for comprehending the context of hate speech. The assessment of performance using criteria like accuracy, precision, recall, and F1-Score illustrates the efficacy of this method in precisely detecting hate speech. This research markedly enhances hate speech identification technology in Indonesian language processing, offering a viable method to curtail the dissemination of harmful information on internet platforms. The results of this study include practical implications for formulating more effective tactics to combat hate speech on Indonesian social media. ©2025 The authors.

Affiliations

Department of Information Technology, Universitas Andalas, Padang, 25163, Indonesia; Department of Data Science, University Malaysia Kelantan, Kelantan, 16100, Malaysia; Department of Software Engineering, University Teknikal Malaysia, Melaka, 76100, Malaysia; Department of Information System, ITSBM Selayar, Sulsel, 92812, Indonesia; Department of Information System, Universitas Ichsan Gorontalo, Gorontalo, 96138, Indonesia; Department of Electronic Engineering, Universitas Negeri Padang, Padang, 25131, Indonesia