Hate Speech and Offensive Language Detection Using an Emotion-Aware Shared Encoder

  • Khouloud Mnassri
  • , Praboda Rajapaksha
  • , Reza Farahbakhsh
  • , Noel Crespi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The rise of emergence of social media platforms has fundamentally altered how people communicate, and among the results of these developments is an increase in online use of abusive content. Therefore, automatically detecting this content is essential for banning inappropriate information, and reducing toxicity and violence on social media platforms. The existing works on hate speech and offensive language detection produce promising results based on pre-trained transformer models, however, they considered only the analysis of abusive content features generated through annotated datasets. This paper addresses a multi-task joint learning approach which combines external emotional features extracted from another corpora in dealing with the imbalanced and scarcity of labeled datasets. Our analysis are using two well-known Transformer-based models, BERT and mBERT, where the later is used to address abusive content detection in multi-lingual scenarios. Our model jointly learns abusive content detection with emotional features by sharing representations through transformers' shared encoder. This approach increases data efficiency, reduce overfitting via shared representations, and ensure fast learning by leveraging auxiliary information. Our findings demonstrate that emotional knowledge helps to more reliably identify hate speech and offensive language across datasets. Our hate speech detection Multi-task model exhibited 3% performance improvement over baseline models, but the performance of multi-task models were not significant for offensive language detection task. More interestingly, in both tasks, multi-task models exhibits less false positive errors compared to single task scenario.

Original languageEnglish
Title of host publicationICC 2023 - IEEE International Conference on Communications
Subtitle of host publicationSustainable Communications for Renaissance
EditorsMichele Zorzi, Meixia Tao, Walid Saad
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages2852-2857
Number of pages6
ISBN (Electronic)9781538674628
DOIs
Publication statusPublished - 1 Jan 2023
Event2023 IEEE International Conference on Communications, ICC 2023 - Rome, Italy
Duration: 28 May 20231 Jun 2023

Publication series

NameIEEE International Conference on Communications
Volume2023-May
ISSN (Print)1550-3607

Conference

Conference2023 IEEE International Conference on Communications, ICC 2023
Country/TerritoryItaly
CityRome
Period28/05/231/06/23

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 16 - Peace, Justice and Strong Institutions
    SDG 16 Peace, Justice and Strong Institutions

Keywords

  • BERT
  • Hate speech
  • Multi-task learning
  • Multilingual BERT
  • Natural Language Processing
  • Social media
  • Twitter
  • emotional knowledge
  • offensive language
  • shared encoder

Fingerprint

Dive into the research topics of 'Hate Speech and Offensive Language Detection Using an Emotion-Aware Shared Encoder'. Together they form a unique fingerprint.

Cite this