Introduction
Detecting hate speech (HS) in Bangla presents unique challenges due to the language's informal usage on social media. Users frequently employ non-standard spellings, complex slang, and code-mixing. Previous datasets in this domain have been limited by small scales, domain biases, and a lack of rigorous annotation. This paper introduces HS-BAN, a large-scale, multi-domain benchmark dataset designed to reflect authentic communication on platforms like Facebook and YouTube.
The HS-BAN Dataset
The HS-BAN dataset comprises 50,314 comments collected between 2017 and 2020. It is categorized into seven domains: Sports, Entertainment, Crime, Religion, Politics, Celebrity, and Miscellaneous. The dataset maintains a balance of approximately 40.17% hate speech and 59.83% non-hate speech.
Annotation was conducted by 50 undergraduate volunteers following strict guidelines. Each comment was tagged by three individuals, with the final label determined by majority vote, achieving a moderate inter-annotator agreement score of 0.658.
Methodology
The researchers explored the impact of word embeddings on model performance, specifically comparing:
- Formal Embeddings: Trained on 250 million articles from news and Wikipedia.
- Informal Embeddings: Trained on 1.47 million Bangla social media comments.
Models tested included traditional machine learning baselines (SVM with character and word n-grams), deep learning architectures (CNN and Bi-LSTM), and Transformer-based models (mBERT and Bangla-BERT).
Key Results
The experimental results demonstrate that "informal" word embeddings significantly outperform "formal" ones for this task. The top-performing model was a Bi-LSTM paired with FastText (Skip-gram) informal embeddings, achieving an F1-score of 86.85%.
Interestingly, a simple SVM baseline using character 1-6 grams was highly competitive, reaching an 85.97% F1-score. This suggests that character-level features are robust against the spelling variations common in social media text. Transformer models like Bangla-BERT, while effective, did not surpass the specialized Bi-LSTM + Informal FastText configuration. Performance also varied by category; for instance, the "Crime" category saw the highest detection accuracy with a 92.27% F1-score, while "Celebrity" and "Politics" proved more challenging due to nuanced language.
Discussion and Future Work
A critical insight from this work is the distinction between "Traditional Slang" (TS) and "Non-Traditional Slang" (NTS). While models effectively identify TS, they struggle with NTS, which is often context-dependent or culturally specific. Future research will focus on improving model interpretability and enhancing generalizability to keep pace with evolving internet vernacular.
Summary updated