Transfer Learning Methods for Hate Speech Detection in Bahasa Indonesia

Communication is becoming more accessible with the growth and emergence of social media platforms. However, this can be misused, such as for spreading hate speech. Building an efficient hate speech detection model requires sufficient annotated data to train the model. However, this is difficult as it requires more data for low-resource languages like Bahasa Indonesia. To address this issue, we study whether the transfer learning method can yield improved results. This study performs extensive experiments to show that transfer learning methods are suitable for low-resource hate speech prediction. Our experimental results show that transferring knowledge using a multilingual pre-trained language model and translating hate speech datasets as additional data can improve the performance of detecting hate speech in Bahasa Indonesia. By using the XLM-RoBERTa-based hate speech model for transfer learning improved the F1-score for hate speech detection in Bahasa Indonesia by 78%. Meanwhile, translating the data from English as additional data for training and using the BERT model to detect hate speech in Bahasa Indonesia improved the F1-score from 60% to 69%. These results were statistically proven by the McNemar test and evaluated using the ROC-AUC score.

Authors

Institutions

Publication Details

Journal
Journal of Information Technology and Computer Science
Published
2025-05-02
DOI
https://doi.org/10.25126/jitecs.2025101542
Primary Topic
Linguistics and Language Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transfer Learning Methods for Hate Speech Detection in Bahasa Indonesia

Fairuz Astari Devianty
Journal of Information Technology and Computer Science
Linguistics and Language Analysis
article

Transfer Learning Methods for Hate Speech Detection in Bahasa Indonesia

Fairuz Astari Devianty
article en

Abstract

Communication is becoming more accessible with the growth and emergence of social media platforms. However, this can be misused, such as for spreading hate speech. Building an efficient hate speech detection model requires sufficient annotated data to train the model. However, this is difficult as it requires more data for low-resource languages like Bahasa Indonesia. To address this issue, we study whether the transfer learning method can yield improved results. This study performs extensive experiments to show that transfer learning methods are suitable for low-resource hate speech prediction. Our experimental results show that transferring knowledge using a multilingual pre-trained language model and translating hate speech datasets as additional data can improve the performance of detecting hate speech in Bahasa Indonesia. By using the XLM-RoBERTa-based hate speech model for transfer learning improved the F1-score for hate speech detection in Bahasa Indonesia by 78%. Meanwhile, translating the data from English as additional data for training and using the BERT model to detect hate speech in Bahasa Indonesia improved the F1-score from 60% to 69%. These results were statistically proven by the McNemar test and evaluated using the ROC-AUC score.

Journal of Information Technology and Computer ScienceVol. 10(1)
University of Indonesia (ID)
Openalex Percentile: Top 88%
Linguistics and Language Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Transfer Learning Methods for Hate Speech Detection in Bahasa Indonesia — Fairuz Astari Devianty · Journal of Information Technology and Computer Science (2025) | TGRS Research Map | TGRS