Self-Training Pre-Trained Language Models for Zero- and Few-Shot Multi-Dialectal Arabic Sequence Labeling

Muhammad Khalifa, Muhammad Abdul-Mageed, Khaled Shaalan
1/12/2021
cs.CLcs.AIcs.NE

Official code: mukhal/low-resource-seq-labeling (5 stars, Python, last commit 2023-08-06).

Abstract

A sufficient amount of annotated data is usually required to fine-tune pre-trained language models for downstream tasks. Unfortunately, attaining labeled data can be costly, especially for multiple language varieties and dialects.

Show full abstract

We propose to self-train pre-trained language models in zero- and few-shot scenarios to improve performance on data-scarce varieties using only resources from data-rich ones. We demonstrate the utility of our approach in the context of Arabic sequence labeling by using a language model fine-tuned on Modern Standard Arabic (MSA) only to predict named entities (NE) and part-of-speech (POS) tags on several dialectal Arabic (DA) varieties. We show that self-training is indeed powerful, improving zero-shot MSA-to-DA transfer by as large as \texttildelow 10\% F$_1$ (NER) and 2\% accuracy (POS tagging). We acquire even better performance in few-shot scenarios with limited amounts of labeled data. We conduct an ablation study and show that the performance boost observed directly results from the unlabeled DA examples used for self-training. Our work opens up opportunities for developing DA models exploiting only MSA resources and it can be extended to other languages and tasks. Our code and fine-tuned models can be accessed at https://github.com/mohammadKhalifa/zero-shot-arabic-dialects.

View on arXivView PDF

Code Implementations(1)

[EACL 2021] Self-training Pretrained LMs for Zero- and Few-shot Arabic Sequence Labeling

53Python, ShellJan 14, 20213 years ago
arabic-nlpdialectsnamed-entity-recognitionnerpart-of-speech-tagging+5 more

Similar Papers

Cite this paper

@article{khalifa2021selftraining,
  title  = {Self-Training Pre-Trained Language Models for Zero- and Few-Shot Multi-Dialectal Arabic Sequence Labeling},
  author = {Muhammad Khalifa and Muhammad Abdul-Mageed and Khaled Shaalan},
  year   = {2021},
  eprint = {2101.04758},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.04758}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.04758.svg)](https://codeofpaper.com/paper/2101.04758)

Discussion