Elamur Research⌕
☰
home / papers / 2019 / Mawdoo3 AI at MADAR Shared Task: Arabic Fine-Grained Dialect Identification with Ensemble Learning

Mawdoo3 AI at MADAR Shared Task: Arabic Fine-Grained Dialect Identification with Ensemble Learning

Paper · 2019 · Ahmad Ragab, Haitham Seelawi, Mostafa Samir et al.

Summary

The paper describes Mawdoo3 AI's entry to sub-task 1 of the MADAR shared task (WANLP 2019). The task is fine-grained Arabic dialect identification: each sentence from the travel domain is assigned to one of 26 classes, which are 25 city dialects plus MSA. The team represents each sentence with TF–IDF vectors over word n-grams and character n-grams. On top of these features they stack class probabilities from first-level classifiers and, in one run, scores from 96 KenLM language models. They submitted three systems:

  • a logistic regression over the stacked features;
  • a hard-voting ensemble of heterogeneous classifiers;
  • the same ensemble with LM scores added.

The ensemble scored best on DEV, at about 69.3% macro F1. The LM-augmented ensemble scored 67.20% macro F1 on TEST, which placed third of 19 teams and only 0.12 points behind the winner. Most errors came from confusing dialects that are geographically close. The work shows that careful smoothing, stacking and voting over sparse n-gram features stay competitive for closely related language varieties.

Key points

  • Data. CORPUS-26 has 1,600 training and 200 DEV sentences per class. CORPUS-6 covers 5 cities plus MSA. CORPUS-26 contains about 295K space-separated tokens, of which about 85K are unique.
  • Features. The combined vector has about 236K dimensions. It joins word unigrams and bigrams with character 1–5-grams that are kept inside word boundaries, which worked better than letting n-grams cross word boundaries.
  • Baseline. A Multinomial Naive Bayes with Lidstone smoothing (α = 0.1 rather than 1) reached about 68.3% on DEV. This beat the comparable MNB setup reported by Salameh et al. (2018) on the same features.
  • Ensemble. The voting ensemble combines a one-vs-rest MNB, an SVM, Bernoulli NB, a distance-weighted kNN and a prior-based dummy classifier. Each is trained on TF–IDF plus first-level probabilities.
  • Language models. There are 96 KenLM language models, at character and word level and in 5-gram and bigram variants. Their sentence scores were rescaled to the 0–1 range so they sit alongside the TF–IDF features.
  • Results and errors. On TEST the ensemble with LMs scored 67.20% macro F1, against 67.32% for the winning system, ArbDialectID. The confusion matrix shows Cairo, Alexandria and Aswan being mixed up, and Mosul being confused with MSA.

Interesting ideas

  • I1. Stacking with probabilities as features: first-level classifier probabilities are appended to the raw features, so the second layer can learn the systematic biases and error patterns of the first.
  • I2. Weak dummy voter as a control: a prior-only classifier sits in the ensemble and gives a floor that any real model must clearly beat.
  • I3. Character n-grams kept within words: restricting character n-grams to single words cuts out-of-vocabulary sparsity from rich morphology while avoiding noise from spans that cross word boundaries.
  • I4. Smaller smoothing for huge sparse vectors: lowering the additive-smoothing pseudo-count matters when most dimensions are absent from any given input.
  • I5. Confusion-matrix error analysis by relatedness: grouping errors by how close the confused classes are shows whether a model fails on near-variants or on genuinely different classes.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (learn): witness parsers' per-arc confidence could be fed as features into an arbiter that learns when each witness tends to be wrong, rather than relying on simple agreement alone.
  • I2 (learn): a majority-label or prior-only "witness" could serve as a built-in negative control in evaluations, showing how much each real component actually adds.
  • I3 (tokens): word-internal affix n-grams could back off unknown-word tagging and lemma guessing for rare or misspelled English forms.
  • I4 (tokens): count-based tagger or morphology statistics could be tuned the same way, checking whether α below 1 reduces noise from unseen features.
  • I5 (tree): parser errors on UD dialect-converted treebanks could be broken down by source variety, to locate where conversion rules or the parser blur closely related constructions.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 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 Ahmad Ragab, Haitham Seelawi, Mostafa Samir, Abdelrahman Mattar, Hesham Al-Bataineh, Mohammad Zaghloul, Ahmad Mustafa, Bashar Talafha, Abed Alhakim Freihat and Hussein Al-Natsheh. 2019. Mawdoo3 AI at MADAR Shared Task: Arabic Fine-Grained Dialect Identification with Ensemble Learning. Proceedings of the Fourth Arabic Natural Language Processing Workshop.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w19-4630

@inproceedings{ragab2019mawdoo3,
  title = {{Mawdoo3 AI at MADAR Shared Task: Arabic Fine-Grained Dialect Identification with Ensemble Learning}},
  author = {Ahmad Ragab, Haitham Seelawi, Mostafa Samir, Abdelrahman Mattar, Hesham Al-Bataineh, Mohammad Zaghloul, Ahmad Mustafa, Bashar Talafha, Abed Alhakim Freihat and Hussein Al-Natsheh},
  booktitle = {Proceedings of the Fourth Arabic Natural Language Processing Workshop},
  year = {2019},
  doi = {10.18653/v1/w19-4630},
  url = {https://doi.org/10.18653/v1/w19-4630}
}

References

9 references, 6 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Houda Bouamor, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, and Kemal Oflazer. 2018. The MADAR Arabic Dialect Corpus and Lexicon. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan. find
  2. Houda Bouamor, Sabit Hassan, and Nizar Habash. 2019. The MADAR Shared Task on Arabic Fine-Grained Dialect Identification. In Proceedings of the Fourth Arabic Natural Language Processing Workshop (WANLP19), Florence, Italy.
  3. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. BERT: pre-training of deep bidirectional transformers for language understanding. CoRR, abs/1810.04805. ↗
  4. Thomas G. Dietterich. 2000. Ensemble methods in machine learning. In Multiple Classifier Systems, First International Workshop, MCS 2000, Cagliari, Italy, June 21-23, 2000, Proceedings, volume 1857 of Lecture Notes in Computer Science, pages 1–15. Springer. find
  5. Kenneth Heafield. 2011. Kenlm: Faster and smaller language model queries. In Proceedings of the Sixth Workshop on Statistical Machine Translation, WMT@EMNLP 2011, Edinburgh, Scotland, UK, July 30-31, 2011, pages 187–197. Association for Computational Linguistics.
  6. Jeremy Palmer. 2007. Arabic diglossia: Teaching only the standard variety is a disservice to students. The Arizona Working Papers in Second Language Acquisition and Teaching, 14:111–122. find
  7. Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2018, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 1 (Long Papers), pages 2227–2237. Association for Computational Linguistics (ACL).
  8. Mohammad Salameh, Houda Bouamor, and Nizar Habash. 2018. Fine-grained Arabic dialect identification. In Proceedings of the International Conference on Computational Linguistics (COLING), pages 1332–1344, Santa Fe, New Mexico, USA.
  9. Omar Zaidan and Chris Callison-Burch. 2014. Arabic dialect identification. Computational Linguistics, 40(1):171–202. ↗

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/ragab-2019-mawdoo3-ai-madar-shared-task/