Parallel Tokenizers: Rethinking Vocabulary Design for Cross-Lingual Transfer
Muhammad Dehan Al Kautsar, Fajri Koto
TL;DR
This work tackles cross-lingual transfer bottlenecks rooted in tokenization by introducing parallel tokenizers that align vocabulary across languages via a monolingual pivot and word-level mapping, with language identity cues to preserve language-specificity. The authors construct parallel vocabularies by translating word-type tokens, expanding with monolingual vocabularies, and concatenating while capping size, achieving substantial cross-language alignment and improved fertility characteristics. Pretraining from scratch on 13 low-resource languages shows that parallel tokenizers consistently outperform traditional baselines on sentiment, hate speech, emotion classification, and cross-lingual sentence representations, with pronounced gains under limited target-language data and stronger cross-lingual coherence after continual pretraining. The results imply that tokenization design is a critical lever for multilingual representation learning, enabling more effective cross-lingual transfer and scalable language addition in low-resource contexts.
Abstract
Tokenization defines the foundation of multilingual language models by determining how words are represented and shared across languages. However, existing methods often fail to support effective cross-lingual transfer because semantically equivalent words are assigned distinct embeddings. For example, "I eat rice" in English and "Ina cin shinkafa" in Hausa are typically mapped to different vocabulary indices, preventing shared representations and limiting cross-lingual generalization. We introduce parallel tokenizers. This new framework trains tokenizers monolingually and then aligns their vocabularies exhaustively using bilingual dictionaries or word-to-word translation, ensuring consistent indices for semantically equivalent words. This alignment enforces a shared semantic space across languages while naturally improving fertility balance. To assess their effectiveness, we pretrain a transformer encoder from scratch on thirteen low-resource languages and evaluate it on sentiment analysis, hate speech detection, emotion classification, and sentence embedding similarity. Across all tasks, models trained with parallel tokenizers outperform conventional multilingual baselines, confirming that rethinking tokenization is essential for advancing multilingual representation learning--especially in low-resource settings.
