Introduction
Hate speech detection is a critical task in natural language processing, yet its effectiveness is often hampered by regional linguistic variations. In the context of Rioplatense Spanish—the dialect spoken in Argentina and Uruguay—standard models trained on "General" or "Iberian" Spanish frequently fail to capture local slurs and cultural nuances. For instance, the word trola is a derogatory term for women in Argentina but simply means "lie" in Spain, while classist slurs like planero are deeply rooted in local socio-political contexts. This study evaluates whether the broad "world knowledge" of Large Language Models (LLMs) can outperform specialized, fine-tuned BERT-based classifiers in this specific dialectal setting.
Methodology
The researchers compared two primary approaches for multi-label classification across four categories: WOMEN, LGBTI, RACISM, and CLASS.
- Fine-tuned BERT Models: The study utilized BETO (a Spanish-specific BERT) and RoBERTuito (trained on Spanish tweets), fine-tuning them on a domain-specific corpus of Rioplatense news comments.
- LLMs with Chain-of-Thought (CoT): Models including GPT-3.5 Turbo, Mixtral 8x7B, and Aya were tested using "few-shot" prompting with 12 examples. These models were instructed to provide reasoning (CoT) before assigning a final label to better capture intent.
Dataset and Regionalisms
The study utilized a subsampled test set of 5,670 Twitter replies to Argentinean news outlets. Out of these, 479 comments were identified as containing hate speech.
The categories of RACISM and WOMEN were the most prevalent. A significant finding was that 71% of hateful messages in the "CLASS" category contained regionalisms, highlighting that hate speech in this dialect is inextricably linked to local idiomatic phrases like pelotudo or yegua.
Results and Discussion
The evaluation revealed a distinct performance gap between traditional fine-tuned models and LLMs, characterized by a significant precision-recall trade-off.
The Precision-Recall Trade-off
Fine-tuned BERT models, particularly BETO, emerged as the most reliable for automated moderation, achieving the highest precision (72.9) and F1-scores (63.5). In contrast, LLMs exhibited a "trigger-happy" behavior. The Aya model, for example, achieved a massive 93.0% recall but suffered from a dismal 11.9% precision, frequently misidentifying general insults as hate speech.
Nuance and Reasoning
Despite lower precision, LLMs demonstrated a superior ability to detect nuanced hate speech, particularly in the LGBTI category. While BERT models often rely on specific keywords, LLMs could reason through the intent of a message, catching subtle homophobic or transphobic content that lacked explicit slurs. The Chain-of-Thought justifications provided by LLMs were often human-like and culturally aware, suggesting a strong internal representation of cultural context even when classification thresholds were poorly calibrated.
Conclusion
While fine-tuned BERT models remain the gold standard for high-precision automated moderation, LLMs offer a powerful tool for capturing the "long tail" of nuanced, dialect-specific hate speech. The high false-positive rate of LLMs suggests they are currently best suited for human-in-the-loop moderation systems rather than fully autonomous ones. Future research will explore whether improved prompt engineering or perspectivist frameworks can calibrate LLM sensitivity to better match human annotators across different Spanish variants.
Summary updated