Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

How Robust is Neural Machine Translation to Language Imbalance in Multilingual Tokenizer Training? (2204.14268v2)

Published 29 Apr 2022 in cs.CL and cs.AI

Abstract: A multilingual tokenizer is a fundamental component of multilingual neural machine translation. It is trained from a multilingual corpus. Since a skewed data distribution is considered to be harmful, a sampling strategy is usually used to balance languages in the corpus. However, few works have systematically answered how language imbalance in tokenizer training affects downstream performance. In this work, we analyze how translation performance changes as the data ratios among languages vary in the tokenizer training corpus. We find that while relatively better performance is often observed when languages are more equally sampled, the downstream performance is more robust to language imbalance than we usually expected. Two features, UNK rate and closeness to the character level, can warn of poor downstream performance before performing the task. We also distinguish language sampling for tokenizer training from sampling for model training and show that the model is more sensitive to the latter.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Shiyue Zhang (39 papers)
  2. Vishrav Chaudhary (45 papers)
  3. Naman Goyal (37 papers)
  4. James Cross (22 papers)
  5. Guillaume Wenzek (12 papers)
  6. Mohit Bansal (304 papers)
  7. Francisco Guzman (12 papers)
Citations (15)
X Twitter Logo Streamline Icon: https://streamlinehq.com