[Paper Review] Multi-Dialect Arabic BERT for Country-Level Dialect Identification
The paper presents Mawdoo3 AI’s winning approach for NADI Task 1 using a fine-tuned ArabicBERT augmented with 10M unlabeled tweets, ensemble predictions, and achieves a micro-F1 of 26.78% on the subtask; the model is released as Multi-dialect-Arabic-BERT.
Arabic dialect identification is a complex problem for a number of inherent properties of the language itself. In this paper, we present the experiments conducted, and the models developed by our competing team, Mawdoo3 AI, along the way to achieving our winning solution to subtask 1 of the Nuanced Arabic Dialect Identification (NADI) shared task. The dialect identification subtask provides 21,000 country-level labeled tweets covering all 21 Arab countries. An unlabeled corpus of 10M tweets from the same domain is also presented by the competition organizers for optional use. Our winning solution itself came in the form of an ensemble of different training iterations of our pre-trained BERT model, which achieved a micro-averaged F1-score of 26.78% on the subtask at hand. We publicly release the pre-trained language model component of our winning solution under the name of Multi-dialect-Arabic-BERT model, for any interested researcher out there.
Motivation & Objective
- Motivate and address the challenge of country-level Arabic dialect identification across 21 Arab countries.
- Leverage pre-trained Arabic BERT and large unlabeled data to improve dialect classification.
- Develop an ensemble of models with varying max sequence lengths to boost performance.
- Release a pre-trained Multi-dialect-Arabic-BERT model for the research community.
Proposed method
- Start from ArabicBERT trained on ~93 GB of Arabic data and fine-tune on NADI Task 1 data.
- Further pre-train ArabicBERT on 10M unlabeled NADI tweets for 3 epochs to create Multi-dialect-Arabic-BERT.
- Train multiple iterations with different max sequence lengths and ensemble their softmax outputs by averaging probabilities.
- Compare with traditional ML and other DL baselines, showing BERT-based models outperform them.
- Optionally apply lexicon-based post-hoc rules, which improved development metrics but reduced test results due to over-fitting.
Experimental results
Research questions
- RQ1Can a pre-trained Arabic BERT model, further pre-trained on domain data, achieve state-of-the-art performance on country-level Arabic dialect identification?
- RQ2Does ensembling multiple BERT iterations with different sequence lengths improve macro-F1 on the NADI task?
- RQ3What is the impact of additional unlabeled data (10M tweets) on model performance?
- RQ4How do BERT-based approaches compare to traditional ML and other DL methods on NADI Task 1?
Key findings
- The ensemble of 4 models with different sequence lengths achieved the best development macro-F1 (27.58%) and test macro-F1 (26.78%).
- The standalone Multi-dialect-Arabic-BERT achieved 26% macro-F1 on development; ensemble raised it to 27.58% (development) and 26.78% (test).
- Lexicon-based rules boosted development F1 to 29.03% but slightly decreased test F1 to 26.77%.
- Traditional ML and non-BERT DL models underperformed compared to the BERT-based approaches, with development macro-F1 not exceeding ~21%.
- The final submitted approach won first place in NADI Task 1, reporting a micro-F1 of 26.78% on the subtask.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.