Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning
About
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 \textit{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 \textit{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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Part-of-Speech Tagging | MasakhaPOS isiXhosa | Token Accuracy88.7 | 12 | |
| Part-of-Speech Tagging | MasakhaPOS isiZulu | Token Accuracy90.1 | 12 | |
| Part-of-Speech Tagging | MasakhaPOS Setswana | Token Accuracy83 | 12 | |
| Named Entity Recognition | MasakhaNER 2.0 | Macro-F1 Score90.6 | 11 | |
| Named Entity Recognition | MasakhaNER isiXhosa 2.0 | Macro F189.9 | 11 | |
| Named Entity Recognition | MasakhaNER Setswana 2.0 | Macro-F1 Score89.4 | 11 | |
| Topic Classification | MasakhaNEWS English | Macro-F193.1 | 11 | |
| Topic Classification | MasakhaNEWS isiXhosa | Macro F197.3 | 11 | |
| Topic Classification | SIB-200 | Accuracy (Xho)84 | 11 | |
| Intent Classification | INJONGO Intent | Accuracy (Eng)84.5 | 11 |