Deep Learning Based Hate Speech Detection on Twitter

Akshat Gaurav, Brij B. Gupta, Kwok Tai Chui, Varsha Arya, Priyanka Chaurasia

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

1 Citation (Scopus)
44 Downloads (Pure)

Abstract

There have been growing worries about the effects of the widespread use of hate speech and harsh language on social media sites like Twitter. Effective strategies for recognising and reducing such dangerous material are necessary for resolving this problem. In this research, we give a detailed analysis of four deep learning models for identifying hate speech and inflammatory language on Twitter: the Long Short-Term Memory (LSTM), the Recurrent Neural Network (RNN), the Bidirectional LSTM (Bi-LSTM), and the Gated Recurrent Unit (GRU). We downloaded a large dataset from Kaggle that was curated for hate speech identification and used it in our experiment. We built each model after preprocessing and tokenization, then tweaked their hyperparameters for maximum efficiency. The models' abilities to detect hate speech were evaluated using standard measures including accuracy, precision, recall, and Fl-score. Our findings show that there is a wide range of effectiveness amongst models in terms of identifying hate speech and inflammatory language on Twitter. In terms of accuracy and Fl-scores, the Bi-LSTM and GRU models were superior to the LSTM and RNN. The results of this study imply that using bidirectional and gated processes may increase the models' capability of understanding the interdependencies and contexts of tweets, and hence, their classification accuracy.
Original languageEnglish
Title of host publication2023 IEEE 13th International Conference on Consumer Electronics - Berlin, ICCE-Berlin 2023
PublisherIEEE
ISBN (Electronic)979-8-3503-2415-0
ISBN (Print)979-8-3503-2416-7
DOIs
Publication statusPublished online - 2 Jan 2024

Publication series

Name2023 IEEE 13th International Conference on Consumer Electronics - Berlin (ICCE-Berlin)
PublisherIEEE Control Society
ISSN (Print)2166-6814
ISSN (Electronic)2166-6822

Bibliographical note

Publisher Copyright:
© 2023 IEEE.

Keywords

  • Deep Learning
  • Recurrent neural networks
  • Social networking (online)
  • Hate speech
  • Blogs
  • Logic gates
  • Tokenization
  • Hate Speech
  • LSTM
  • Bi-LSTM
  • GRU
  • RNN
  • Twitter

Fingerprint

Dive into the research topics of 'Deep Learning Based Hate Speech Detection on Twitter'. Together they form a unique fingerprint.

Cite this