[Paper Review] NLPDove at SemEval-2020 Task 12: Improving Offensive Language Detection with Cross-lingual Transfer
This paper presents NLPDove, a multilingual offensive language detection system leveraging cross-lingual transfer and data augmentation to improve performance on SemEval-2020 Task 12. It introduces Translation Embedding Distance (TED) to select transferable examples from other languages and enhances mBERT fine-tuning with language-specific preprocessing, achieving state-of-the-art results in Greek (1st), Danish (3rd), and Turkish (5th).
This paper describes our approach to the task of identifying offensive languages in a multilingual setting. We investigate two data augmentation strategies: using additional semi-supervised labels with different thresholds and cross-lingual transfer with data selection. Leveraging the semi-supervised dataset resulted in performance improvements compared to the baseline trained solely with the manually-annotated dataset. We propose a new metric, Translation Embedding Distance, to measure the transferability of instances for cross-lingual data selection. We also introduce various preprocessing steps tailored for social media text along with methods to fine-tune the pre-trained multilingual BERT (mBERT) for offensive language identification. Our multilingual systems achieved competitive results in Greek, Danish, and Turkish at OffensEval 2020.
Motivation & Objective
- Address the challenge of offensive language detection in low-resource multilingual settings, particularly where only binary offensive/not-offensive labels are available.
- Improve model generalization and robustness by leveraging semi-supervised labels and cross-lingual data transfer.
- Overcome the limitations of relying solely on offensive word presence by encouraging contextual understanding through data augmentation and preprocessing.
- Investigate the effectiveness of multilingual BERT fine-tuning with tailored preprocessing for noisy social media text.
- Develop a reliable metric to quantify the transferability of examples across languages for effective data selection in cross-lingual learning.
Proposed method
- Apply data augmentation by filtering and incorporating high-confidence predictions from a semi-supervised dataset into the training set for English.
- Propose Translation Embedding Distance (TED) as a novel metric to measure the semantic similarity between source and target language examples for cross-lingual data selection.
- Implement language-specific preprocessing pipelines to handle noise in social media text, including handling user mentions, URLs, hashtags, and emoji.
- Fine-tune multilingual BERT (mBERT) using multiple representation layers, pooling mechanisms, and random seeds to improve robustness.
- Construct an ensemble model combining multiple mBERT variants to enhance prediction stability and performance.
- Use word masking on offensive terms during training to encourage context-aware learning, though this did not yield quantitative gains.
Experimental results
Research questions
- RQ1Can semi-supervised labels from model predictions improve offensive language detection performance in low-resource settings?
- RQ2How effective is cross-lingual transfer for offensive language detection when selecting transferable examples across languages?
- RQ3To what extent does the proposed Translation Embedding Distance (TED) metric improve data selection for cross-lingual transfer?
- RQ4Does preprocessing tailored for social media text enhance model performance on noisy, informal language?
- RQ5Can masking offensive words during training improve contextual understanding and reduce reliance on lexical cues?
Key findings
- The use of semi-supervised labels improved performance over the baseline model trained only on manually annotated data.
- The proposed TED metric effectively identified transferable examples, leading to improved performance in cross-lingual transfer.
- The ensemble of mBERT models with diverse pooling mechanisms and random seeds achieved strong results, with macro F1 scores of 0.85 in Greek (1st place), 0.79 in Danish (3rd), and 0.80 in Turkish (5th).
- Despite efforts, word masking during training did not improve performance and may have harmed it, likely due to over-masking of genuinely offensive terms.
- Qualitative analysis revealed that models still over-rely on offensive words even in non-aggressive contexts, such as in phrases like "f*cking awesome".
- The system achieved competitive results in English (15th/86) and Arabic (20th/54), indicating the method's scalability across languages with varying resource levels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.