Elamur Research⌕
☰
home / papers / 2025 / ABDUL: A New Approach to Build Language Models for Dialects Using Formal Language Corpora Only

ABDUL: A New Approach to Build Language Models for Dialects Using Formal Language Corpora Only

Paper · 2025 · Yassine Toughrai, Kamel Smaïli and David Langlois

Summary

North African Arabic dialects (Moroccan, Algerian, Tunisian) have little training data, no standard orthography, and many loanwords. Pronunciation and vowels also vary widely between regions. The authors ask whether a usable dialect model can be built without any dialect text. Their approach is a phoneme-like preprocessing step that strips short vowels and diacritics, keeps long vowels, and rewrites Arabic script in a simplified Latin alphabet derived from Buckwalter. Phonetically close sounds share one symbol, so formal Arabic and dialectal text end up in a common consonant-centred form. With this pipeline they pretrain a BERT model, ABDUL, from scratch on the Arabic portion of OSCAR, which is mostly MSA. They then fine-tune it for dialectal emotion classification and NER. ABDUL performs on par with or better than DarijaBERT, DziriBERT, AraBERT and mBERT, and its NER results are especially strong. The work suggests that clever normalization can stand in for scarce dialect corpora.

Key points

  • Pretraining used OSCAR Arabic (about 6.1B words, roughly 84.2 GB). The setup was a WordPiece vocabulary of 30,522, 9 epochs, MLM probability 0.15, and one NVIDIA A100.
  • The vocabulary size was chosen to equal the smallest baseline vocabulary. That makes it about four times smaller than mBERT's 119,547.
  • Algerian NER on DzNER: ABDUL reaches an F1 of 0.6828, compared with 0.5461 for DziriBERT, the model built for that dialect. Averaged over MSA, Algerian and Moroccan NER, ABDUL scores 0.6010 F1 against 0.5721 for mBERT.
  • Moroccan NER on DarNER: ABDUL (0.6557) beats DarijaBERT (0.6246) but trails mBERT (0.7192). The authors attribute this to DarNER spellings that follow Arabic roots instead of actual pronunciation.
  • Algerian emotion classification (SemEval 2025 Task 11-A, about 900 examples per dialect): ABDUL places second with a macro-F1 of 0.5315, behind DziriBERT at 0.5573.
  • Limitations: Latin-script Arabizi is not covered yet, and the authors say absolute scores remain low for every model tested.

Interesting ideas

  • I1. Map both the standard and non-standard varieties into one shared normalized representation, so that a model trained only on the abundant standard variety can be applied to the rare one.
  • I2. Remove the features that vary most between speakers (short vowels) and keep the stable skeleton (consonants, long vowels) as the backbone for subwords.
  • I3. Give the new model the same vocabulary size as the smallest baseline, so that any improvement cannot be explained by extra capacity.
  • I4. When the method loses on a benchmark, inspect that test set's spelling conventions; here, root-based orthography in DarNER accounted for the weaker Moroccan result.
  • I5. Train exclusively on formal text and evaluate exclusively on informal text, which turns the domain gap into the thing being measured.

For Mova

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

  • I1 (tree): Before parsing, informal or regional English spellings could be converted to a canonical form, with each mapping recorded so the UD tree can be traced back to the raw tokens.
  • I2 (tokens): When the lemmatizer meets an unknown or misspelled word, a reduced skeleton key could serve as a fallback lookup, with the result marked as a guess.
  • I3 (learn): Comparisons between parser or tagger variants should hold vocabulary and model size constant, so a reported gain reflects the method itself.
  • I4 (learn): Evaluation reports could tag test sets by annotation and spelling convention, so losses are traced to data conventions before the model is blamed.
  • I5 (learn): Parsers trained on edited treebanks could be scored separately on social-media or dialect test data, giving a clear out-of-domain check.

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

 Institutions

 Fields, topics and concepts

Cite

Cite as Yassine Toughrai, Kamel Smaïli and David Langlois. 2025. ABDUL: A New Approach to Build Language Models for Dialects Using Formal Language Corpora Only. Proceedings of the 1st Workshop on Language Models for Underserved Communities (LM4UC 2025).

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

