[Paper Review] Hate-Alert@DravidianLangTech-EACL2021: Ensembling strategies for Transformer-based Offensive language Detection.
This paper proposes an ensemble of fine-tuned Transformer models for offensive language detection in low-resource Dravidian languages—Tamil, Kannada, and Malayalam—using a genetic algorithm to optimize model combination. It achieves state-of-the-art performance, securing 1st place in Tamil and Malayalam, and 2nd in Kannada in the shared task at EACL 2021.
Social media often acts as breeding grounds for different forms of offensive content. For low resource languages like Tamil, the situation is more complex due to the poor performance of multilingual or language-specific models and lack of proper benchmark datasets. Based on this shared task “Offensive Language Identification in Dravidian Languages” at EACL 2021; we present an exhaustive exploration of different transformer models, We also provide a genetic algorithm technique for ensembling different models. Our ensembled models trained separately for each language secured the first position in Tamil, the second position in Kannada, and the first position in Malayalam sub-tasks. The models and codes are provided.
Motivation & Objective
- To address the challenge of offensive language detection in low-resource Dravidian languages, where existing multilingual or language-specific models underperform.
- To develop a robust, language-specific approach for offensive language identification in Tamil, Kannada, and Malayalam.
- To explore effective ensembling strategies that improve performance on low-resource language datasets.
- To introduce a genetic algorithm-based method for optimizing model ensemble weights across diverse Transformer architectures.
Proposed method
- Fine-tune multiple pre-trained Transformer models (e.g., mBERT, XLM-R) on language-specific offensive language datasets for Tamil, Kannada, and Malayalam.
- Apply a genetic algorithm to search for optimal ensemble weights across multiple individual models, treating model performance as fitness.
- Use early stopping and learning rate scheduling during training to improve convergence and generalization.
- Train separate models for each language to preserve linguistic specificity and avoid domain shift.
- Optimize the ensemble using validation F1 scores as the fitness function in the genetic algorithm.
- Evaluate the final ensemble on test sets to determine performance across all three Dravidian languages.
Experimental results
Research questions
- RQ1Can fine-tuned Transformer models achieve strong performance in offensive language detection for low-resource Dravidian languages like Tamil, Kannada, and Malayalam?
- RQ2How effective is a genetic algorithm in optimizing model ensembles for offensive language detection in low-resource settings?
- RQ3Does language-specific fine-tuning outperform multilingual models in this low-resource context?
- RQ4What is the impact of different ensemble strategies on F1-score performance in the shared task?
- RQ5Can a hybrid approach of multiple models and automated weight optimization outperform individual models?
Key findings
- The ensemble model achieved the highest F1 score in the Tamil sub-task, securing 1st place in the shared task.
- The model achieved 2nd place in the Kannada sub-task, demonstrating strong generalization across Dravidian languages.
- The ensemble model achieved 1st place in the Malayalam sub-task, indicating high effectiveness for this low-resource language.
- The genetic algorithm-based ensembling strategy significantly improved performance over individual models and standard averaging.
- Fine-tuning language-specific models yielded better results than relying solely on multilingual models like mBERT or XLM-R.
- The proposed approach demonstrated robustness and scalability across three distinct Dravidian languages with limited annotated data.
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.