HateBertBN: a hybrid transformer based model for Bangla hate speech detection across various social contexts
Tanvir Azhar, Tahsin Mahmud, Muhammad Asif Hasan, Mohammed Nazim Uddin, Seung-Bo Park
East Delta University · Global Convergence (United States)
Key points
From the paper's conclusion- We evaluate our approach on two tasks, Task-1: detecting hate speech in Bengali text classifying it as hateful or non-hateful and Task-2: categorizing hateful content into five distinct classes.
Abstract
The widespread use of online social media platforms has amplified the importance of efficient hate speech detection, especially in low-resource languages like Bengali. While traditional machine learning approaches show promise, deep learning is more effective in capturing the nuanced context of hate speech. Current challenges include a lack of diverse datasets and models capable of context-sensitive detection. To address these, we introduce HateCorpBN-XL, the largest labeled Bengali hate speech dataset to date, containing 65,251 comments across five categories: political (PoHS), religious (ReHS), misogynistic (MisoHS), slander (SlaHS), and xenophobic (XenHS). We also propose HateBertBN, a hybrid transformer-based model combining BanglaBERT embeddings with three neural network fusion strategies using CNN, LSTM, and MLP. We evaluate our approach on two tasks, Task-1: detecting hate speech in Bengali text classifying it as hateful or non-hateful and Task-2: categorizing hateful content into five distinct classes. For Task-1, all HateBertBN variants outperformed current transformer models, achieving an accuracy of 0.92 and a weighted F1-score of 0.92. In Task-2, the HateBertBN-MLP and HateBertBN-CNN variants achieved a notable 0.90 accuracy and weighted F1-score of 0.90, surpassing M-BERT, Distil-M-BERT, BanglaBERT, and XLM-R-Base. Although HateBertBN-LSTM performed slightly lower overall, it achieved strong F1-scores in the ReHS (0.93) and XenHS (1.00) categories. Overall, our hybrid model outperforms state-of-the-art approaches in both tasks, demonstrating its effectiveness and robustness.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- BanglaHateCorpus: A large-scale bangla benchmark for hate speech classification and a transformer-based deep learning method.PloS one · 2026
- Cross-Platform Hate Speech Detection Using an Attention-Enhanced BiLSTM ModelEngineering Technology & Applied Science Research · 2025
- Ben-Misandry: A Bengali Dataset and Late-Fusion Transformer Framework for Detecting Anti-Male Gender HatearXiv · 2026
- LEXF-ATT-XLM: A hybrid lexicon-enhanced attention model for hate speech detection in low-resource language Roman Urdu.PloS one · 2026
- Advancing content-based analysis for automatic hate speech classification on social mediaJournal of Intelligent Systems · 2026
- Explainable Cyberbullying Detection for Multilingual Online Platforms Using NLP and Augmentation-Enhanced Deep LearningElectronics · 2026