@inproceedings{toughrai2025abdul,
  title = {{ABDUL: A New Approach to Build Language Models for Dialects Using Formal Language Corpora Only}},
  author = {Yassine Toughrai, Kamel Smaïli and David Langlois},
  booktitle = {Proceedings of the 1st Workshop on Language Models for Underserved Communities (LM4UC 2025)},
  year = {2025},
  doi = {10.18653/v1/2025.lm4uc-1.3},
  url = {https://doi.org/10.18653/v1/2025.lm4uc-1.3}
}

References

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

  1. Amine Abdaoui, Mohamed Berrimi, Mourad Oussalah, and Abdelouahab Moussaoui. 2022. Dziribert: a pre-trained language model for the algerian dialect. arXiv preprint arXiv:2109.12346. ↗
  2. Mohamed Amine Menacer, Odile Mella, Dominique Fohr, Denis Jouvet, David Langlois, and Kamel Smaïli. 2017. Development of the Arabic Loria Automatic Speech Recognition system (ALASR) and its evaluation for Algerian dialect. In ACLing 2017 - 3rd International Conference on Arabic Computational Linguistics, pages 1–8, Dubai, United Arab Emirates. find
  3. Kathrein Abu Kwaik, Motaz Saad, Stergios Chatzikyriakidis, and Simon Dobnik. 2018. A lexical distance study of arabic dialects. Procedia Computer Science, 142:2–13. find
  4. Hamza Al-Mozainy. 1981. Vowel Alternations in a Bedouin Hijazi Arabic Dialect: Abstractness and Stress. Ph.D. thesis, University of Texas at Austin. find
  5. Abir Messaoudi, Ahmed Cheikhrouhou, Hatem Haddad, Nourchene Ferchichi, Moez BenHajhmida, Abir Korched, Malek Naski, Faten Ghriss, and Amine Kerkeni. 2021. Tunbert: Pretrained contextualized text representation for tunisian dialect. find
  6. Maged S. Al-shaibani and Irfan Ahmad. 2023. Consonant is all you need: a compact representation of english text for efficient NLP. In The 2023 Conference on Empirical Methods in Natural Language Processing.
  7. Hanane Nour Moussa and Asmaa Mourhir. 2023. Darnercorp: An annotated named entity recognition dataset in the moroccan dialect. Data in Brief, 48:109234. ↗
  8. Fahd Alotaibi and Mark Lee. 2014. A hybrid approach to features representation for fine-grained Arabic named entity recognition. In Proceedings of COL-ING 2014, the 25th International Conference on Computational Linguistics: Technical Papers, pages 984– 995, Dublin, Ireland. Dublin City University and Association for Computational Linguistics.
  9. Pedro Javier Ortiz Suárez, Benoit Sagot, and Laurent Romary. 2019. Asynchronous pipelines for processing huge corpora on medium to low resource infrastructures. Proceedings of the Workshop on Challenges in the Management of Large Corpora (CMLC-7) 2019. Cardiff, 22nd July 2019, pages 9 – 16, Mannheim. Leibniz-Institut f"ur Deutsche Sprache. ↗
  10. Wissam Antoun, Fady Baly, and Hazem Hajj. 2020. Arabert: Transformer-based model for arabic language understanding. arXiv preprint arXiv:2003.00104. ↗
  11. Jonathan Owens. 2013. Arabic as a Minority Language. find
  12. Janet Watson. 2002. Phonology and morphology of Arabic (the phonology of the world’s languages). find
  13. Melissa Barkat-Defradas, Jalal Al-Tamimi, and Thami Benkirane. 2003. Phonetic variation in production and perception of speech: a comparative study of two Arabic dialects. In Proceedings of the 15th International Congress of Phonetic Sciences ( (ICPhS), Barcelona 3-9 August 2003, pages pp. 857–860, Barcelona, Spain. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/toughrai-2025-abdul-new-approach-build-language/