[Paper Review] Galileo at SemEval-2020 Task 12: Multi-lingual Learning for Offensive Language Identification using Pre-trained Language Models
This paper presents Galileo's approach to offensive language identification across five languages using multilingual pre-trained language models (XLM-R and ERNIE), with knowledge distillation for offense categorization. The system achieved state-of-the-art performance, ranking first in average F1 across all languages in Sub-task A and first in both Sub-task B (offense type classification) and Sub-task C (offense target identification).
This paper describes Galileo's performance in SemEval-2020 Task 12 on detecting and categorizing offensive language in social media. For Offensive Language Identification, we proposed a multi-lingual method using Pre-trained Language Models, ERNIE and XLM-R. For offensive language categorization, we proposed a knowledge distillation method trained on soft labels generated by several supervised models. Our team participated in all three sub-tasks. In Sub-task A - Offensive Language Identification, we ranked first in terms of average F1 scores in all languages. We are also the only team which ranked among the top three across all languages. We also took the first place in Sub-task B - Automatic Categorization of Offense Types and Sub-task C - Offence Target Identification.
Motivation & Objective
- To develop a multilingual offensive language identification system capable of generalizing across diverse languages including English, Greek, Turkish, Danish, and Arabic.
- To improve offense categorization by leveraging soft labels via knowledge distillation from multiple supervised models.
- To address the challenge of low-resource languages in offensive language detection through cross-lingual transfer learning.
- To achieve high performance across all three sub-tasks of SemEval-2020 Task 12: offensive language detection, offense type classification, and offense target identification.
- To validate the effectiveness of ensemble learning and multilingual pre-training in low-resource and multilingual NLP scenarios.
Proposed method
- Employed multilingual pre-trained language models XLM-R Base and XLM-R Large for cross-lingual fine-tuning on offensive language detection across five languages.
- Applied ten-fold cross-validation-based ensemble of XLM-R Large to improve robustness and generalization in Sub-task A.
- Used knowledge distillation with soft labels generated from multiple supervised models (ALBERT-XXLarge and ERNIE 2.0) to improve categorization performance in Sub-task B and C.
- Trained the student model using soft targets from teacher models to capture nuanced classification patterns beyond hard labels.
- Implemented a multi-task learning strategy in ERNIE 2.0 with dynamic knowledge masking and application-specific pre-training tasks to enhance semantic representation.
- Combined results from multiple models using ensemble techniques to boost final performance on all sub-tasks.
Experimental results
Research questions
- RQ1Can multilingual pre-trained language models like XLM-R and ERNIE achieve strong zero-shot or few-shot generalization in offensive language detection across diverse languages?
- RQ2Does knowledge distillation using soft labels from multiple teacher models improve the performance of offense categorization compared to hard label supervision?
- RQ3How effective is cross-lingual transfer learning when the target language has limited annotated data, such as in Danish or Arabic?
- RQ4Can ensemble learning with multiple pre-trained models consistently outperform single-model baselines in multilingual offensive language detection?
- RQ5What is the impact of different pre-training strategies (e.g., dynamic knowledge masking in ERNIE 2.0) on downstream offensive language classification tasks?
Key findings
- Galileo achieved the highest average F1 score across all languages in Sub-task A, with a score of 0.8595, ranking first among all teams.
- In Sub-task A, the system achieved F1 scores of 0.9199 (English), 0.8510 (Greek), 0.8258 (Turkish), 0.8020 (Danish), and 0.8989 (Arabic), placing in the top three for all languages.
- For Sub-task B (offense type classification), the system achieved an F1 score of 0.7462, securing the first-place ranking.
- In Sub-task C (offense target identification), the system achieved an F1 score of 0.7145, also ranking first among all participants.
- Knowledge distillation using soft labels improved performance by approximately 2.5–3% over hard label training, demonstrating its effectiveness in complex categorization tasks.
- The ensemble of XLM-R Large models outperformed single-model inference, particularly in low-resource languages like Danish and Arabic, highlighting the benefit of model averaging.
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.