How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Models

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

Official code: adapter-hub/hgiyt (27 stars, Python, last commit 2021-10-03).

Abstract

In this work, we provide a systematic and comprehensive empirical comparison of pretrained multilingual language models versus their monolingual counterparts with regard to their monolingual task performance. We study a set of nine typologically diverse languages with readily available pretrained monolingual models on a set of five diverse monolingual downstream tasks.

Show full abstract

We first aim to establish, via fair and controlled comparisons, if a gap between the multilingual and the corresponding monolingual representation of that language exists, and subsequently investigate the reason for any performance difference. To disentangle conflating factors, we train new monolingual models on the same data, with monolingually and multilingually trained tokenizers. We find that while the pretraining data size is an important factor, a designated monolingual tokenizer plays an equally important role in the downstream performance. Our results show that languages that are adequately represented in the multilingual model's vocabulary exhibit negligible performance decreases over their monolingual counterparts. We further find that replacing the original multilingual tokenizer with the specialized monolingual tokenizer improves the downstream performance of the multilingual model for almost every task and language.

View on arXivView PDF

Code Implementations(1)

adapter-hub/hgiytOfficial100%

Research code for the paper "How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Models"

276Python, Jupyter NotebookMay 17, 20215 years ago

Similar Papers

Cite this paper

@article{rust2020good,
  title  = {How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Models},
  author = {Phillip Rust and Jonas Pfeiffer and Ivan Vulić and Sebastian Ruder and Iryna Gurevych},
  year   = {2020},
  eprint = {2012.15613},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.15613}
}

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

Discussion