Data-Efficient Strategies for Expanding Hate Speech Detection into Under-Resourced Languages

Paul Röttger, Debora Nozza, Federico Bianchi, Dirk Hovy

Abstract

Automated hate speech detection is currently hampered by a significant linguistic imbalance, with the majority of research and labeled data concentrated in English. This leaves billions of non-English speakers vulnerable to online harms. This paper investigates data-efficient methods to bridge this gap, demonstrating that combining multilingual models with initial English-language fine-tuning and a small amount of target-language data (as few as 200 samples) can produce effective detectors for under-resourced languages. We analyze the trade-offs between annotation effort and model performance, identifying a "sweet spot" for resource allocation in content moderation systems.

Introduction

While hate speech is a global phenomenon, the resources to combat it are not distributed equally. The vast majority of high-quality, labeled datasets are in English, creating a "language gap" in content moderation. Simply applying English-trained models to other languages (zero-shot transfer) or relying on direct translation often fails because hate speech is deeply embedded in local cultural contexts, slang, and specific taboo expressions.

Expanding these systems typically requires large-scale human annotation, which is expensive, slow, and psychologically taxing for the annotators involved. This research seeks to identify the most data-efficient path for expanding detection capabilities into under-resourced languages, specifically looking for the point where additional annotation effort yields diminishing returns.

Methodology

The researchers conducted an extensive experimental sweep comparing two primary model architectures:

  1. Multilingual Models: Specifically XLM-T, a version of XLM-RoBERTa pre-trained on millions of tweets across over 30 languages.
  2. Monolingual Models: Language-specific BERT variants, such as RoBERTuito for Spanish and AraBERT for Arabic.

To optimize performance with minimal data, a two-phase fine-tuning strategy was employed:

  • Phase 1 (Source Transfer): The multilingual model is first fine-tuned on high-resource English hate speech data.
  • Phase 2 (Target Adaptation): The model is then fine-tuned on varying amounts ($N$) of target-language data, ranging from $N=10$ to $N=2,000$ samples.

The relationship between dataset size and performance (Macro F1 score) was quantified using Ordinary Least Squares (OLS) regression to model the value of each additional data point.

Experimental Setup and Datasets

The study utilized a diverse set of source and target data:

  • Source (English): Dynabench (DYN21_EN), Founta et al. (FOU18_EN), and Kennedy et al. (KEN20_EN).
  • Target Languages: Spanish, Portuguese, Hindi, Arabic, and Italian.
  • Evaluation: Models were tested on standard held-out sets and the Multilingual HateCheck (MHC) benchmark. MHC consists of approximately 3,000 functional test cases designed to evaluate robustness against complex linguistic phenomena, such as counter-speech or slurs used in neutral contexts.

Key Findings

The "Few-Shot" Power Jump

The research identified a dramatic performance surge when moving from zero-shot settings to just 200 target-language samples. Beyond $N=200$, the marginal benefit of adding more data decreases significantly. This suggests that for many under-resourced languages, a small, high-quality dataset is sufficient to achieve functional performance.

English as a Catalyst

Fine-tuning on English data prior to target-language adaptation acts as a powerful "warm-up." In extremely low-resource settings ($N < 200$), a multilingual model pre-tuned on English (X+DEN) significantly outperformed models trained only on the target language. For example, at $N=20$, the X+DEN configuration outperformed monolingual models by up to 0.26 F1 points. Furthermore, English data can act as a substitute for target data; a model pre-tuned on English with 100 Portuguese samples performed as well as a model with 300 Portuguese samples but no English pre-tuning.

The Generalization Trap

A critical finding was the discrepancy between performance on held-out training data versus independent benchmarks. Monolingual models often appeared superior on their own test sets but "collapsed" when faced with the Multilingual HateCheck benchmark. This suggests these models overfit to specific dataset quirks (like common hashtags) rather than learning the underlying concept of hate speech. Models pre-tuned on the adversarial Dynabench English dataset showed the highest levels of out-of-domain generalization.

Conclusion and Future Directions

This study demonstrates that massive datasets are not always a prerequisite for expanding hate speech detection. By leveraging multilingual pre-training and English-language transfer, researchers can build robust systems with minimal target-language annotation.

Future work should explore whether using "culturally closer" source languages (e.g., Spanish for Portuguese) provides even better transfer than English. Additionally, the authors suggest that rather than simply annotating more data, the focus should shift toward annotating more diverse data across different platforms and time periods to avoid the generalization traps identified in monolingual models.

Summary updated

BibTeX
@inproceedings{rottger2022data,
  author = {Paul Röttger and Debora Nozza and Federico Bianchi and Dirk Hovy},
  title = {{Data-Efficient Strategies for Expanding Hate Speech Detection into Under-Resourced Languages}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.383},
}
Figure