Abstract
Subword tokenizers trained on multilingual corpora naturally produce overlapping tokens across languages. Does token overlap facilitate cross-lingual transfer or instead introduce interference between languages? Prior work offers mixed evidence, partly due to varied setups and confounders, such as token frequency or subword segmentation granularity. To address this question, we devise a controlled experiment where we train bilingual autoregressive models on multiple language pairs under systematically varied vocabulary overlap settings. Crucially, we explore a new dimension to understanding how overlap affects transfer: the semantic similarity of tokens shared across languages. We first analyze our models' hidden representations and find that overlap of any kind creates embedding spaces that capture cross-lingual semantic relationships, while this effect is much weaker in models with disjoint vocabularies. On XNLI and XQuAD, we find that models with overlap outperform models with disjoint vocabularies, and that transfer performance generally improves as overlap increases. Overall, our findings highlight the advantages of token overlap in multilingual models and show that substantial shared vocabulary remains a beneficial design choice for multilingual tokenizers.
Introduction: The Vocabulary Overlap Debate
In the development of multilingual language models, a common practice is to utilize a single subword tokenizer across all target languages. This approach inherently creates vocabulary overlap, where identical character sequences (tokens) are shared between languages. These shared tokens fall into two categories: "true friends" (cognates like actor in English and Spanish) and "false friends" (coincidental overlaps like pie, which means a baked dish in English but "foot" in Spanish).
Researchers have long debated whether this overlap facilitates cross-lingual transfer or introduces "interference" that degrades performance. Previous studies have yielded conflicting results, often due to a lack of control over confounding variables such as token frequency or segmentation granularity. This research aims to isolate the impact of token overlap and the semantic similarity of shared tokens on model performance.
Methodology: Controlling for Similarity
The authors conducted a highly controlled experiment by training 24 bilingual autoregressive Transformers (85M parameters) across six diverse language pairs: English paired with Spanish, German, Turkish, Chinese, Arabic, and Swahili.
The core of the experimental design involved manipulating the vocabulary into four distinct settings to measure the impact of semantic similarity:
- Full Overlap: The standard setting using all naturally occurring shared tokens.
- High-similarity Overlap: Sharing only tokens with high cross-lingual semantic similarity.
- Low-similarity Overlap: Sharing only "false friends" (tokens with low semantic similarity).
- No Overlap: Creating completely disjoint vocabularies with no shared tokens.
To classify tokens, the researchers used contextual embeddings from a teacher model (XLM-R) to rank shared tokens by semantic similarity. Crucially, they maintained consistent data volume and token frequency across all settings to isolate the effect of the overlap type.
Empirical Results: Overlap as a Structural Anchor
The models were evaluated on zero-shot cross-lingual transfer using the XNLI (Natural Language Inference) and XQuAD (Question Answering) benchmarks. The results demonstrate a clear advantage for models with any degree of vocabulary overlap over those with disjoint vocabularies.
Key Findings
- The Failure of Disjoint Vocabularies: Models in the "No Overlap" setting performed substantially worse. For English-Spanish XNLI, the disjoint model achieved ~42.7% accuracy, while all overlapping models scored above 73%.
- Alignment via Overlap: Overlap acts as a structural anchor, forcing the model to align the embedding spaces of the two languages. This alignment occurs even when the shared tokens are "false friends" (Low-similarity setting).
- The Importance of True Friends: While any overlap helps, high-similarity tokens are the primary drivers of transfer performance. Even though these tokens represent a small portion of the training data, they provide the most significant gains.
- Language Distance and Script: For typologically distant languages or those with different scripts (e.g., English-Chinese), high-similarity overlap is critical. In these cases, sharing too many "false friends" can lead to "inverted" representations where the model aligns tokens incorrectly based solely on shared IDs.
Discussion and Future Directions
The study concludes that vocabulary overlap is a beneficial design feature rather than a source of interference. The "noise" introduced by false friends in standard tokenizers is outweighed by the structural benefits of forced embedding alignment.
However, several questions remain for future research:
- Scaling: Does the sensitivity to "false friend" interference change in massive models (70B+ parameters)?
- Multilinguality: How do these dynamics shift in models covering 100+ languages where the "vocabulary bottleneck" is more pronounced?
- Pivot Languages: Since all pairs in this study included English, exploring non-English pairs would determine if these findings hold across different language families without a dominant pivot.
Overall, the evidence suggests that maintaining substantial shared vocabulary is a robust and beneficial design choice for multilingual tokenizers.
Summary updated