Dual-Class Prompt Generation: Enhancing Indonesian Gender-Based Hate Speech Detection through Data Augmentation
Not on the map. Why?
Abstract (arXiv)
Detecting gender-based hate speech in Indonesian social media remains challenging due to limited labeled datasets. While binary hate speech classification has advanced, a more granular category like gender-targeted hate speech is understudied because of class imbalance issues. This paper addresses this gap by comparing three data augmentation techniques for Indonesian gender-based hate speech detection. We evaluate backtranslation, single-class prompt generation (using only hate speech examples), and our proposed dual-class prompt generation (using both hate speech and non-hate speech examples). Experiments show all augmentation methods improve classification performance, with our dual-class approach achieving the best results (88.5% accuracy, 88.1% F1-score using Random Forest). Semantic similarity analysis reveals dual-class prompt generation produces the most novel content, while T-SNE visualizations confirm these samples occupy distinct feature space regions while maintaining class characteristics. Our findings suggest that incorporating examples from both classes helps language models generate more diverse yet representative samples, effectively addressing limited data challenges in specialized hate speech detection.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 31 references that are in the map. First posted on arXiv 6 Mar 2025.
Builds on
10 of 31 references.
References · 10
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 807
- 2023Large Language Modelscited by 780
- 2021GPT3Mix: Leveraging Large-scale Language Models for Text Augmentationcited by 187
- 2021A Survey on Data Augmentation for Text Classificationcited by 111
- 2019A BERT-Based Transfer Learning Approach for Hate Speech Detection in Online Social Mediacited by 96
- 2020Hate Speech Detection and Racial Bias Mitigation in Social Media based on BERT modelcited by 87
- 2022Data Augmentation for Intent Classification with Off-the-shelf Large Language Modelscited by 49
- 2018Hate Speech Detection: A Solved Problem? The Challenging Case of Long Tail on Twittercited by 36
- 2021IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initializationcited by 25
- 2018Detecting weak and strong Islamophobic hate speech on social mediacited by 15
Built on by
Not cited yet.