journal article·2025Open access

Leveraging Unlabeled Corpus for Arabic Dialect Identification

Mohammed Abdelmajeed, Jiangbin Zheng, Ahmed Murtadha, Youcef Nafa, Mohammed Abaker, Muhammad Pervez Akhter

Computers, Materials & Continua· Volume 83· Issue 2

Abstract

Arabic Dialect Identification (DID) is a task in Natural Language Processing (NLP) that involves determining the dialect of a given piece of text in Arabic. The state-of-the-art solutions for DID are built on various deep neural networks that commonly learn the representation of sentences in response to a given dialect. Despite the effectiveness of these solutions, the performance heavily relies on the amount of labeled examples, which is labor-intensive to attain and may not be readily available in real-world scenarios. To alleviate the burden of labeling data, this paper introduces a novel solution that leverages unlabeled corpora to boost performance on the DID task. Specifically, we design an architecture that enables learning the shared information between labeled and unlabeled texts through a gradient reversal layer. The key idea is to penalize the model for learning source dataset-specific features and thus enable it to capture common knowledge regardless of the label. Finally, we evaluate the proposed solution on benchmark datasets for DID. Our extensive experiments show that it performs significantly better, especially, with sparse labeled data. By comparing our approach with existing Pre-trained Language Models (PLMs), we achieve a new state-of-the-art performance in the DID field. The code will be available on GitHub upon the paper’s acceptance.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Natural Language Processing Techniques · Speech Recognition and Synthesis · Language, Linguistics, Cultural Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (52)

Show source-provided references
1. Salameh · Fine-grained arabic dialect identification · 2018 Aug
2. Bouamor · The MADAR shared task on arabic fine-grained dialect identification · 2019 Aug
3. Abdul-Mageed · You tweet what you speak: a city-level dataset of arabic dialects · 2018 May
4. Elfardy · Sentence level dialect identification in Arabic · 2013 Aug
5. Ionescu · UnibucKernel: an approach for Arabic dialect identification based on multiple string kernels · 2016 Dec
6. Malmasi · Computational linguistics · 2016
7. Elaraby · A character level convolutional BiLSTM for Arabic dialect identification · 2019 Aug
8. AraVec: a set of Arabic word embedding models for use in Arabic NLP10.1016/j.procs.2017.10.117 ↗
9. A transformer fine-tuning strategy for text dialect identification10.1007/s00521-022-07944-5 ↗
10. Mansour · Arabic dialect identification using BERT fine-tuning · 2020 Dec
11. Attieh · Arabic dialect identification and sentiment classification using transformer-based models · 2022 Dec
12. Devlin · BERT: pre-training of deep bidirectional transformers for language understanding · 2019 · 4171
13. Conneau · Unsupervised cross-lingual representation learning at scale · 2020 Jul
14. Feng · Language-agnostic BERT sentence embedding · 2022 May
15. Antoun · AraBERT: transformer-based model for Arabic language understanding · 2020 May · 9
16. Dadas · Artificial intelligence and soft computing · 2020
17. Vries WD, Van Cranenburgh A, Bisazza A, Caselli T, Noord GV, Nissim MJA. BERTje: a dutch BERT Model. arXiv:1912.09582. 2019.
18. Virtanen A, Kanerva J, Ilo R, Luoma J, Luotolahti J, Salakoski T, et al. Multilingual is not enough: BERT for finnish. arXiv:1912.07076. 2019.
19. ARBERT & MARBERT: deep bidirectional transformers for Arabic
20. Inoue · The interplay of variant, size, and task type in Arabic pre-trained language models · 2021 Apr
21. KUISAIL at SemEval-2020 Task 12: BERT-CNN for offensive speech identification in social media
22. Lan W, Chen Y, Xu W, Ritter A. An empirical study of pre-trained transformers for Arabic information extraction. Online: Association for Computational Linguistics; 2020. p. 4727–34.10.18653/v1/2020.emnlp-main.382 ↗
23. Talafha B, Ali M, Za’ter ME, Seelawi H, Tuffaha I, Samir M, et al. Multi-dialect Arabic BERT for country-level dialect identification arXiv:2007.05612. 2020.
24. Dialect & sentiment identification in nuanced Arabic tweets using an ensemble of prompt-based, fine-tuned, and multitask BERT-based models
25. A three-stage neural model for Arabic dialect identification10.1016/j.csl.2023.101488 ↗
26. Garg S, Ramakrishnan G. BAE: BERT-based adversarial examples for text classification. Online: Association for Computational Linguistics; 2020. p. 6174–81.10.18653/v1/2020.emnlp-main.498 ↗
27. Croce D, Castellucci G, Basili R. GAN-BERT: generative adversarial learning for robust text classification with a bunch of labeled examples. Online: Association for Computational Linguistics; 2020. p. 2114–9.10.18653/v1/2020.acl-main.191 ↗
28. Generative adversarial nets
29. Hendrycks D, Liu X, Wallace E, Dziedzic A, Krishnan R, Song D. Pretrained transformers improve out-of-distribution robustness. Online: Association for Computational Linguistics; 2020. p. 2744–51.10.18653/v1/2020.acl-main.244 ↗
30. Neural unsupervised domain adaptation in NLP—a survey
31. Vu T-T, Phung D, Haffari G. Effective unsupervised domain adaptation with adversarially trained language models. Online: Association for Computational Linguistics; 2020. p. 6163–73.10.18653/v1/2020.emnlp-main.497 ↗
32. Ye H, Tan Q, He R, Li J, Ng HT, Bing LJA. Feature adaptation of pre-trained language models across languages and domains for text classification. arXiv:2009.11538. 2020.10.18653/v1/2020.emnlp-main.599 ↗
33. Pseudo-label guided unsupervised domain adaptation of contextual embeddings
34. Arabic dialect identification with a few labeled examples using generative adversarial networks
35. Domain adaptation for arabic cross-domain and cross-dialect sentiment analysis from contextualized word embedding
36. AdaSL: an unsupervised domain adaptation framework for Arabic multi-dialectal sequence labeling10.1016/j.ipm.2022.102964 ↗
37. NADI 2024: the fifth nuanced arabic dialect identification shared task
38. ELYADATA at NADI, 2024 shared task: Arabic dialect identification with similarity-induced mono-to-multi label transformation
39. AlclaM: arabic dialect language model
40. Alahmari · Intelligent computing · 2024
41. Arabic dialect identification in social media: a comparative study of deep learning and transformer approaches10.32604/iasc.2024.055470 ↗
42. Spoken Arabic dialect identification using phonotactic modeling
43. Creating parallel Arabic dialect corpus: pitfalls to avoid
44. Habash N, Eryani F, Khalifa S, Rambow O, Abdulrahim D, Erdmann A, et al. Unified guidelines and resources for Arabic dialect orthography. Miyazaki, Japan: European Language Resources Association (ELRA); 2018.
45. Commonsense knowledge mining from pretrained models
46. To tune or not to tune? Adapting pretrained representations to diverse tasks
47. Adversarial and domain-aware BERT for cross-domain sentiment analysis
48. A theory of learning from different domains10.1007/s10994-009-5152-4 ↗
49. Unsupervised domain adaptation by backpropagation
50. The MADAR Arabic dialect corpus and lexicon
51. NADI 2020: the first nuanced arabic dialect identification shared task
52. Attention is all you need