The Social Media Hate Speech Barometer: Making of

[EN] Hate speech, particularly on social media channels, is a pressing cybersecurity concern and can even threaten the very foundations of societal stability. While there is a growing body of literature on how to detect and mitigate hate speech, applied researchers lack a state-of-the-art yet easily...

Descripción completa

Detalles Bibliográficos
Autores: Sauer, Sebastian, Piazza, Alexander, Schacht, Sigurd
Tipo de recurso: capítulo de libro
Fecha de publicación:2024
País:España
Institución:Universitat Politècnica de València (UPV)
Repositorio:RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Idioma:inglés
OAI Identifier:oai:riunet.upv.es:10251/206335
Acceso en línea:https://riunet.upv.es/handle/10251/206335
Access Level:acceso abierto
Palabra clave:Hate speech
Machine learning
Cybersecurity
Natural language processing
Artificial intelligence
Descripción
Sumario:[EN] Hate speech, particularly on social media channels, is a pressing cybersecurity concern and can even threaten the very foundations of societal stability. While there is a growing body of literature on how to detect and mitigate hate speech, applied researchers lack a state-of-the-art yet easily accessible infrastructure to build their own hate speech detection pipelines. We aim to provide an example of such an infrastructure that can serve as a template for other researchers. The infrastructure we present is based on the latest machine learning technologies available in the R environment: The Tidymodels framework and its extension Tidytext, plus the Targets project management approach, are the building blocks of our proposed infrastructure. In short, our data pipeline starts with downloading and preprocessing tweets, using various methods to convert text into numerical information. We then apply state-of-the-art supervised machine learning pipelines, drawing on a range of learning algorithms and incorporating new tuning capabilities. The focus of this paper is to explain the setup and rationale of the infrastructure. Our infrastructure is freely available on Github at https://github.com/sebastiansauer/hate-speech-barometer.