Skip to main content
QUICK REVIEW

[论文解读] Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning

Jesujoba O. Alabi, David Ifeoluwa Adelani|arXiv (Cornell University)|Apr 13, 2022
Topic ModelingComputer Science被引用 51
一句话总结

论文提出 Multilingual Adaptive Fine-Tuning (MAFT),将多语言预训练语言模型(PLMs)适配到 17 种非洲语言和 3 种高资源语言在一个模型中,在减少磁盘空间的同时,在 NER、新闻主题分类和情感分析等下游任务上保持具有竞争力的性能。

ABSTRACT

Multilingual pre-trained language models (PLMs) have demonstrated impressive performance on several downstream tasks for both high-resourced and low-resourced languages. However, there is still a large performance drop for languages unseen during pre-training, especially African languages. One of the most effective approaches to adapt to a new language is extit{language adaptive fine-tuning} (LAFT) -- fine-tuning a multilingual PLM on monolingual texts of a language using the pre-training objective. However, adapting to a target language individually takes a large disk space and limits the cross-lingual transfer abilities of the resulting models because they have been specialized for a single language. In this paper, we perform extit{multilingual adaptive fine-tuning} on 17 most-resourced African languages and three other high-resource languages widely spoken on the African continent to encourage cross-lingual transfer learning. To further specialize the multilingual PLM, we removed vocabulary tokens from the embedding layer that corresponds to non-African writing scripts before MAFT, thus reducing the model size by around 50%. Our evaluation on two multilingual PLMs (AfriBERTa and XLM-R) and three NLP tasks (NER, news topic classification, and sentiment classification) shows that our approach is competitive to applying LAFT on individual languages while requiring significantly less disk space. Additionally, we show that our adapted PLM also improves the zero-shot cross-lingual transfer abilities of parameter efficient fine-tuning methods.

研究动机与目标

  • 激发将 PLMs 适配至在预训练阶段未见过的非洲语言的挑战。
  • 提出 Multilingual Adaptive Fine-Tuning (MAFT),以同时适应多种语言。
  • 展示 MAFT 在减小模型规模的同时,与面向语言的 LAFT 相竞争。
  • 探究词汇量缩减在不造成显著性能损失的情况下进一步压缩模型。
  • 展示 MAFT 在使用参数高效微调方法时对零样本跨语言迁移的收益。

提出的方法

  • 在来自 20 种语言的单语语料上,使用预训练目标(MAFT)对多语言 PLMs 进行微调。
  • 将 MAFT 应用于 XLM-R-base 和 XLM-R-miniLM,得到 AfroXLMR-base 和 AfroXLMR-mini 等价模型。
  • 在 MAFT 之前通过移除非非洲语言的词汇标记来减少嵌入大小(词汇缩减)。
  • 在多种非洲语言和高资源语言上评估 NER、新闻主题分类和情感分析。
  • 创建 ANTC,一个用于五种语言的新非洲新闻主题分类数据集。
  • 将 MAFT 与语言特定 LAFT 以及使用适配器和 lottery-ticket 方法的零样本迁移进行比较。

实验结果

研究问题

  • RQ1在使用单一多语言模型的情况下,MAFT 能否提供与按语言限定的 LAFT 相竞争的性能?
  • RQ2MAFT 在适配多语言时如何影响磁盘空间和可扩展性?
  • RQ3词汇缩减是否会影响性能,影响程度如何?
  • RQ4在使用 AfroXLMR-base 时,单一 AfroXLMR 模型是否提升了参数高效微调方法的零样本跨语言迁移?

主要发现

  • MAFT 相较基线有提升,且与 LAFT 竞争力强,对于 AfroXLMR-base 的平均增益为 +2.6 (NER)、+3.6 (news) 及 +1.5 (sentiment) F1。
  • AFRicaXLMR-large 与 MAFT 下达到最先进的 NER 性能,且 AfroXLMR-large 常常与单个 LAFT 模型相抗衡或超越。
  • 词汇缩减使模型大小减少 50%,且视语言而定,F1 可能略有下降(例如 Amharic 受影响更大)。
  • 对于在多语言上进行预训练的模型,MAFT 能带来更大收益,尤以 XLM-R-miniLM 为甚,在 NER 提升显著(+4.2 F1)以及新闻分类(+5.6 F1)。
  • 在使用 AfroXLMR-base 时,MAFT 提高了适配器和 LT-SFT 方法的零样本跨语言迁移。
  • 使用单一的 AfroXLMR-base 模型在跨任务的非洲语言上提供强大的跨语言性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。