[Paper Review] One to rule them all: Towards Joint Indic Language Hate Speech Detection
This paper proposes a multilingual fine-tuning approach using XLM-RoBERTa to jointly detect hate and offensive speech across English, Hindi, and Marathi, achieving state-of-the-art results on the HASOC 2021 shared task with macro F1 scores of 0.7996 (English), 0.7748 (Hindi), and 0.8651 (Marathi) on sub-task 1A, demonstrating the superiority of multilingual training for low-resource Indic languages.
This paper is a contribution to the Hate Speech and Offensive Content Identification in Indo-European Languages (HASOC) 2021 shared task. Social media today is a hotbed of toxic and hateful conversations, in various languages. Recent news reports have shown that current models struggle to automatically identify hate posted in minority languages. Therefore, efficiently curbing hate speech is a critical challenge and problem of interest. We present a multilingual architecture using state-of-the-art transformer language models to jointly learn hate and offensive speech detection across three languages namely, English, Hindi, and Marathi. On the provided testing corpora, we achieve Macro F1 scores of 0.7996, 0.7748, 0.8651 for sub-task 1A and 0.6268, 0.5603 during the fine-grained classification of sub-task 1B. These results show the efficacy of exploiting a multilingual training scheme.
Motivation & Objective
- Address the challenge of detecting hate and offensive speech in low-resource Indic languages like Hindi and Marathi, where existing models often underperform.
- Overcome the limitations of monolingual models by exploring joint multilingual fine-tuning to improve generalization across languages.
- Develop and evaluate a robust pre-processing pipeline tailored for social media text in multiple Indic languages.
- Investigate the effectiveness of data augmentation and alternative architectures to improve performance on imbalanced datasets.
- Achieve competitive results on the HASOC 2021 shared task for hate and offensive content detection in English, Hindi, and Marathi.
Proposed method
- Employed XLM-RoBERTa, a multilingual transformer-based language model, for joint fine-tuning across English, Hindi, and Marathi.
- Applied a joint multilingual training scheme where the same model is fine-tuned on all three languages simultaneously to share linguistic representations.
- Implemented a pre-processing pipeline to normalize social media text, including handling emojis, slang, and mixed-script content common in Indic languages.
- Used class-balancing techniques such as SOUP (Similarity-based Oversampling and Undersampling) to mitigate data imbalance in the training sets.
- Explored data augmentation via back-translation using Google’s NMT API to increase training data size, though it led to performance degradation.
- Compared monolingual and multilingual fine-tuning strategies across multiple models, including mBERT and DistilBERT, to isolate the benefits of multilingual pre-training.
Experimental results
Research questions
- RQ1Can a single multilingual transformer model jointly detect hate and offensive speech across English, Hindi, and Marathi with comparable performance?
- RQ2How does multilingual fine-tuning compare to monolingual fine-tuning in terms of F1 score and robustness on low-resource Indic languages?
- RQ3To what extent do data augmentation techniques like back-translation improve model generalization in low-resource hate speech detection?
- RQ4Why do certain classical NLP approaches (e.g., TF-IDF, SVM, Random Forest) underperform on social media text in Indic languages compared to transformer-based models?
- RQ5What are the key challenges in adapting multilingual models to low-resource, low-resource-indic languages with limited annotated data?
Key findings
- The multilingual fine-tuned XLM-RoBERTa model achieved the highest macro F1 score of 0.8651 on Marathi for sub-task 1A, outperforming all other models and approaches.
- For sub-task 1A, the multilingual XLM-RoBERTa model achieved macro F1 scores of 0.7996 (English), 0.7748 (Hindi), and 0.8651 (Marathi), securing 1st place on the HASOC 2021 leaderboard for this task.
- The multilingual approach yielded a 2.1 F1 point absolute gain over monolingual fine-tuning on sub-task 1A, demonstrating the effectiveness of shared representation learning.
- Data augmentation via back-translation led to a drop in performance and introduced false labels, indicating potential distribution shift and reliability issues.
- Classical models such as Random Forest and LightGBM showed an average 5.3% drop in performance compared to the best transformer-based models, highlighting the limitations of traditional ML on social media text.
- Despite using SOUP for data balancing, the performance dropped by 5% compared to the best model, suggesting that class imbalance alone is not the primary bottleneck in this setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.