Abstract
Arabic dialect classification has been an important and challenging problem for Arabic language processing, especially for social media text analysis and machine translation. In this paper we propose an approach to improving Arabic dialect classification with semi-supervised learning: multiple classifiers are trained with weakly supervised, strongly supervised, and unsupervised data. Their combination yields significant and consistent improvement on two different test sets. The dialect classification accuracy is improved by 5% over the strongly supervised classifier and 20% over the weakly supervised classifier. Furthermore, when applying the improved dialect classifier to build a Modern Standard Arabic (MSA) language model (LM), the new model size is reduced by 70% while the English-Arabic translation quality is improved by 0.6 BLEU point.
Introduction
Arabic is a diglossic language characterized by a sharp divide between Modern Standard Arabic (MSA)—the formal language of news, literature, and government—and various regional dialects used in daily life and social media. These dialects, including Egyptian, Levantine, Gulf, and Maghrebi, differ significantly from MSA and each other in morphology, vocabulary, and grammar.
Most Natural Language Processing (NLP) tools are optimized for MSA. However, the prevalence of dialectal Arabic on social media platforms like Facebook creates a performance gap for tasks like Machine Translation (MT). This research addresses the challenge of accurately identifying dialects to improve downstream language modeling and translation.
Methodology
The researchers developed a multi-tiered semi-supervised learning framework to leverage massive amounts of unlabeled social media data:
- Weakly Supervised Learning: User metadata (country of origin) from Facebook profiles served as proxy labels. While noisy, this provided a massive dataset of millions of words.
- Strongly Supervised Learning: The Arabic Online Commentary (AOC) corpus, containing human-annotated labels for MSA and four dialects, was used to train a high-precision "gold standard" model.
- Semi-supervised Learning: Three techniques bridged the gap: self-training, co-training (requiring consensus between weak and strong models), and perplexity-based data filtering.
- Classifier Combination: Final classification was achieved through linear interpolation, weighting the outputs of the various models to reach a final decision.
Experimental Results
The approach was evaluated on two datasets: the AOC corpus and a manually annotated Facebook test set.
The combined model achieved 87.8% accuracy on the AOC dataset and 68.2% on the noisier Facebook test set. This represents a 5% improvement over the strongly supervised baseline and a 20% increase over the weakly supervised baseline.
Beyond classification, the study demonstrated significant gains in MT efficiency. By using the classifier to filter out dialectal "noise" from MSA training data, the researchers reduced the language model size by 70% while improving English-to-Arabic translation quality by 0.6 BLEU points. This proves that for formal tasks, data quality and dialectal purity are more critical than sheer data volume.
Conclusion
This work demonstrates that "distant" supervision from social media metadata, when combined with high-quality annotated data through semi-supervised techniques, can significantly enhance dialect classification. Future work will explore more granular user features and extend this framework to other dialect-rich language families.
Summary updated