[Paper Review] Cross-lingual Hate Speech Detection using Transformer Models
This paper proposes fine-tuned multilingual Transformer models (mBERT and XLM-RoBERTa) for cross-lingual hate speech detection, evaluating performance across English-French language pairs and monolingual settings. It achieves strong zero-shot transfer performance, particularly with XLM-RoBERTa, demonstrating the effectiveness of multilingual pretraining for low-resource hate speech detection.
Hate speech detection within a cross-lingual setting represents a paramount area of interest for all medium and large-scale online platforms. Failing to properly address this issue on a global scale has already led over time to morally questionable real-life events, human deaths, and the perpetuation of hate itself. This paper illustrates the capabilities of fine-tuned altered multi-lingual Transformer models (mBERT, XLM-RoBERTa) regarding this crucial social data science task with cross-lingual training from English to French, vice-versa and each language on its own, including sections about iterative improvement and comparative error analysis.
Motivation & Objective
- Address the critical need for automated hate speech detection across languages, especially in low-resource settings where labeled data is scarce.
- Investigate the effectiveness of multilingual Transformer models in transferring hate speech detection capabilities across languages, particularly from English to French and vice versa.
- Evaluate monolingual and cross-lingual fine-tuning strategies to determine optimal performance and generalization in multilingual NLP tasks.
- Conduct iterative model improvement and comparative error analysis to understand failure modes and improve robustness in hate speech detection.
Proposed method
- Fine-tune multilingual BERT (mBERT) and XLM-RoBERTa on English and French hate speech datasets for cross-lingual and monolingual classification.
- Apply transfer learning by initializing models with multilingual pretraining and fine-tuning on target language-specific hate speech data.
- Use standard text classification head with softmax output for binary hate speech classification (hate vs. non-hate).
- Perform zero-shot cross-lingual transfer by evaluating English-trained models on French data and vice versa, assessing zero-shot generalization.
- Apply iterative hyperparameter tuning and model architecture adjustments to improve performance across language pairs.
- Conduct comparative error analysis to identify linguistic and contextual failure patterns in predictions.
Experimental results
Research questions
- RQ1How well do fine-tuned multilingual Transformer models generalize across languages in hate speech detection tasks?
- RQ2What is the performance difference between monolingual and cross-lingual fine-tuning for hate speech detection in English and French?
- RQ3How effective is zero-shot transfer from English to French and vice versa using mBERT and XLM-RoBERTa?
- RQ4What are the main failure patterns in cross-lingual hate speech detection, and how can they be mitigated through error analysis?
Key findings
- XLM-RoBERTa outperforms mBERT in cross-lingual hate speech detection, particularly in zero-shot transfer settings.
- Cross-lingual fine-tuning from English to French achieves strong performance, indicating effective transfer of hate speech patterns across languages.
- Monolingual fine-tuning on each language yields higher performance than zero-shot transfer, confirming the value of target-language data.
- Error analysis reveals that sarcasm, code-switching, and non-literal language are major challenges for model generalization.
- Iterative hyperparameter tuning and architectural adjustments significantly improve model robustness and F1 scores across language pairs.
- The study demonstrates that multilingual pretraining enables viable low-resource hate speech detection, especially when target language data is limited.
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.