[Paper Review] Comparing Approaches to Dravidian Language Identification
This paper evaluates two approaches—Naive Bayes with adaptive language models and a fine-tuned transformer model—on the Dravidian Language Identification (DLI) shared task, which involves identifying code-mixed YouTube comments in Roman script across Kannada, Malayalam, and Tamil. The Naive Bayes model achieved second place with a macro F1 of 0.92, outperforming the transformer-based model, suggesting that traditional methods remain competitive in low-resource, code-mixed language identification tasks despite the dominance of deep learning in other NLP areas.
This paper describes the submissions by team HWR to the Dravidian Language Identification (DLI) shared task organized at VarDial 2021 workshop. The DLI training set includes 16,674 YouTube comments written in Roman script containing code-mixed text with English and one of the three South Dravidian languages: Kannada, Malayalam, and Tamil. We submitted results generated using two models, a Naive Bayes classifier with adaptive language models, which has shown to obtain competitive performance in many language and dialect identification tasks, and a transformer-based model which is widely regarded as the state-of-the-art in a number of NLP tasks. Our first submission was sent in the closed submission track using only the training set provided by the shared task organisers, whereas the second submission is considered to be open as it used a pretrained model trained with external data. Our team attained shared second position in the shared task with the submission based on Naive Bayes. Our results reinforce the idea that deep learning methods are not as competitive in language identification related tasks as they are in many other text classification tasks.
Motivation & Objective
- To evaluate the performance of traditional and deep learning models on code-mixed Dravidian language identification in Roman script.
- To investigate whether transformer-based models outperform classical approaches in low-resource, code-mixed language identification tasks.
- To assess the impact of preprocessing choices such as case normalization and character-level n-grams on model performance.
- To compare the effectiveness of adaptive language models and pre-trained transformers on a challenging multilingual, code-mixed dataset.
- To contribute to the understanding of why deep learning models underperform in certain language identification scenarios despite their success in other NLP tasks.
Proposed method
- Applied a Naive Bayes classifier with adaptive language models trained on character-level n-grams, including both lowercase and original casing variants.
- Used a multilingual BERT and XLM-R large model fine-tuned end-to-end on the DLI dataset for the transformer-based approach.
- Employed a voting ensemble strategy across multiple transformer models with different random seeds to improve prediction robustness.
- Optimized hyperparameters (learning rate = 1e-5, epochs = 3) using a 0.8:0.2 training-validation split.
- Evaluated models using macro F1 on the test set, with the final prediction selected based on highest probability across ensemble models.
- Conducted ablation studies on preprocessing, including case normalization and use of non-alphabetic characters, to assess feature importance.
Experimental results
Research questions
- RQ1Does a Naive Bayes classifier with adaptive language models outperform transformer-based models in code-mixed Dravidian language identification?
- RQ2How do preprocessing choices such as case normalization and inclusion of non-alphabetic characters affect performance on this task?
- RQ3To what extent do pre-trained transformer models generalize to low-resource, code-mixed text involving Dravidian languages in Roman script?
- RQ4Why do transformer models underperform compared to simpler models in this language identification scenario?
- RQ5Can ensemble strategies improve the performance of transformer models on this challenging, low-resource language identification task?
Key findings
- The Naive Bayes classifier achieved a macro F1 score of 0.92, securing shared second place in the DLI shared task.
- The transformer-based model achieved a macro F1 score of 0.89, underperforming the Naive Bayes model by 3 percentage points.
- The Naive Bayes model outperformed the transformer model despite the latter being considered state-of-the-art in many NLP tasks.
- The use of original casing and non-alphabetic characters in the Naive Bayes model showed potential for improvement, as indicated by ablation results.
- The performance gap between the models suggests that pre-trained transformers may struggle with code-mixed, low-resource, Roman-script Dravidian text due to lack of exposure during pretraining.
- The results support the view that deep learning methods are not always superior in language identification tasks, especially in low-resource or highly code-mixed settings.
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.