Multi-Task Learning with Sentiment, Emotion, and Target Detection to Recognize Hate Speech and Offensive Language
Not on the map. Why?
Abstract (arXiv)
The recognition of hate speech and offensive language (HOF) is commonly formulated as a classification task to decide if a text contains HOF. We investigate whether HOF detection can profit by taking into account the relationships between HOF and similar concepts: (a) HOF is related to sentiment analysis because hate speech is typically a negative statement and expresses a negative opinion; (b) it is related to emotion analysis, as expressed hate points to the author experiencing (or pretending to experience) anger while the addressees experience (or are intended to experience) fear. (c) Finally, one constituting element of HOF is the mention of a targeted person or group. On this basis, we hypothesize that HOF detection shows improvements when being modeled jointly with these concepts, in a multi-task learning setup. We base our experiments on existing data sets for each of these concepts (sentiment, emotion, target of HOF) and evaluate our models as a participant (as team IMS-SINAI) in the HASOC FIRE 2021 English Subtask 1A. Based on model-selection experiments in which we consider multiple available resources and submissions to the shared task, we find that the combination of the CrowdFlower emotion corpus, the SemEval 2016 Sentiment Corpus, and the OffensEval 2019 target detection data leads to an F1 =.79 in a multi-head multi-task learning model based on BERT, in comparison to .7895 of plain BERT. On the HASOC 2019 test data, this result is more substantial with an increase by 2pp in F1 and a considerable increase in recall. Across both data sets (2019, 2021), the recall is particularly increased for the class of HOF (6pp for the 2019 data and 3pp for the 2021 data), showing that MTL with emotion, sentiment, and target identification is an appropriate approach for early warning systems that might be deployed in social media platforms.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 25 of its 80 references that are in the map. First posted on arXiv 21 Sep 2021.
Builds on
25 of 80 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017A Survey on Multi-Task Learningcited by 838
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
- 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 649
- 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
- 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
- 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 206
- 2017Deep Learning for Hate Speech Detection in Tweetscited by 180
- 2020SemEval-2020 Task 12: Multilingual Offensive Language Identification in Social Media (OffensEval 2020)cited by 138
- 2019Emotion-Cause Pair Extraction: A New Task to Emotion Analysis in Textscited by 82
- 2018Hate Lingo: A Target-based Linguistic Analysis of Hate Speech in Social Mediacited by 59
13 more
- 2016Analyzing the Targets of Hate in Online Social Mediacited by 48
- 2021Hate Towards the Political Opponent: A Twitter Corpus Study of the 2020 US Elections on the Basis of Offensive Speech and Stance Detectioncited by 45
- 2019Multi-task Learning for Multi-modal Emotion Recognition and Sentiment Analysiscited by 39
- 2021Overview of the HASOC track at FIRE 2020: Hate Speech and Offensive Content Identification in Indo-European Languagescited by 38
- 2017WASSA-2017 Shared Task on Emotion Intensitycited by 37
- 2017Emotion Intensities in Tweetscited by 32
- 2019SemEval-2016 Task 4: Sentiment Analysis in Twittercited by 14
- 2020Joint Modelling of Emotion and Abusive Language Detectioncited by 13
- 2020Leveraging Affective Bidirectional Transformers for Offensive Language Detectioncited by 11
- 2017Assessing State-of-the-Art Sentiment Models on State-of-the-Art Sentiment Datasetscited by 8
- 2020Token Sequence Labeling vs. Clause Classification for English Emotion Stimulus Detectioncited by 8
- 2018Transfer Learning from LDA to BiLSTM-CNN for Offensive Language Detection in Twittercited by 6
- 2021Emotion Stimulus Detection in German News Headlinescited by 4
Built on by
Citing papers per year: 2021: 3; 2022: 4; 2023: 3; 2024: 0; 2025: 1; 2026: 1.
12 papers.
- 2022Multilingual Auxiliary Tasks Training: Bridging the Gap between Languages for Zero-Shot Transfer of Hate Speech Detection Modelscited by 10
- 2023Same Same, But Different: Conditional Multi-Task Learning for Demographic-Specific Toxicity Detectioncited by 10
- 2021Arabic Speech Emotion Recognition Employing Wav2vec2.0 and HuBERT Based on BAVED Datasetcited by 9
- 2021From Theories on Styles to their Transfer in Text: Bridging the Gap with a Hierarchical Surveycited by 5
- 2023Hate Speech and Offensive Language Detection using an Emotion-aware Shared Encodercited by 5
- 2022Learning a General Clause-to-Clause Relationships for Enhancing Emotion-Cause Pair Extractioncited by 4
- 2021Cross Domain Emotion Recognition using Few Shot Knowledge Transfercited by 2
- 2022Improving the Generalizability of Text-Based Emotion Detection by Leveraging Transformers with Psycholinguistic Featurescited by 1
- 2023Improving Cross-Domain Hate Speech Generalizability with Emotion Knowledgecited by 1
- 2026Nano-EmoX: Unifying Multimodal Emotional Intelligence from Perception to Empathycited by 1
- 2022Detection of Dangerous Events on Social Media: A Perspective Reviewcited by 0
- 2025Emotion-Enhanced Multi-Task Learning with LLMs for Aspect Category Sentiment Analysiscited by 0
- 2026Nano-EmoX: Unifying Multimodal Emotional Intelligence from Perception to Empathy2 Mar 2026
- 2025Emotion-Enhanced Multi-Task Learning with LLMs for Aspect Category Sentiment Analysis24 Nov 2025
- 2023Improving Cross-Domain Hate Speech Generalizability with Emotion Knowledge24 Nov 2023
- 2023Hate Speech and Offensive Language Detection using an Emotion-aware Shared Encoder17 Feb 2023
- 2023Same Same, But Different: Conditional Multi-Task Learning for Demographic-Specific Toxicity Detection14 Feb 2023
- 2022Improving the Generalizability of Text-Based Emotion Detection by Leveraging Transformers with Psycholinguistic Features19 Dec 2022
- 2022Multilingual Auxiliary Tasks Training: Bridging the Gap between Languages for Zero-Shot Transfer of Hate Speech Detection Models24 Oct 2022
- 2022Learning a General Clause-to-Clause Relationships for Enhancing Emotion-Cause Pair Extraction29 Aug 2022
- 2022Detection of Dangerous Events on Social Media: A Perspective Review4 Apr 2022
- 2021From Theories on Styles to their Transfer in Text: Bridging the Gap with a Hierarchical Survey29 Oct 2021
- 2021Cross Domain Emotion Recognition using Few Shot Knowledge Transfer11 Oct 2021
- 2021Arabic Speech Emotion Recognition Employing Wav2vec2.0 and HuBERT Based on BAVED Dataset9 Oct 2021