[Paper Review] Offensive Language Identification in Low-resourced Code-mixed Dravidian languages using Pseudo-labeling
This paper proposes a pseudo-labeling approach to improve offensive language identification (OLI) in low-resource code-mixed Dravidian languages—Tamil, Kannada, and Malayalam—by transliterating mixed-language social media texts into their native scripts and generating pseudo-labels to expand training data. Fine-tuning ULMFiT on the augmented CM-TRA dataset achieves a weighted F1-score of 0.7934 on Tamil-English, with competitive results on Malayalam-English (0.9624) and Kannada-English (0.7306).
Social media has effectively become the prime hub of communication and digital marketing. As these platforms enable the free manifestation of thoughts and facts in text, images and video, there is an extensive need to screen them to protect individuals and groups from offensive content targeted at them. Our work intends to classify codemixed social media comments/posts in the Dravidian languages of Tamil, Kannada, and Malayalam. We intend to improve offensive language identification by generating pseudo-labels on the dataset. A custom dataset is constructed by transliterating all the code-mixed texts into the respective Dravidian language, either Kannada, Malayalam, or Tamil and then generating pseudo-labels for the transliterated dataset. The two datasets are combined using the generated pseudo-labels to create a custom dataset called CMTRA. As Dravidian languages are under-resourced, our approach increases the amount of training data for the language models. We fine-tune several recent pretrained language models on the newly constructed dataset. We extract the pretrained language embeddings and pass them onto recurrent neural networks. We observe that fine-tuning ULMFiT on the custom dataset yields the best results on the code-mixed test sets of all three languages. Our approach yields the best results among the benchmarked models on Tamil-English, achieving a weighted F1-Score of 0.7934 while scoring competitive weighted F1-Scores of 0.9624 and 0.7306 on the code-mixed test sets of Malayalam-English and Kannada-English, respectively.
Motivation & Objective
- Address the scarcity of annotated datasets for offensive language identification in low-resource Dravidian languages such as Tamil, Kannada, and Malayalam.
- Overcome data scarcity in code-mixed social media text by generating pseudo-labels through transliteration into native scripts.
- Enhance model generalization and performance by creating a multilingual, augmented training dataset (CM-TRA) via pseudo-labeling.
- Improve offensive language detection in code-mixed contexts where offensive intent exists without explicit offensive words.
- Enable better cross-lingual transfer learning for under-resourced Dravidian languages using synthetic, high-quality pseudo-labeled data.
Proposed method
- Transliterate code-mixed Tamil, Kannada, and Malayalam social media texts from Latin script into their respective native scripts (Tamil, Kannada, Malayalam).
- Apply a pre-trained multilingual model to generate pseudo-labels for the transliterated texts, leveraging model confidence to filter reliable predictions.
- Combine the original code-mixed dataset with the pseudo-labeled transliterated dataset to form a new, larger training set named CM-TRA.
- Fine-tune several state-of-the-art pretrained language models—including ULMFiT, RoBERTa, and BERT—on the CM-TRA dataset.
- Extract contextual embeddings from the fine-tuned models and feed them into a bidirectional GRU network for classification.
- Use a two-stage training pipeline: first, pseudo-labeling on transliterated data; second, end-to-end fine-tuning on the combined dataset.
Experimental results
Research questions
- RQ1Can pseudo-labeling on transliterated code-mixed Dravidian text significantly improve offensive language identification performance in low-resource settings?
- RQ2How effective is the combination of transliteration and pseudo-labeling in expanding training data for under-resourced Dravidian languages?
- RQ3Which pre-trained language model performs best when fine-tuned on the augmented CM-TRA dataset for code-mixed OLI?
- RQ4To what extent does the proposed method generalize across different Dravidian code-mixed language pairs (e.g., Tamil-English, Malayalam-English, Kannada-English)?
- RQ5Can the model detect offensive intent in comments lacking explicit offensive words, especially in culturally nuanced contexts?
Key findings
- Fine-tuning ULMFiT on the CM-TRA dataset yields the highest weighted F1-score of 0.7934 on the Tamil-English code-mixed test set.
- The model achieves a competitive weighted F1-score of 0.9624 on the Malayalam-English test set, indicating strong performance on this language pair.
- A weighted F1-score of 0.7306 is achieved on the Kannada-English test set, demonstrating robustness across multiple Dravidian languages.
- The approach significantly outperforms baseline models on the Tamil-English benchmark, highlighting its effectiveness in low-resource settings.
- The method successfully identifies offensive intent even in comments lacking explicit offensive vocabulary, such as sarcastic or culturally coded insults.
- The authors release the CM-TRA dataset and code, enabling reproducibility and future research in low-resource code-mixed OLI.
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.