[Paper Review] Hate Speech and Offensive Language Detection in Bengali
This paper introduces a new benchmark dataset of 10,000 Bengali tweets—5,000 in native Bengali script and 5,000 in Romanized Bengali—annotated for hate speech and offensive language. It evaluates multiple transformer-based models, finding that joint training with MuRIL significantly improves performance by leveraging semantic similarities between scripts, especially in low-resource and few-shot settings.
Social media often serves as a breeding ground for various hateful and offensive content. Identifying such content on social media is crucial due to its impact on the race, gender, or religion in an unprejudiced society. However, while there is extensive research in hate speech detection in English, there is a gap in hateful content detection in low-resource languages like Bengali. Besides, a current trend on social media is the use of Romanized Bengali for regular interactions. To overcome the existing research's limitations, in this study, we develop an annotated dataset of 10K Bengali posts consisting of 5K actual and 5K Romanized Bengali tweets. We implement several baseline models for the classification of such hateful posts. We further explore the interlingual transfer mechanism to boost classification performance. Finally, we perform an in-depth error analysis by looking into the misclassified posts by the models. While training actual and Romanized datasets separately, we observe that XLM-Roberta performs the best. Further, we witness that on joint training and few-shot training, MuRIL outperforms other models by interpreting the semantic expressions better. We make our code and dataset public for others.
Motivation & Objective
- Address the lack of annotated datasets for hate speech detection in low-resource languages like Bengali, particularly for Romanized (Latin-script) variants.
- Develop a gold-standard, balanced dataset of 10,000 tweets—5,000 in native Bengali and 5,000 in Roman Bengali—labeled as hate, offensive, or normal.
- Evaluate transformer-based models for hate speech classification in both actual and Romanized Bengali, focusing on transfer learning and few-shot learning.
- Investigate the impact of interlingual transfer and joint training on model generalization and robustness across orthographic variants.
- Perform in-depth error analysis to identify persistent failure modes in model predictions, including viewpoint bias and code-mixed linguistic structures.
Proposed method
- Curated a diverse dataset of 10,000 tweets from Twitter, equally split between native Bengali and Romanized Bengali, with human-annotated labels for hate, offensive, or normal content.
- Implemented baseline models including XLM-RoBERTa, mBERT, IndicBERT, and MuRIL for sequence classification using fine-tuned transformer architectures.
- Explored interlingual transfer via joint training on both native and Romanized Bengali data to improve zero-shot and few-shot generalization.
- Applied few-shot fine-tuning strategies to evaluate model performance when limited labeled data is available for Roman Bengali.
- Conducted error analysis by manually inspecting misclassified instances, categorizing failures into viewpoint bias, code-mixed structures, and potential labeling errors.
- Used standard NLP evaluation metrics (e.g., F1, accuracy) to compare model performance across different training regimes and data splits.
Experimental results
Research questions
- RQ1How does model performance vary when training on native Bengali versus Romanized Bengali data in isolation?
- RQ2Can joint training on both native and Romanized Bengali data improve classification performance compared to training on each modality separately?
- RQ3How effective are interlingual transfer mechanisms—especially those leveraging semantic similarity between scripts—for low-resource hate speech detection?
- RQ4What are the primary failure modes in transformer-based models when classifying hate speech in code-mixed and Romanized Bengali text?
- RQ5How does few-shot fine-tuning impact model generalization in low-resource settings for Romanized Bengali?
Key findings
- XLM-RoBERTa achieved the highest performance when training and evaluating on standalone native Bengali or Romanized Bengali datasets.
- MuRIL outperformed other models in joint training and few-shot settings by effectively leveraging semantic connections between native and Romanized forms.
- Joint training significantly improved model generalization, especially for Romanized Bengali, due to MuRIL’s pre-training on both orthographic variants.
- Models struggled with viewpoint-dependent content, where annotator bias led to inconsistent labeling and model misclassification.
- Code-mixed linguistic structures—mixing Bengali grammar with English vocabulary—caused consistent misclassification due to token-level ambiguity.
- Tentative labeling of posts with slurs as hateful, without clear group targeting, led to ground truth errors that propagated into model predictions.
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.