Embedding structure matters: Comparing methods to adapt multilingual vocabularies to new languages

C. M. Downey, Terra Blevins, Nora Goldfine, Shane Steinert-Threlkeld
9/9/2023
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Pre-trained multilingual language models underpin a large portion of modern NLP tools outside of English. A strong baseline for specializing these models for specific languages is Language-Adaptive Pre-Training (LAPT). However, retaining a large cross-lingual vocabulary and embedding matrix comes at considerable excess computational cost during adaptation. In this study, we propose several simple techniques to replace a cross-lingual vocabulary with a compact, language-specific one. Namely, we address strategies for re-initializing the token embedding matrix after vocabulary specialization. We then provide a systematic experimental comparison of our techniques, in addition to the recently-proposed Focus method. We demonstrate that: 1) Embedding-replacement techniques in the monolingual transfer literature are inadequate for adapting multilingual models. 2) Replacing cross-lingual vocabularies with smaller specialized ones provides an efficient method to improve performance in low-resource languages. 3) Simple embedding re-initialization techniques based on script-wise sub-distributions rival techniques such as Focus, which rely on similarity scores obtained from an auxiliary model.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{downey2023embedding,
  title  = {Embedding structure matters: Comparing methods to adapt multilingual vocabularies to new languages},
  author = {C. M. Downey and Terra Blevins and Nora Goldfine and Shane Steinert-Threlkeld},
  year   = {2023},
  eprint = {2309.04679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.04679v2}
}

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

Discussion