How to Detect Online Hate towards Migrants and Refugees? Developing and Evaluating a Classifier of Racist and Xenophobic Hate Speech Using Shallow and Deep Learning
Open Access
- 13 October 2022
- journal article
- research article
- Published by MDPI AG in Sustainability
- Vol. 14 (20) , 13094
Abstract
Hate speech spreading online is a matter of growing concern since social media allows for its rapid, uncontrolled, and massive dissemination. For this reason, several researchers are already working on the development of prototypes that allow for the detection of cyberhate automatically and on a large scale. However, most of them are developed to detect hate only in English, and very few focus specifically on racism and xenophobia, the category of discrimination in which the most hate crimes are recorded each year. In addition, ad hoc datasets manually generated by several trained coders are rarely used in the development of these prototypes since almost all researchers use already available datasets. The objective of this research is to overcome the limitations of those previous works by developing and evaluating classification models capable of detecting racist and/or xenophobic hate speech being spread online, first in Spanish, and later in Greek and Italian. In the development of these prototypes, three differentiated machine learning strategies are tested. First, various traditional shallow learning algorithms are used. Second, deep learning is used, specifically, an ad hoc developed RNN model. Finally, a BERT-based model is developed in which transformers and neural networks are used. The results confirm that deep learning strategies perform better in detecting anti-immigration hate speech online. It is for this reason that the deep architectures were the ones finally improved and tested for hate speech detection in Greek and Italian and in multisource. The results of this study represent an advance in the scientific literature in this field of research, since up to now, no online anti-immigration hate detectors had been tested in these languages and using this type of deep architecture.Keywords
Funding Information
- European Commission (REC-RRAC-RACI-AG-2019 [GA n. 875217])
This publication has 36 references indexed in Scilit:
- Visual frames of migrants and refugees in the main Western European mediaEconomics & Sociology, 2019
- Automatic hate speech detection using killer natural language processing optimizing ensemble deep learning approachComputing, 2019
- Effective hate-speech detection in Twitter data using recurrent neural networksApplied Intelligence, 2018
- Hate speech review in the context of online social networksAggression and Violent Behavior, 2018
- Cortina, Adela. Aporofobia, el rechazo al pobre. Un desafío para la democracia. Barcelona: Paidós, 2017. 196 pp.Ideas y Valores, 2018
- Deep learning for detecting inappropriate content in textInternational Journal of Data Science and Analytics, 2017
- A Measurement Study of Hate Speech in Social Media2017
- Deep Learning for Hate Speech Detection in Tweets2017
- Taxonomia de la comunicació violenta i el discurs de l’odi a InternetIDP. Revista de Internet, Derecho y Política, 2016
- Understanding the predictive power of social mediaInternet Research, 2013