TL;DR
This paper presents a system using Support Vector Machine (SVM) ensembles to distinguish between five closely related Indo-Aryan languages. Their system achieved a strong 88.95% F1 score in the Indo-Aryan Language Identification (ILI) shared task, ranking third out of eight teams. This work highlights the challenges and effective strategies for identifying languages that are linguistically very similar.
What Problem Does This Paper Address?
Automatic language identification (LID) systems are generally very good at distinguishing between unrelated languages. However, they often struggle when faced with languages that are very similar, such as dialects or closely related language families. This is because these languages share a significant amount of vocabulary, grammar, and even script, making it difficult for algorithms to find distinguishing features. The Indo-Aryan language family, spoken by a large portion of the world's population, presents a prime example of this challenge, with languages like Hindi, Braj Bhasha, Awadhi, Bhojpuri, and Magahi exhibiting high degrees of similarity. This paper tackles this specific problem by developing and evaluating a system designed to accurately discriminate between these five Indo-Aryan languages.
Methods
The core of the proposed system is an ensemble of Support Vector Machine (SVM) classifiers. The authors leverage their previous work on similar tasks, building upon the success of classifier ensembles for improved robustness and performance. Each individual classifier within the ensemble is trained on a different set of features. The system utilizes character n-grams (from 1 to 8 grams), word n-grams (1 to 3 grams), and word k-skip bigrams (with k=1, 2, 3). TF-IDF weighting is applied to all features. For preprocessing, they experimented with punctuation removal but found it did not improve performance. The ensemble itself uses a majority voting mechanism, where the final prediction is determined by the majority of the individual classifiers. The SVM implementation used is LinearSVC from the Scikit-learn library, chosen for its scalability.
Datasets
The primary dataset used in this research is the one provided by the Indo-Aryan Language Identification (ILI) shared task. This dataset comprises five languages: Hindi, Braj Bhasha, Awadhi, Bhojpuri, and Magahi. The data was collected by scanning novels, magazines, and newspaper articles using OCR, followed by proofreading by native speakers. For Magahi and Bhojpuri, blog content was also included. The dataset was split into training (70,306 documents), development (10,329 documents), and testing (9,692 documents) sets. The authors explicitly state they did not use any additional training material or external resources beyond what was provided by the shared task organizers.
Key Insights and Ideas
- Ensembles are Key for Similar Languages: The paper reinforces the idea that ensemble methods are highly effective for discriminating between closely related languages, outperforming individual classifiers.
- Character N-grams are Powerful: Character 4-grams emerged as the single best performing feature type on the development set, highlighting their importance in capturing subtle linguistic distinctions.
- Optimal Feature Combination: The best performing ensemble combined character bigrams, trigrams, and 4-grams, suggesting a sweet spot in capturing local character patterns.
- Short Texts are a Major Hurdle: Error analysis revealed that very short texts (1-3 words) are a significant challenge for LID systems, often leading to misclassifications.
- Named Entities Confuse Classifiers: Misclassified instances frequently included named entities, which can lack distinctive linguistic markers for language identification.
- Linguistic Similarity is Deep: The similarity between languages like Bhojpuri and Hindi is so profound that even native speakers can find it challenging to distinguish them, as evidenced by the confusion matrix.
Key Results
The system, named "ILIdentification," achieved a weighted F1 score of 88.95% on the test set of the ILI shared task, securing 3rd place out of eight competing teams. On the development set, the best performing individual classifier (character 4-grams) achieved an F1 score of 0.951, and the optimal ensemble achieved 0.953. The system significantly outperformed a random baseline (0.202 F1 score). The confusion matrix shows that Braj Bhasha (BRA) was identified most accurately, while Awadhi (AWA) was the most frequently misclassified language.
Limitations and Future Work
The authors acknowledge that very short texts and named entities pose significant challenges for their system, leading to misclassifications. They also note that some instances are so similar that even native speakers struggle to differentiate them.
For future work, they suggest exploring a multi-label classification setup, where a sentence could be assigned to multiple languages if annotators deem it ambiguous. They also express interest in implementing and comparing their methods with other high-performing approaches, specifically mentioning the token-based back-off method used by the top-ranked SUKI team, which achieved substantially higher performance.
Summary updated