Table of Contents
Fetching ...

Exploring Large Language Models for Hate Speech Detection in Rioplatense Spanish

Juan Manuel Pérez, Paula Miguel, Viviana Cotik

TL;DR

This work presents a brief analysis of the performance of large language models in the detection of Hate Speech for Rioplatense Spanish, and outlines that, even if large language models show a lower precision compared to the fine-tuned BERT classifier, they still are sensitive to highly nuanced cases.

Abstract

Hate speech detection deals with many language variants, slang, slurs, expression modalities, and cultural nuances. This outlines the importance of working with specific corpora, when addressing hate speech within the scope of Natural Language Processing, recently revolutionized by the irruption of Large Language Models. This work presents a brief analysis of the performance of large language models in the detection of Hate Speech for Rioplatense Spanish. We performed classification experiments leveraging chain-of-thought reasoning with ChatGPT 3.5, Mixtral, and Aya, comparing their results with those of a state-of-the-art BERT classifier. These experiments outline that, even if large language models show a lower precision compared to the fine-tuned BERT classifier and, in some cases, they find hard-to-get slurs or colloquialisms, they still are sensitive to highly nuanced cases (particularly, homophobic/transphobic hate speech). We make our code and models publicly available for future research.

Exploring Large Language Models for Hate Speech Detection in Rioplatense Spanish

TL;DR

This work presents a brief analysis of the performance of large language models in the detection of Hate Speech for Rioplatense Spanish, and outlines that, even if large language models show a lower precision compared to the fine-tuned BERT classifier, they still are sensitive to highly nuanced cases.

Abstract

Hate speech detection deals with many language variants, slang, slurs, expression modalities, and cultural nuances. This outlines the importance of working with specific corpora, when addressing hate speech within the scope of Natural Language Processing, recently revolutionized by the irruption of Large Language Models. This work presents a brief analysis of the performance of large language models in the detection of Hate Speech for Rioplatense Spanish. We performed classification experiments leveraging chain-of-thought reasoning with ChatGPT 3.5, Mixtral, and Aya, comparing their results with those of a state-of-the-art BERT classifier. These experiments outline that, even if large language models show a lower precision compared to the fine-tuned BERT classifier and, in some cases, they find hard-to-get slurs or colloquialisms, they still are sensitive to highly nuanced cases (particularly, homophobic/transphobic hate speech). We make our code and models publicly available for future research.

Paper Structure

This paper contains 17 sections, 1 figure, 7 tables.

Figures (1)

  • Figure 1: Precision, recall and F1 of the classifiers: ChatGPT 3.5, Aya, Mixtral and the fine-tuned BETO classifier.