rematchka at NADI 2023 shared task: Parameter Efficient tuning for Dialect Identification and Dialect Machine Translation
Paper · 2023 · Reem Abdel-Salam
Summary
The paper describes one team's entry to NADI 2023, which had three subtasks. The first was country-level Arabic dialect identification over 18 countries. The second and third were sentence-level translation from four dialects into MSA. For identification, the author compared several BERT-based Arabic encoders: MARBERT, AraBERT, QARiB, AraELECTRA and CAMeLBERT. Each was trained in different ways, including standard fine-tuning, prompt-tuning with a verbalizer of Arabic country names, soft prompts, prefix-tuning, adapters, few-shot contrastive training, and continued pre-training. The final systems were weighted ensembles whose weights were optimized on the dev set. For translation, AraT5v2 was trained with full fine-tuning, LoRA, and prompt-tuning. The identification ensemble reached F1 86.18 and placed second. The translation system reached BLEU 11.37, placing fourth and third. The main lesson is that parameter-efficient methods beat full fine-tuning on dialect classification by a clear margin. They are also cheap to store, because one frozen backbone can serve many tasks.
Key points
- Subtask 1 data: about 18K training, 1.8K dev and 3.6K test instances, covering 18 country dialects.
- Translation data: MADAR-parallel-corpus, with 12,000 training, 400 validation and 2,000 test examples.
- PEFT vs. fine-tuning: on dev, PEFT variants beat conventional fine-tuning by 3–8%.
- Prompt-tuning of MARBERT was the strongest single approach, at roughly 0.86 F1.
- A short prompt ("language is [MASK]") beat a longer, more descriptive prompt by about 1%.
- Translation behaviour: AraT5v2 was very sensitive to the learning rate. BLEU was about 8, 9 and 11 at 1e-6, 3e-6 and 6e-6.
- LoRA used rank 1 and scaling factor 4.
- The submitted translation run used conventional fine-tuning.
- Error analysis and data choices:
- Main confusions were between neighbouring dialects: Kuwaiti vs. Bahraini, and Syrian vs. Lebanese.
- Adding the previous year's NADI data to training lowered performance.
Interesting ideas
- I1. Turning classification into masked-word prediction (a prompt plus a verbalizer of label words) lets the pretrained LM head do the labelling, and a terse prompt can outperform a wordier one.
- I2. Selecting an ensemble by exhaustively searching model subsets and optimizing weights on dev beat simply averaging all models, though at high search cost.
- I3. A compact tag prompt ("CAI => MSA") worked better than a natural-language instruction for steering a seq2seq model, which suggests structured control codes can beat prose instructions.
- I4. Reporting how BLEU moves across several learning rates shows that a single run can misstate a method's value; ranking also changed between dev and test.
- I5. The finding that extra data from an older edition of the task hurt performance is a reminder that distribution shift can outweigh volume.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tokens): A cloze-style probe could help the tagger with ambiguous cases, scoring candidate tags through label words, while keeping prompt wording as a tunable, logged parameter.
- I2 (learn): When combining several witness parsers for silver data, a weighted subset of witnesses may agree more reliably than a vote of all of them.
- I3 (back): Generation from the meaning graph could condition on short register or variety codes rather than verbose instructions.
- I4 (learn): Evaluations should include sweeps or repeated runs as a stability control, so that small dev gains are not taken as real improvements.
- I5 (tree): When merging treebanks or converted UD dialects, each source should be checked against a held-out target set before being added, not merged blindly.
Institutions
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 2Research subjects and languages the work is about.Machine translation · 1,087 worksSemitic languages · 2,908 works
Cite
Cite as Reem Abdel-Salam. 2023. rematchka at NADI 2023 shared task: Parameter Efficient tuning for Dialect Identification and Dialect Machine Translation. Proceedings of ArabicNLP 2023.
@inproceedings{abdelsalam2023rematchka,
title = {{rematchka at NADI 2023 shared task: Parameter Efficient tuning for Dialect Identification and Dialect Machine Translation}},
author = {Reem Abdel-Salam},
booktitle = {Proceedings of ArabicNLP 2023},
year = {2023},
doi = {10.18653/v1/2023.arabicnlp-1.70},
url = {https://doi.org/10.18653/v1/2023.arabicnlp-1.70}
}References
- ### 4.3 Error Analysis Further investigations have been carried out to analyze the potential limitations of the system. As seen in Figure 3, our model performs well when predicting most dialects. However, the model confuses Reem Abdel-Salam. 2022. Dialect & sentiment identification in nuanced Arabic tweets using an ensemble of prompt-based, fine-tuned, and multitask BERT-based models. In Proceedings of the The Seventh Arabic Natural Language Processing Workshop (WANLP), Task Subtask 2 Subtask 3 BLEU score 11.37 11.37 *Table 5: Performance of the submitted models on the leaderboard in subtask 2&3* reem Darwish, and Younes Samih. 2021. Pre-training bert on arabic tweets: Practical considerations.
- Muhammad Abdul-Mageed, AbdelRahim Elmadany, and El Moatez Billah Nagoudi. 2021a. ARBERT & MARBERT: Deep bidirectional transformers for Arabic. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 7088–7105, Online. Association for Computational Linguistics. ↗
- Muhammad Abdul-Mageed, AbdelRahim Elmadany, Chiyu Zhang, ElMoatez Billah Nagoudi, Houda Bouamor, and Nizar Habash. 2023. NADI 2023: The Fourth Nuanced Arabic Dialect Identification Shared Task. In Proceedings of The First Arabic Natural Language Processing Conference (ArabicNLP 2023). *Figure 3: Confusion matrix of the predictions of the submission-3 model in subtask 1 on the dev-set.* Submission Submission-1 Submission-2 Submission-3 F1-Score 0.859 0.876 0.880
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/salam-2023-rematchka-nadi-2023-shared-task/