Vicinal Risk Minimization for Few-Shot Cross-lingual Transfer in Abusive Language Detection

Gretel Liz De la Peña Sarracén, Paolo Rosso, Robert Litschko, Goran Glavaš, Simone Paolo Ponzetto

TL;DR

Detecting abusive language in low-resource languages is severely hampered by a lack of annotated data. This paper introduces MIXAG, a novel data augmentation technique that generates synthetic training examples by geometrically interpolating text embeddings based on the angle between them. When applied to few-shot cross-lingual transfer learning, MIXAG significantly improves detection performance across seven diverse languages and multiple online domains.

What Problem Does This Paper Address?

Automated abusive language detection is vital for online safety, but building effective models requires massive amounts of labeled data. While English benefits from abundant datasets, most of the world's languages—especially low- and medium-resource ones—lack these resources.

A common workaround is few-shot cross-lingual transfer learning: a multilingual model (like mBERT) is trained on a high-resource source language (English) and then fine-tuned on just a handful of examples in the target language. However, naive fine-tuning on tiny datasets frequently leads to overfitting and poor generalization. The authors tackle this challenge by exploring data-level augmentation strategies to expand the target language's training set without requiring expensive manual annotation or external language-specific tools.

Methods

The authors base their approach on Vicinal Risk Minimization (VRM), a principle that formalizes data augmentation by drawing synthetic samples from the immediate "vicinity" of real data points. They evaluate two existing VRM techniques and propose a novel third one:

  1. SSMBA: A method that corrupts input text by randomly masking words and uses a language model to reconstruct them, moving randomly on the data manifold.
  2. MIXUP: A popular technique that creates synthetic examples via a random linear combination of pairs of real examples and their labels.
  3. MIXAG (Proposed): The authors argue that random interpolation in MIXUP doesn't properly account for the geometric relationship between text representations. MIXAG solves this by calculating the interpolation parameter ($\lambda$) as a function of the angle ($\alpha$) between two original text vectors and the desired angle ($\theta$) of the new synthetic vector. In their experiments, they set $\theta = \alpha/2$ to perfectly bisect the original vectors.
Figure 1: MIXAG description.

For both MIXUP and MIXAG, text embeddings are extracted using a multilingual GPT model, linearly combined in the vector space, and then decoded back into natural language tokens.

Additionally, the authors explore an unsupervised language adaptation scenario where no target labels are available, using continual pre-training via Masked Language Modeling (MLM) on the target language before zero-shot transfer.

Datasets

The experiments utilize the XHate-999 dataset, a multidomain and multilingual benchmark for abusive language detection. It spans three distinct online environments:

  • GAO: Fox News comments
  • TRAC: Twitter/Facebook posts
  • WUL: Wikipedia talk pages

The dataset features English training data, with test sets translated into five target languages: Albanian (SQ), Croatian (HR), German (DE), Russian (RU), and Turkish (TR).

New Contribution: To enable a more comprehensive evaluation, the authors manually translated and post-edited the dataset to introduce a seventh language: Spanish (ES).

Key Insights and Ideas

  • Geometry Matters in Embedding Space: Controlling the angle of interpolation (MIXAG) outperforms random interpolation (MIXUP) when dealing with complex, heterogeneous data. This geometric constraint proves particularly powerful in multilingual settings where data from different languages are combined.
  • Augmentation is Domain-Sensitive: The text-reconstruction approach of SSMBA works exceptionally well on clean, structured text like Wikipedia (WUL) but fails completely on noisy, slang-heavy social media text (TRAC). The reconstruction model likely introduces standard dictionary terms that clash with the actual distribution of social media speech.
  • The Precision-Recall Trap in Domain Adaptation: Unsupervised adaptation via MLM successfully tunes the model to recognize target-language abusive terms, drastically reducing false negatives (boosting Recall). However, it makes the model hyper-sensitive, causing it to flag benign text as abusive far too often (dropping Precision).

Key Results

In the comprehensive multidomain and multilingual setup (where training data from all domains and languages are combined), Multilingual MIXAG (MMA) consistently emerged as the top performer.

  • For Spanish (ES), zero-shot performance started at an F1 score of 0.6008. Standard few-shot fine-tuning only bumped it to 0.6130. Applying MMA skyrocketed the F1 score to 0.7476.
  • For Turkish (TR), zero-shot performance was a low 0.3627. MMA successfully elevated the F1 score to 0.7224.
  • Across all target languages, the multilingual variants of MIXUP and MIXAG consistently outperformed their monolingual counterparts, proving that cross-lingual data mixing provides a robust regularization effect.

Limitations and Future Work

A primary limitation is that the training and development sets remain exclusively in English, meaning the transfer is strictly one-way. Additionally, the error analysis revealed that while unsupervised domain adaptation successfully catches more abuse, its tendency to degrade precision makes it risky for standalone deployment.

For future work, the authors suggest exploring the flexibility of MIXAG by varying the target angle parameter ($\theta$) rather than keeping it fixed as a perfect bisection ($\alpha/2$), which could unlock even better synthetic data distributions.

Summary updated

Abstract

Cross-lingual transfer learning from high-resource to medium and low-resource languages has shown encouraging results. However, the scarcity of resources in target languages remains a challenge. In this work, we resort to data augmentation and continual pre-training for domain adaptation to improve cross-lingual abusive language detection. For data augmentation, we analyze two existing techniques based on vicinal risk minimization and propose MIXAG, a novel data augmentation method which interpolates pairs of instances based on the angle of their representations. Our experiments involve seven languages typologically distinct from English and three different domains. The results reveal that the data augmentation strategies can enhance few-shot cross-lingual abusive language detection. Specifically, we observe that consistently in all target languages, MIXAG improves significantly in multidomain and multilingual environments. Finally, we show through an error analysis how the domain adaptation can favour the class of abusive texts (reducing false negatives), but at the same time, declines the precision of the abusive language detection model.
BibTeX
@inproceedings{sarracen2023vicinal,
  author = {Gretel Liz De la Peña Sarracén and Paolo Rosso and Robert Litschko and Goran Glavaš and Simone Paolo Ponzetto},
  title = {{Vicinal Risk Minimization for Few-Shot Cross-lingual Transfer in Abusive Language Detection}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.248},
}
Figure