An emotion aware context adaptive machine learning approach for detecting hate speech in social media
Krishan Chavinda, Pasan Kalansooriya, Thushalya Weerasuriya, Nisansa de Silva, Uthayasanker Thayasivam, Kogul Srikandabala, Kirishnni Prabagar, Damminda Alahakoon
University of Moratuwa · La Trobe University
Key points
From the paper's conclusion- These findings show the importance of emotion-aware, context-adaptive detection systems and the need for strategies to address class imbalance and linguistic evolution.
Abstract
Abstract Detecting hate speech is challenging because language constantly evolves, often carrying subtle emotional undertones that can be difficult to interpret. While many existing approaches rely on semantic analysis, they frequently miss these emotional cues and struggle to adapt to different contexts. This paper introduces an enhanced Dual Contrastive Learning (DCL) framework, integrating emotion profiling with fine-tuned language models (BERTweet, RoBERTa, TimeLMs) to address these gaps. By using SHAP (SHapley Additive exPlanations) for interpretability, our approach enhances both detection accuracy and explainability. Experiments on SemEval-2019, Davidson, and a Unified Twitter corpus show that our EmotionDCL models outperform baseline methods, with TimeLMs achieving 81.20% accuracy on SemEval and 94.04% on Davidson. Ablation studies confirm the synergy between contrastive learning and emotion integration, highlighting anger, fear, and anticipation as dominant emotional drivers of hate speech. These findings show the importance of emotion-aware, context-adaptive detection systems and the need for strategies to address class imbalance and linguistic evolution.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A context-aware hybrid multimodal transformer framework for hate speech detection via contrastive annotation and graph-based semantic ExpansionDiscover Computing · 2026
- CoR-Hate: counterfactual retrieval and fairness-regularized hate-speech detectionComplex & Intelligent Systems · 2026
- Joint Detection of Constructive Speech, Hate Speech and Agreement in Online ConversationsarXiv · 2026
- Cross-Platform Hate Speech Detection Using an Attention-Enhanced BiLSTM ModelEngineering Technology & Applied Science Research · 2025
- Advancing content-based analysis for automatic hate speech classification on social mediaJournal of Intelligent Systems · 2026
- An Efficient Transformer-Based Sentence Embedding Fusion Approach for Hate Speech Detection on Social Media.Journal of visualized experiments : JoVE · 2026