QCRI @ DSL 2016: Spoken Arabic Dialect Identification Using Textual Features
Paper · 2016 · Mohamed Eldesouki, Fahim Dalvi, Hassan Sajjad et al.
Summary
This paper describes QCRI's system for the Arabic sub-task of the DSL 2016 shared task (VarDial3). The task is to assign an utterance to one of five varieties: Egyptian, Gulf, Levantine, North-African or MSA. The training data is unusual. It consists of roughly 7.6K ASR transcripts in Buckwalter transliteration that were never manually corrected, so many lines are incoherent and some identical strings appear with different labels. Because the set is small, the authors chose features meant to reflect dialect morphology rather than topical vocabulary.
They compared Naive Bayes, logistic regression, a two-layer neural network, and SVMs with linear and string kernels. Features were word and character n-grams weighted by tf or tf-idf, and models were tuned on an internal 80/20 split. The winner was a linear SVM over concatenated character 2–5-gram tf-idf vectors, trained after removing sentences of three words or fewer. It reached about 0.70 on dev and 0.5136 accuracy on the closed test track. That was the best accuracy in the task and the third-best weighted F1, within 0.002 of the top system. Adding the newspaper-based AOC corpus in the open runs lowered scores sharply, which shows that a genre mismatch can cancel out the benefit of extra data.
Key points
- The training set has 7,619 sentences, 315,829 tokens and 55,992 distinct words, with an average of 41 words per sentence. Egyptian has the longest sentences (53.8 words on average), and MSA is the smallest class (999 sentences).
- Dev accuracy rose as features changed:
- word unigram tf-idf with a linear SVM: 0.5976;
- combined character 2–5-grams: 0.6588;
- the same features plus the short-sentence filter: 0.7007.
- On the hidden test set, closed run1 scored 0.5136 accuracy, 0.5091 macro F1 and 0.5112 weighted F1, against a majority-class baseline of 0.2279. Open runs using AOC only reached about 0.38 accuracy.
- MSA was the easiest class to recognise and Gulf the hardest. The string-kernel SVM and the neural network both trailed the linear SVM, which the authors attribute to too little data for their extra parameters.
- Stopwords were kept on purpose because they carry dialect signal. Character n-gram length was capped at 5 because the average word length is about 4.5 characters.
Interesting ideas
- I1. Removing very short training items, which in noisy data are often unlabelable or even duplicated with conflicting labels, improved the classifier noticeably; it is a cheap way to clean data whose labels were assigned per document rather than per fragment.
- I2. The maximum character n-gram length was set from the measured average word length, a simple data-driven bound on feature size.
- I3. Extra out-of-genre data (newspaper comments) made results much worse than the small in-genre set alone, so more data is not automatically better.
- I4. Function words, usually discarded as noise, turned out to be strong markers of a language variety.
- I5. With a small training set, the plain linear model beat higher-capacity models, so capacity should be matched to data size.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (learn): Silver data could exclude very short sentences or fragments where witness parsers disagree, keeping noisy items from dominating training.
- I2 (tokens): Character-affix cues for guessing morphology or lemmas of unknown words could use a length limit derived the same way from corpus statistics.
- I3 (learn): Any external treebank or teacher data should be admitted only after an in-genre held-out check that acts as a negative control.
- I4 (tree): When choosing UD dialect conversion rules or detecting register, explicit function-word cues could serve as transparent, explainable evidence for which variant the input belongs to.
- I5 (learn): Small LLM-teacher datasets should always be compared against a simple linear baseline before a heavier parser or classifier is trusted.
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works
🧭 Topics 1Research subjects and languages the work is about.Semitic languages · 2,908 works
Cite
Cite as Mohamed Eldesouki, Fahim Dalvi, Hassan Sajjad and Kareem Darwish. 2016. QCRI @ DSL 2016: Spoken Arabic Dialect Identification Using Textual Features. Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3).
@inproceedings{eldesouki2016qcri,
title = {{QCRI @ DSL 2016: Spoken Arabic Dialect Identification Using Textual Features}},
author = {Mohamed Eldesouki, Fahim Dalvi, Hassan Sajjad and Kareem Darwish},
booktitle = {Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3)},
year = {2016},
url = {https://aclanthology.org/W16-4828/}
}References
- Ahmed Ali, Najim Dehak, Patrick Cardinal, Sameer Khurana, Sree Harsha Yella, James Glass, Peter Bell, and Steve Renals. 2016. Automatic dialect detection in arabic broadcast speech. In Interspeech 2016, pages 2934– 2938.
- Houda Bouamor, Nizar Habash, and Kemal Oflazer. 2014. A multidialectal parallel corpus of arabic. In LREC, pages 1240–1245.
- Kareem Darwish, Hassan Sajjad, and Hamdy Mubarak. 2014. Verifiably effective arabic dialect identification. In EMNLP, pages 1465–1468.
- Mona Diab, Nizar Habash, Owen Rambow, Mohamed Altantawy, and Yassine Benajiba. 2010. Colaba: Arabic dialect annotation and processing. In Lrec workshop on semitic language processing, pages 66–74. find
- Nadir Durrani, Yaser Al-Onaizan, and Abraham Ittycheriah. 2014. Improving egyptian-to-english smt by mapping egyptian into msa. In International Conference on Intelligent Text Processing and Computational Linguistics, pages 271–282. Springer. find
- Shervin Malmasi, Eshrag Refaee, and Mark Dras. 2015. Arabic Dialect Identification using a Parallel Multidialectal Corpus. In Proceedings of the 14th Conference of the Pacific Association for Computational Linguistics (PACLING 2015), pages 209–217, Bali, Indonesia, May. find
- Shervin Malmasi, Marcos Zampieri, Nikola Ljubešić, Preslav Nakov, Ahmed Ali, and Jörg Tiedemann. 2016. Discriminating between similar languages and arabic dialect identification: A report on the third dsl shared task. In Proceedings of the 3rd Workshop on Language Technology for Closely Related Languages, Varieties and Dialects (VarDial), Osaka, Japan.
- Hamdy Mubarak and Kareem Darwish. 2014. Using twitter to collect a multi-dialectal corpus of arabic. ANLP 2014, page 1.
- Hassan Sajjad, Kareem Darwish, and Yonatan Belinkov. 2013. Translating dialectal Arabic to English. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), ACL ’13, pages 1–6, Sofia, Bulgaria. find
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1715–1725, Berlin, Germany, August. Association for Computational Linguistics.
- Omar F Zaidan and Chris Callison-Burch. 2011. The arabic online commentary dataset: an annotated dataset of informal arabic with high dialectal content. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies: short papers-Volume 2, pages 37–41. Association for Computational Linguistics.
- Omar F Zaidan and Chris Callison-Burch. 2014. Arabic dialect identification. Computational Linguistics, 40(1):171–202. ↗
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/eldesouki-2016-qcri-dsl-2016-spoken-arabic/