UNKs Everywhere: Adapting Multilingual Language Models to New Scripts

Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, Sebastian Ruder
12/31/2020
160 citations
cs.CL

Official code: adapter-hub/UNKs_everywhere (4 stars, Apache-2.0, last commit 2021-09-06).

Abstract

Massively multilingual language models such as multilingual BERT offer state-of-the-art cross-lingual transfer performance on a range of NLP tasks. However, due to limited capacity and large differences in pretraining data sizes, there is a profound performance gap between resource-rich and resource-poor target languages.

Show full abstract

The ultimate challenge is dealing with under-resourced languages not covered at all by the models and written in scripts unseen during pretraining. In this work, we propose a series of novel data-efficient methods that enable quick and effective adaptation of pretrained multilingual models to such low-resource languages and unseen scripts. Relying on matrix factorization, our methods capitalize on the existing latent knowledge about multiple languages already available in the pretrained model's embedding matrix. Furthermore, we show that learning of the new dedicated embedding matrix in the target language can be improved by leveraging a small number of vocabulary items (i.e., the so-called lexically overlapping tokens) shared between mBERT's and target language vocabulary. Our adaptation techniques offer substantial performance gains for languages with unseen scripts. We also demonstrate that they can yield improvements for low-resource languages written in scripts covered by the pretrained model.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

UNKs Everywhere: Adapting Multilingual Language Models to New Scripts

40Sep 6, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{pfeiffer2020unks,
  title  = {UNKs Everywhere: Adapting Multilingual Language Models to New Scripts},
  author = {Jonas Pfeiffer and Ivan Vulić and Iryna Gurevych and Sebastian Ruder},
  year   = {2020},
  eprint = {2012.15562},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.15562}
}

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/2012.15562.svg)](https://codeofpaper.com/paper/2012.15562)

Discussion