Out-of-Domain Dependency Parsing for Dialects of Arabic: A Case Study
What it is about
No syntactically annotated treebank exists for Arabic dialects, so the parser is trained on the CATiB MSA treebank and tested on dialect sentences: a test set of 800 parallel sentences from MADAR (Gulf, Levantine, Egyptian and Maghrebi). The authors annotate the test set themselves, for two hard constructions: idafa (noun-noun possessives, including the dialectal prepositional form) and coordination with "wa". The out-of-domain baseline is poor, with LAS between 23.2 (Maghrebi) and 27.5 (Levantine). Shortening the training sentences to 15 words or fewer adds about 2–3 points, and removing MSA sentences that begin with a sentential "wa" helps coordination and idafa too. The best results come from adding the 2,000-sentence MSA part of MADAR to training. Dialectal embeddings give only small, inconsistent gains, so the authors conclude that genre differences hurt more than dialect differences.
Ideas
- I1. Select training sentences by length, not only by content: keep the training sentences near the test length distribution (the paper caps at 15 words). For
gparseon Biblical Hebrew, a length-matched training subset is a cheap experiment before any model change. - I2. Filter out training clauses that open with a coordinator ("wa"-initial run-on sentences) and measure the effect on the coordination dependencies. Ancient Hebrew has waw-initial clauses that can be treated the same way as a test of the parser's handling of run-on text.
- I3. Build a small, hand-checked test set for two hard constructions (here idafa and coordination), with separate scores for each, using the CoNLL 2018 scorer on those dependencies only. This is a measurement to run on
tools/hbooutput and ontreebanks/ar.
For Mova
I1 and I2 are data-selection rules for the parser training of gparse. I2 also matters for the waw-clause structure in Syntax: the clause and the sentence. I3 is a test set: a per-construction score for idafa (construct chains) and coordination in treebanks/hbo/ptnk and treebanks/ar. The genre finding is a warning for the Hebrew test sets: a gain on one genre does not show up on another.
Cite
@inproceedings{mokh2024out,
title = {{Out-of-Domain Dependency Parsing for Dialects of Arabic: A Case Study}},
author = {Mokh, Noor Abo and Dakota, Daniel and Kübler, Sandra},
booktitle = {Proceedings of the Second Arabic Natural Language Processing Conference},
year = {2024},
doi = {10.18653/v1/2024.arabicnlp-1.16},
url = {https://doi.org/10.18653/v1/2024.arabicnlp-1.16}
}References
- 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 Eleventh International Conference on Language Resources and Evaluation (LREC), Miyazaki, Japan. find
- Nabil Ababou, Azzeddine Mazroui, and Rachid Bele-hbib. 2023. From extended chunking to dependency parsing using traditional Arabic grammar. Language Resources and Evaluation, 57(3):1–33. find
- Ahmed Abdelali, Hamdy Mubarak, Younes Samih, Sabit Hassan, and Kareem Darwish. 2021. QADI: Arabic dialect identification in the wild. In Proceedings of the Sixth Arabic Natural Language Processing Workshop, pages 1–10, Kyiv, Ukraine (Virtual). Association for Computational Linguistics. find
- Muhammad Abdul-Mageed, Mona Diab, and Sandra Kübler. 2014. SAMAR: Subjectivity and sentiment analysis for Arabic social media. Computer Speech & Language, 28(1):20–37. find
- Noor Abo Mokh, Daniel Dakota, and Sandra Kübler. 2022. Improving POS tagging for Arabic dialects on out-of-domain texts. In Proceedings of the Seventh Arabic Natural Language Processing Workshop (WANLP), pages 238–248, Abu Dhabi, United Arab Emirates (Hybrid). Association for Computational Linguistics. find
- Ibrahim Abu Farha and Walid Magdy. 2022. The effect of Arabic dialect familiarity on data annotation. In 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, pages 199– 207. find
- David Chiang, Mona Diab, Nizar Habash, Owen Rambow, and Safiullah Shareef. 2006. Parsing Arabic dialects. In 11th Conference of the European Chapter of the Association for Computational Linguistics, pages 369–376. find our card
- Matthieu Constant, Joseph Le Roux, and Nadi Tomeh. 2016. Deep lexical segmentation and syntactic parsing in the easy-first dependency framework. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1095–1101, San Diego, California. find
- Daniel Dakota and Sandra Kübler. 2024. Bits and pieces: Investigating the effects of subwords in multi-task parsing across languages and domains. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 2397– 2409, Torino, Italia. ELRA and ICCL. find
- Daniel Dakota, Zeeshan Ali Sayyed, and Sandra Kübler. 2021. Bidirectional domain adaptation using weighted multi-task learning. In Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021), pages 93–105, Online. Association for Computational Linguistics. find
- Kareem Darwish, Nizar Habash, Mourad Abbas, Hend Al-Khalifa, Huseein T. Al-Natsheh, Houda Bouamor, Karim Bouzoubaa, Violetta Cavalli-Sforza, Samhaa R. El-Beltagy, Wassim El-Hajj, Mustafa Jarrar, and Hamdy Mubarak. 2021. A panoramic survey of natural language processing in the Arab world. Communications of the ACM, 64(4):72–81. find
- Kareem Darwish, Hamdy Mubarak, Ahmed Abdelali, and Mohamed Eldesouki. 2017. Arabic POS tagging: Don’t abandon feature engineering just yet. In Proceedings of the Third Arabic Natural Language Processing Workshop, pages 130–137, Valencia, Spain. find
- Kareem Darwish, Hamdy Mubarak, Ahmed Abdelali, Mohamed Eldesouki, Younes Samih, Randah Alharbi, Mohammed Attia, Walid Magdy, and Laura Kallmeyer. 2018. Multi-dialect Arabic POS tagging: A CRF approach. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC)), Miyazaki, Japan. find
- Marie-Catherine de Marneffe, Christopher D. Manning, Joakim Nivre, and Daniel Zeman. 2021. Universal Dependencies. Computational Linguistics, 47(2):255–308. find our card
- Timothy Dozat and Christopher Manning. 2017. Deep biaffine attention for neural dependency parsing. In 5h International Conference on Learning Representations (ICLR 2017), Toulon, France. find our card
- Mahmoud El-Haj. 2020. Habibi - a multi dialect multi national Arabic song lyrics corpus. In Proceedings of the Twelfth Language Resources and Evaluation Conference (LREC), pages 1318–1326, Marseille, France. find
- Daniel Gildea. 2001. Corpus variation and parser performance. In Proceedings of the 2001 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 167–202, Pittsburgh, PA. find our card
- Spence Green and Christopher D Manning. 2010. Better Arabic parsing: Baselines, evaluations, and analysis. In Proceedings of the 23rd International Conference on Computational Linguistics (COLING), pages 394– 402. find our card
- Elisa Gugliotta, Michele Mallia, and Livia Panascì. 2023. Towards a unified digital resource for Tunisian Arabic. In Proceedings of the 4th Conference on Language, Data and Knowledge, pages 579–590, Vienna, Austria. NOVA CLUNL, Portugal. find
- Nizar Habash. 2010. Introduction to Arabic Natural Language Processing. Synthesis Lectures on Human Language Technologies. Morgan & Claypool Publishers. find
- Nizar Habash, Muhammed AbuOdeh, Dima Taji, Reem Faraj, Jamila El Gizuli, and Omar Kallas. 2022. Camel Treebank: An open multi-genre Arabic dependency treebank. In Proceedings of the Thirteenth Language Resources and Evaluation Conference (LREC), pages 2672–2681, Marseille, France. find our card
- Nizar Habash and Ryan Roth. 2009. CATiB: The Columbia Arabic Treebank. In Proceedings of the ACL-IJCNLP Conference, pages 221–224, Suntec, Singapore. find our card
- Salima Harrat, Karima Meftouh, Mourad Abbas, Salma Jamoussi, Motaz Saad, and Kamel Smaili. 2015. Cross-dialectal Arabic processing. In International Conference on Intelligent Text Processing and Computational Linguistics, pages 620–632, Cairo, Egypt. Springer. find
- Rebecca Hwa. 2001. On minimizing training corpus for parser acquisition. In Proceedings of the Workshop on Computational Natural Language Learning (CoNLL), Toulouse, France. find
- Go Inoue, Bashar Alhafni, Nurpeiis Baimukan, Houda Bouamor, and Nizar Habash. 2021. The interplay of variant, size, and task type in Arabic pre-trained language models. In Proceedings of the Sixth Arabic Natural Language Processing Workshop, pages 92– 104, Kyiv, Ukraine (Virtual). find
- Ahmed Elshabrawy, Muhammed AbuOdeh, Go Inoue, and Nizar Habash. 2023. CamelParser2.0: A state-ofthe-art dependency parser for Arabic. In Proceedings of ArabicNLP 2023, pages 170–180, Singapore (Hybrid). find
- Yash Kankanampati, Joseph Le Roux, Nadi Tomeh, Dima Taji, and Nizar Habash. 2020. Multitask easy-first dependency parsing: Exploiting complementarities of different dependency representations. In Proceedings of the 28th International Conference on Computational Linguistics, pages 2497–2508, Barcelona, Spain (Online). find
- Agnieszka Falenska and Özlem Çetinoğlu. 2017. Lexicalized vs. delexicalized parsing in low-resource scenarios. In Proceedings of the 15th International Conference on Parsing Technologies, pages 18–24, Pisa, Italy. find
- Mohammad Khan, Markus Dickinson, and Sandra Kübler. 2013. Towards domain adaptation for parsing web data. In Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP), Hissar, Bulgaria. find
- Kathrein Abu Kwaik, Motaz Saad, Stergios Chatzikyriakidis, and Simon Dobnika. 2018. A lexical distance study of Arabic dialects. Procedia Computer Science, 142:2–13. find
- Ying Li, Zhenghua Li, and Min Zhang. 2020. Semi-supervised domain adaptation for dependency parsing via improved contextualized word representations. In Proceedings of the 28th International Conference on Computational Linguistics, pages 3806– 3817, Barcelona, Spain (Online). find
- Zhenghua Li, Xue Peng, Min Zhang, Rui Wang, and Luo Si. 2019. Semi-supervised domain adaptation for dependency parsing. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 2386–2395, Florence, Italy. find
- Zhuang Liu, Degen Huang, Kaiyu Huang, Zhuang Li, and Jun Zhao. 2020. Finbert: A pre-trained financial language representation model for financial text mining. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, pages 4513–4519. International Joint Conferences on Artificial Intelligence Organization. Special Track on AI in FinTech. find
- Mohamed Maamouri, Ann Bies, Tim Buckwalter, and Wigdan Mekki. 2004. The Penn Arabic Treebank: Building a large-scale annotated Arabic corpus. In NEMLAR Conference on Arabic Language Resources and Tools, volume 27, pages 466–467. Cairo, Egypt. find
- Louis Martin, Benjamin Muller, Pedro Javier Ortiz Suárez, Yoann Dupont, Laurent Romary, Éric de la Clergerie, Djamé Seddah, and Benoît Sagot. 2020. CamemBERT: a tasty French language model. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7203– 7219, Online. Association for Computational Linguistics. find
- Yuval Marton, Nizar Habash, and Owen Rambow. 2010. Improving Arabic dependency parsing with lexical and inflectional morphological features. In Proceedings of the NAACL HLT 2010 First Workshop on Statistical Parsing of Morphologically-Rich Languages, pages 13–21. find our card
- Yuval Marton, Nizar Habash, and Owen Rambow. 2013. Dependency parsing of Modern Standard Arabic with lexical and inflectional features. Computational Linguistics, 39(1):161–194. find our card
- Emad Mohamed. 2011. The effect of automatic tokenization, vocalization, stemming, and POS tagging on Arabic dependency parsing. In Proceedings of the Fifteenth Conference on Computational Natural Language Learning, pages 10–18, Portland, Oregon, USA. Association for Computational Linguistics. find
- Atreyee Mukherjee and Sandra Kübler. 2018. Domain adaptation in dependency parsing via transformation based error driven learning. In Proceedings of the 17th International Workshop on Treebanks and Linguistic Theories (TLT 2018), December 13–14, 2018, Oslo University, Norway, pages 179–192. find
- Joakim Nivre, Johan Hall, Sandra Kübler, Ryan McDonald, Jens Nilsson, Sebastian Riedel, and Deniz Yuret. 2007a. find
- The CoNLL 2007 shared task on dependency parsing. In Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL), pages 915–932, Prague, Czech Republic. Association for Computational Linguistics. find
- Joakim Nivre, Johan Hall, Jens Nilsson, Atanas Chanev, Gülşen Eryiǧit, Sandra Kübler, Svetoslav Marinov, and Erwin Marsi. 2007b. Maltparser: A language-independent system for data-driven dependency parsing. Natural Language Engineering, 13(2):95–135. find
- Ossama Obeid, Nasser Zalmout, Salam Khalifa, Dima Taji, Mai Oudah, Bashar Alhafni, Go Inoue, Fadhl Eryani, Alexander Erdmann, and Nizar Habash. 2020. CAMeL tools: An open source python toolkit for Arabic natural language processing. In Proceedings of the 12th Language Resources and Evaluation Conference, pages 7022–7032, Marseille, France. find
- Barbara Plank and Gertjan van Noord. 2011. Effective measures of domain similarity for parsing. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 1566–1576, Portland, Oregon, USA. find
- Rudolf Rosa and Zdeněk Žabokrtský. 2015. KLcpos3 -a language similarity measure for delexicalized parser transfer. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, pages 243–249, Beijing, China. find
- Ryan McDonald, Slav Petrov, and Keith Hall. 2011. Multi-source transfer of delexicalized dependency parsers. In Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing, pages 62–72, Edinburgh, Scotland, UK. find
- Ali Safaya, Moutasem Abdullatif, and Deniz Yuret. 2020. KUISAIL at SemEval-2020 task 12: BERT-CNN for offensive speech identification in social media. In Proceedings of the Fourteenth Workshop on Semantic Evaluation, pages 2054–2059, Barcelona (online). find
- Karima Meftouh, Salima Harrat, Salma Jamoussi, Mourad Abbas, and Kamel Smaili. 2015. Machine translation experiments on PADIC: A parallel Arabic dialect corpus. In Proceedings of the 29th Pacific Asia Conference on Language, Information and Computation, pages 26–34. find
- Djamé Seddah, Farah Essaidi, Amal Fethi, Matthieu Futeral, Benjamin Muller, Pedro Javier Ortiz Suárez, Benoît Sagot, and Abhishek Srivastava. 2020. Building a user-generated content North-African Arabizi treebank: Tackling hell. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1139–1150, Online. Association for Computational Linguistics. find
- Anas Shahrour, Salam Khalifa, Dima Taji, and Nizar Habash. 2016. CamelParser: A system for Arabic syntactic analysis and morphological disambiguation. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations, pages 228–232, Osaka, Japan. find our card
- Sara Stymne. 2020. Cross-lingual domain adaptation for dependency parsing. In Proceedings of the 19th International Workshop on Treebanks and Linguistic Theories, pages 62–69, Düsseldorf, Germany. Association for Computational Linguistics. find
- Dima Taji, Nizar Habash, and Daniel Zeman. 2017. Universal Dependencies for Arabic. In Proceedings of the Third Arabic Natural Language Processing Workshop, pages 166–176, Valencia, Spain. Association for Computational Linguistics. find our card
- Toshiyuki Takezawa, Genichiro Kikui, Masahide Mizushima, and Eiichiro Sumita. 2007. Multilingual spoken language corpus development for communication research. International Journal of Computational Linguistics & Chinese Language Processing: Special Issue on Invited Papers from ISCSLP 2006, 12(3):303–324. find
- Antti Virtanen, Jenna Kanerva, Rami Ilo, Jouni Luoma, Juhani Luotolahti, Tapio Salakoski, Filip Ginter, and Sampo Pyysalo. 2019. Multilingual is not enough: BERT for Finnish. Preprint, arXiv:1912.07076. ↗
- Daniel Zeman, Jan Hajič, Martin Popel, Martin Potthast, Milan Straka, Filip Ginter, Joakim Nivre, and Slav Petrov. 2018. CoNLL 2018 shared task: Multilingual parsing from raw text to Universal Dependencies. In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pages 1–21, Brussels, Belgium. find our card
This page in Markdown → https://md.mova.elamur.ai/free/en/docs/papers/aclbulk-2024-mokh-out-domain-dependency-parsing-dialects/