Please use this identifier to cite or link to this item: http://hdl.handle.net/2445/182589
Title: Analysis of hate speech detection in social media
Author: Sánchez Lladó, Ferran
Director/Tutor: Salamó Llorente, Maria
Keywords: Xarxes socials
Discurs de l'odi
Programari
Treballs de fi de grau
Aprenentatge automàtic
Algorismes computacionals
Tractament del llenguatge natural (Informàtica)
Social networks
Hate speech
Computer software
Machine learning
Computer algorithms
Bachelor's theses
Natural language processing (Computer science)
Issue Date: 20-Jul-2021
Abstract: [en] The presence of social networks has increased in our daily lives and have become platforms for sharing information. But, it also can be used for sending hate messages or for propagating false news. Users can take advantage of their anonymity to provide these toxic interactions. Furthermore, some groups of people (minorities) get disproportionately more targeted than the rest. This raises the problem of how to detect if a message contains hate speech. A solution could be the use of machine learning models that would be in charge of this decision. In addition, it could handle the enormous amount of texts interchanged daily. However, there are many approaches to tackle the problem, which are divided mainly into two groups. The first one is through the use of classical algorithms to extract information from the text. The other one is through the use of deep learning models that can understand some context that allows for better predictions. The main objectives of the project are the exploration and comparison of different types of models and techniques. The diverse models are trained with three distinct toxicity datasets, of two natural language processing competitions. Generally, the best performing model is BERT or SBERT, both models based on the deep learning approach, with metric scores much higher than any model based on the traditional methods. The results show the vast potential of Natural Language Processing for the detection of hate speech. Although the best models did not have a very high perplexity, a more reliable model could be trained with more training data or new architectures. Even at the current state, the models could be used as an external font for helping humans in the decision-making process. Moreover, these models could filter the most confident predictions while leaving the rest for the reviewer team.
Note: Treballs Finals de Grau d'Enginyeria Informàtica, Facultat de Matemàtiques, Universitat de Barcelona, Any: 2021, Director: Maria Salamó Llorente
URI: http://hdl.handle.net/2445/182589
Appears in Collections:Treballs Finals de Grau (TFG) - Enginyeria Informàtica

Files in This Item:
File Description SizeFormat 
tfg_ferran_sanchez_llado.pdfMemòria2.19 MBAdobe PDFView/Open


This item is licensed under a Creative Commons License Creative Commons