arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.04758cs.CLcs.AIcs.NE
收藏

零次和Few-Shot多方言阿拉伯语序列标注的自训练预训练语言模型

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

Cairo University(开罗大学);University of British Columbia(不列颠哥伦比亚大学);The British University in Dubai(迪拜英国大学)

Muhammad Khalifa, Muhammad Abdul-Mageed, Khaled Shaalan

摘要:

通常需要足够量的注释数据来微调用于下游任务的预训练语言模型。不幸的是,获取标记数据的成本可能很高,特别是对于多种语言和方言。我们建议在零和Few-Shot场景中自我训练预先训练的语言模型,以仅使用来自数据丰富的资源来提高数据稀缺品种的性能。我们证明了我们的方法在阿拉伯语序列标签的上下文中使用的语言模型微调现代标准阿拉伯语(MSA)只预测命名实体(NE)和部分的语音(POS)标签的几个方言阿拉伯语(DA)品种。我们表明,自我训练确实是强大的,提高zero-shot MSA到DA的传输高达\texttildelow 10\ %F $_1$(NER)和2\ %的准确性(POS标记)。我们在标记数据量有限的Few-Shot场景中获得了更好的性能。我们进行了一项消融研究,并表明直接观察到的性能提升来自用于自我训练的未标记DA示例。我们的工作开辟了机会,开发DA模型只利用MSA资源,它可以扩展到其他语言和任务。我们的代码和微调模型可以在www.example.com上访问。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