Abstract

Multilingual language models rely on shared subword vocabularies to represent multiple languages within a limited number of token units. While such sharing is often useful, it can also create cases in which identical surface forms are treated too uniformly across languages, even when their meanings or usage differ. We investigate this limitation through cross-lingual homographs and false friends, and examine whether introducing language information earlier in the tokenization process can improve their treatment. We propose a simple tokenizer-level intervention based on language cues: language-specific characters replacing initial characters of shared-vocabulary words, reducing common identity during vocabulary construction. In intrinsic analysis, we find through tokenizer-level statistics that BPE and UnigramLM often treat cross-lingual homographs in a largely language-agnostic way, whereas the context-sensitive SaGe tokenizer diverges more strongly; our intervention removes this gap. In downstream English-to-X machine translation, our cues yield modest improvements in several settings, especially under BPE, although the effect is not consistent across all languages and evaluation sets. Overall, the findings suggest that adding lightweight language information at the tokenizer level is a promising direction for further exploration.

1 Introduction↩︎

Multilingual large language models have significantly advanced natural language processing by enabling a single model to represent multiple languages within a shared parameter space [1], [2]. A central component of these models is the tokenization process, which constructs a subword vocabulary used to encode textual input across languages. Tokenization plays a critical role in balancing computational efficiency with linguistic expressiveness, particularly in multilingual settings [3].

Figure 1: Illustration of language cues applied to a shared homograph before tokenizer training.

Because vocabulary size is limited, selecting an appropriate tokenizer configuration becomes a key architectural decision [4]. Multilingual contexts introduce unique design considerations, such as how vocabulary capacity should be distributed across languages, whether to train a shared tokenizer or aggregate language-specific ones, and how increasing the number of languages affects cross-lingual transfer performance.

In a shared vocabulary, an important challenge emerges when training tokenizers on multiple related languages: the presence of shared tokens. Related languages often contain identical surface forms that are assigned a single subword unit in the learned vocabulary. An example is the word barn, shared between English and Swedish. These shared tokens receive a single embedding representation that is jointly trained across languages during pre-training [5]. However, this shared representation may not equally capture the meanings and usage patterns of all contributing languages. Such imbalance can arise due to differences in corpus size, token frequency, or contextual usage patterns across languages.

We investigate the shared-token phenomenon through a specific class of words: cross-lingual homographs, words that share identical surface forms across different languages. While many such words preserve similar meanings across languages (or denote identical entities), they may appear in distinct contextual distributions. Moreover, some homographs correspond to false friends, carrying different meanings despite their identical surface forms. For example, the form bank in English can refer to a financial institution or the side of a river, as in In German, however, bank commonly means a bench, as in (I hit my head on the bench). False friends introduce additional complexity to multilingual tokenization: how can a single shared token represent language-dependent meanings and usage patterns?

We begin by showing that mainstream tokenizer algorithms, such as Byte-Pair Encoding [6] and Unigram Language Modeling [7], often treat homographs in a language-agnostic manner during vocabulary construction. Because the tokenizer is trained on a concatenated multilingual corpus without explicit language conditioning, identical surface forms are typically assigned a single shared subword unit. As a result, the downstream embedding representation aggregates signals from multiple languages, potentially reinforcing the imbalance we described. In contrast, the SaGe tokenizer [8], which incorporates contextual information during vocabulary construction, creates vocabularies that segment shared surface forms differently across languages more often.

To improve homograph handling even more, we introduce language cues into the tokenizer training process. These cues are language-specific Unicode characters injected into the training corpus. For each shared homograph, the first character is mapped to a language-unique cue, allowing the tokenizer to observe minimal but systematic language distinctions during vocabulary learning. The multilingual tokenizer is thus encouraged to distinguish homographs across languages, potentially allocating distinct subword units per language and enabling more balanced embeddings.

To examine whether this approach is useful beyond vocabulary construction itself, we evaluate the proposed language cues in a multilingual machine translation setting. We compare baseline and cue-based English-to-X translation models across several target languages, using both BPE and ULM tokenization and evaluating on general as well as homograph-focused test sets. While the results do not suggest a uniform improvement in every setting, they indicate that language cues can lead to small and encouraging gains, particularly in some evaluation conditions involving homographs and on more challenging benchmarks. These findings provide preliminary evidence that introducing lightweight language signals during tokenization may help mitigate problematic shared-token behavior in multilingual downstream tasks.

2 Homographs in Tokenization↩︎

Over the years, a range of approaches has been proposed to improve multilingual language models. Studies have looked into specialized vocabulary allocation schemes, composition of multilingual tokenizers from monolingual ones, increasing multilingual vocabularies, alternative encoding methods, vocabulary extension, and data-balancing or adaptation strategies for low-resource languages. Together, these methods address important challenges such as vocabulary bottlenecks, unfair allocation across languages, and weak performance on underrepresented languages. At the same time, they mostly treat multilingual tokenization as a problem of global vocabulary design, corpus balance, or model adaptation.

One common assumption in multilingual language modeling is that some degree of vocabulary overlap across languages is useful. [9] show that multilingual BERT [10] can transfer knowledge between languages even without explicit cross-lingual training, which suggests that shared structure can be useful in multilingual models. [3] show that vocabulary overlap can be beneficial in some settings, particularly for sentence-level cross-lingual tasks, even if it is not equally helpful for all tasks. [11] refine this picture by asking what kind of overlap is actually helpful. They show that overlap is usually better than having completely separate vocabularies, but mostly for words with similar meanings. Overlap between words with different meanings is much less useful , highlighting the concern for the cases of homographs and false friends.

Table 1: Distribution of tokenization patterns for false friends under BPE and BPE_SaGe.
Language Pair Tokenizer EN=Mult L2=Mult EN=L2 Same Diff
EN-DE BPE 21 16 0 33 3
BPE_SaGe 14 9 8 16 26
EN-FR BPE 6 6 1 22 5
BPE_SaGe 9 5 2 12 12

Recently, [12] and [13] showed that models often struggle to disambiguate cross-lingual homographs and may rely too heavily on orthographic similarity rather than semantic interpretation, adding to the motivation of the present work. We do not treat token sharing only as a question of vocabulary size, clustering, or vocabulary allocation. Instead, we focus on cases where identical surface forms may be tokenized in the same way, even when their meanings or usage differ across languages. Our goal is not to eliminate overlap altogether, but to provide the tokenizer with a signal so that potentially misleading shared forms can be distinguished earlier in the pipeline. In that sense, the proposed language cues operate at a different level from approaches such as [14]’s, where language embeddings are introduced on the model side during pretraining. Here, the language signal is introduced directly into the input data, at the point where shared subword units are first created.

2.1 Analysis of Homograph Tokenization↩︎

To further motivate the proposed approach, we first examine how cross-lingual homographs are tokenized by existing subword tokenizers in monolingual and bilingual settings. If multilingual tokenizers tend to segment homographs in the same way as their monolingual counterparts, even when meanings differ across languages, this would suggest that the same written form is being segmented similarly regardless of language. Such a pattern would support the need for an explicit language signal during tokenizer training.

We use a false friends dataset [15], [16] to focus on the clearest case in which identical surface forms should not necessarily be tokenized in the same way across languages. 1 compares monolingual and multilingual tokenizers on this subset under two settings: BPE,1 and SaGe with a BPE-initialized vocabulary. All tokenizers are trained on monolingual and concatenated multilingual training corpora [18], [19]. The token sequence triplets resulting from each setting (English, L2 \(\in\{\)German, French\(\}\), bilingual) are grouped into several cases: same_splits denotes cases where the English monolingual, L2 monolingual, and multilingual tokenizers all produce the same segmentation; en_t=mult_t and L2_t=mult_t denote cases where the multilingual tokenizer matches only one of the monolingual tokenizers; en_t=L2_t denotes cases where the two monolingual tokenizers agree with each other but differ from the multilingual tokenizer; and different_splits denotes cases where all three tokenizations differ.

The comparison shows a clear contrast between tokenizer families. Standard BPE often produces the same segmentation in monolingual and multilingual settings, while SaGe diverges more strongly. To determine whether this pattern extends beyond the false-friend subset, we next examine the broader set of homographs. We build a homograph dataset using a dictionary repository [20], adding four more languages to our set, and use Earth mover’s distance (EMD) to compare the tokenization distributions produced by the BPE and SaGe tokenizer families. Unlike exact category counts, EMD provides a single measure of how different the overall tokenization patterns are. Our EMD function is detailed in 7.

Table 2: Distribution of tokenization patterns for homographs under BPE (left) and ULM (right).
BPE ULM
2-8 (l)9-14 Language Tokenizer EN L2 EN All All EMD EN L2 EN All All EMD
Pair =M =M =L2 Same Diff =M =M =L2 Same Diff
EN-DE BPE 1924 1314 170 2105 894 0.66 2001 1346 191 2008 861 0.73
  w/SaGe BPE_SaGe 1141 750 470 510 3536 1218 560 278 421 3930
EN-FR BPE 1263 1055 190 1853 801 0.52 1217 1280 128 1810 727 0.67
  w/SaGe BPE_SaGe 797 879 300 786 2400 677 609 508 508 2860
EN-ES BPE 573 761 69 861 420 0.54 583 777 63 949 312 0.65
  w/SaGe BPE_SaGe 440 451 173 304 1316 490 383 216 239 1356
EN-IT BPE 1328 565 51 630 809 0.47 839 1140 46 936 422 0.56
  w/SaGe BPE_SaGe 537 283 370 205 1988 565 514 305 301 1698
EN-RO BPE 1327 712 75 1533 538 0.70 947 1098 114 1543 483 0.68
  w/SaGe BPE_SaGe 607 410 461 389 2318 607 514 425 419 2220
EN-SV BPE 606 402 52 932 173 0.67 652 437 54 821 201 0.65
  w/SaGe BPE_SaGe 422 268 221 286 968 380 266 222 255 1042

2 shows that the broader homograph set follows the same general pattern observed for false friends. Across all language pairs, BPE produces many more cases in the same_splits category, indicating that monolingual and multilingual tokenizers often preserve the same segmentation. In contrast, the SaGe variant yields substantially more cases in the different_splits category, suggesting greater divergence between monolingual and multilingual tokenization. UnigramLM (2, right) follows a similar pattern to BPE, with monolingual and multilingual tokenizers often producing the same segmentation for homographs, and SaGe reversing the trend. Taken together, these results suggest that standard BPE and ULM tend to treat cross-lingual homographs in a more language-agnostic way.

3 Language Cues for Homographs↩︎

Figure 2: Overview of multilingual language model pipeline: standard flow vs. language-cue injection.

We introduce lightweight language-specific cues during tokenizer training, at the stage where subword units are learned from text. First, we construct language-pair-specific homograph sets for English and each target language. Using these sets, we modify the training corpus by inserting language-specific Unicode cues into selected words, replacing the first character of each marked homograph with a language-unique cue. We then train tokenizers on the modified corpus and use them in a downstream machine translation setting, where we compare cue-based systems with standard baselines across several English-to-L2 language pairs.

3.1 Homograph Set Construction↩︎

To construct the homograph sets used in this work, we extracted candidate words from the all-words-in-all-languages repository [20]. For each English–L2 language pair, we found the intersection between the English word list and the corresponding target-language word list, yielding a set of shared surface forms. We then applied two filtering steps: first, we removed words shorter than three characters, in order to avoid irregular forms such as Roman numerals (e.g., ii). Then, we filtered out words that appeared less than 5 times in either language-specific training corpus. This excluded words that are either very rare overall or strongly imbalanced across the two languages, and are therefore less likely to provide reliable evidence during tokenizer training. The resulting homograph sets are diverse and include names, entities, false friends, and medical terms, among other forms.

3.2 Language Cues↩︎

Our method introduces language-specific cues directly into the tokenizer training data. 6 contains the full mapping from lowercase English letters to the language-specific Unicode cue characters we used and explains our selection. For each language, we define a unique set of 26 Unicode characters, where each cue is mapped to one of the 26 lowercase English letters.2 This creates a simple one-to-one correspondence between the first letter of a homograph and a language-specific replacement character. When a word from the homograph set is encountered in the corpus, its first character is replaced with the cue corresponding to that language and letter.

The rationale behind our cue protocol is to provide a lightweight language signal without forcing the two forms into fully separate representations. Recoverability of the original text is maintained, as the cue replaces only the first character in a systematic one-to-one manner. We verified that the selected characters are extremely rare in the corpora we used for all tasks, and never exist in beginnings of words where all other characters are standard. The cue serves as an additional indicator of the linguistic context in which the homograph appears, while the remaining characters can still be shared across languages when the tokenizer finds this useful. For example, if the English and German forms of bank receive different initial cues, the tokenizer may still learn shared subword units such as ank or nk. This allows the method to distinguish language-specific uses of a homograph while preserving the possibility of partial cross-lingual sharing.

4 Evaluation↩︎

Before evaluating the proposed method in downstream settings, we examine its static vocabulary features. We compare multilingual tokenizers trained with language cues against their standard baseline counterparts, with the goal of identifying how cue injection changes basic tokenization behavior. To characterize these differences, we use several tokenizer-level measures that capture whether cue injection changes the compactness of the learned vocabulary and the granularity of word segmentation. 3 presents statistics for token length at the vocabulary level and for Rényi efficiency [21] over a held-out development set for English–German and English–French. Cue-based multilingual tokenizers differ only modestly from their baseline counterparts, but the differences are fairly consistent.3 In both language pairs, over both tokenizer variants, cued tokens are slightly shorter and efficiency is slightly higher. The former is expected: as alphabet size increases, more tokens are necessary to encode sequences. The latter is encouraging: higher Rényi efficiency signifies a more balanced distribution of token types across a corpus.

Table 3: Vocabulary length and Rényi efficiency for English–German and English–French tokenizers.
BPE UnigramLM
2-3 (lr)4-5 Tokenizer Avg Len (Vocab) Rényi Efficiency Avg Len (Vocab) Rényi Efficiency
EN 5.9008 0.4791 6.7975 0.4565
DE 5.7986 0.5333 6.7815 0.5036
EN–DE 5.4796 0.5424 6.5370 0.4994
Cued EN–DE 5.3039 0.5480 6.4212 0.5028
FR 5.9271 0.4941 6.8727 0.4699
EN–FR 5.6342 0.5347 6.6221 0.4874
Cued EN–FR 5.4085 0.5405 6.5432 0.4873

a

b

Figure 3: Token fertility comparison between baseline and cue-based multilingual tokenizers for EN–DE, using BPE (top) and UnigramLM (bottom)..

a

b

Figure 4: Token fertility comparison between baseline and cue-based multilingual tokenizers for EN–FR, using BPE (top) and UnigramLM (bottom)..

Figures 34 compare the fertility, presented as tokens per word distributions, between baselines and cue-based multilingual tokenizers. Cued tokenizers produce fewer single-token words and more words split into three to five subwords, suggesting that cue injection encourages somewhat finer segmentation of the training data.

Although these intrinsic changes are modest, they indicate that cue injection shifts tokenizer behavior in a consistent direction before any downstream training is performed.

4.1 Language Modeling↩︎

Table 4: BPE token-level and word-level perplexity results for baseline and cued EN–L2 models. Bolded values indicate the lower perplexity for each language pair and metric.
Token PPL Word PPL
2-3 (lr)4-5 L2 Baseline Cued Baseline Cued
DE 31.1520 27.8722 581.260 593.840
FR 24.4689 22.4500 191.658 200.497
ES 23.7754 22.9584 166.750 172.643
IT 27.2915 26.1409 251.681 260.391
RO 19.8321 18.7901 192.845 200.475
SV 24.1290 22.9260 193.275 199.517
Table 5: UnigramLM token-level and word-level perplexity results for baseline and cued EN–L2 models. Bolded values indicate the lower perplexity for each language pair and metric.
Token PPL Word PPL
2-3 (lr)4-5 L2 Baseline Cued Baseline Cued
DE 27.3393 25.4110 478.566 522.405
FR 23.7659 21.7882 187.079 200.465
ES 23.0398 22.2288 155.900 161.610
IT 27.5019 25.6572 254.582 252.936
RO 18.9927 18.6392 191.166 209.748
SV 22.2304 20.9472 175.844 185.599

For each evaluated setup, we train a small GPT language model [22] to evaluate the effect of language cues through perplexity. Model architecture details are in 9. The models are trained on multilingual text from the OPUS-100 [23], [24] parallel training data, split into 90% training and 10% evaluation. For each tokenizer type, we train one model on the baseline-tokenized data and one model on the cue-tokenized data, and compare their perplexity on the evaluation split.

4 and 5 report token-level and word-level perplexity for the baseline and cue-based models. Token-level perplexity is lower for the cue-based models across all language pairs under both BPE and UnigramLM. However, word-level perplexity is generally higher for the cue-based models, with the only exception being EN–IT under UnigramLM, where it improves slightly. Since token-level perplexity depends on segmentation, word-level perplexity provides the more stable comparison in the present setting. Under this normalization, the cue-based models do not show a consistent intrinsic language-modeling advantage. The token-level perplexity results should therefore be interpreted cautiously.

4.2 Machine Translation↩︎

To further test downstream evaluation, we apply the cue-based tokenization setup to machine translation from English to L2. For each language pair, we compare two main systems: a baseline model trained on the original parallel data, and a cue-based model trained on a modified version of the same data in which homographs from the constructed set are marked with language-specific cues. Aside from the cue injection step, the baseline and cue-based systems follow the same training setup. Models use a shared vocabulary for both languages, and a shared input–output embedding matrix structure, providing a direct assessment of the cue protocol in its intended setting. We used vocabulary size 8,000. Further model architecture and implementation details are in 10.

4.2.0.1 Data

We evaluate the translation models on both standard parallel training data and additional evaluation sets in order to assess the proposed method under different conditions. As an in-domain benchmark, we use data from OPUS-100 [23], [24], a large multilingual parallel corpus covering many language pairs. In addition, we source FLORES+ [25], [26], a higher-quality multilingual dataset designed to support more reliable cross-lingual evaluation. We use it to examine whether the effects of the proposed method remain visible under stricter evaluation conditions. Finally, from each dataset we derive a homograph-focused subset: this includes, for each language pair, all and only the sentences that contain at least one homograph from the constructed homograph set on the source side.

4.2.0.2 Results

Table 6: BLEU scores for BPE across the general and homograph-focused test sets (HG).
Language Dataset Baseline Cued
Pair
EN-DE OPUS-100 30.6267 30.3367
OPUS-100 HG 30.1053 30.0800
FLORES+ 24.7286 25.0721
FLORES+ HG 24.6836 25.0575
EN-FR OPUS-100 34.5221 34.8798
OPUS-100 HG 34.7145 35.1657
FLORES+ 38.2848 38.3229
FLORES+ HG 38.2511 38.3176
EN-ES OPUS-100 37.2895 37.4394
OPUS-100 HG 37.5043 37.4970
FLORES+ 21.8633 21.9806
FLORES+ HG 21.9190 21.9801
EN-IT OPUS-100 30.4521 30.7234
OPUS-100 HG 30.0807 30.2607
FLORES+ 21.6965 22.4155
FLORES+ HG 21.7195 22.4648
EN-RO OPUS-100 31.6562 31.7001
OPUS-100 HG 31.9464 31.8473
FLORES+ 21.6225 22.0922
FLORES+ HG 21.6266 22.1890
EN-SV OPUS-100 31.7053 31.7964
OPUS-100 HG 31.2160 31.3022
FLORES+ 29.4988 29.4864
FLORES+ HG 30.1117 30.0302
Table 7: BLEU scores for UnigramLM across the general and homograph-focused test sets (HG).
Language Dataset Baseline Cued
Pair
EN-DE OPUS-100 31.1366 31.3120
OPUS-100 HG 30.5059 30.8958
FLORES+ 25.0589 24.9009
FLORES+ HG 25.0610 24.8584
EN-FR OPUS-100 34.6798 35.1994
OPUS-100 HG 34.8713 35.5586
FLORES+ 38.2869 38.0379
FLORES+ HG 38.3193 37.9941
EN-ES OPUS-100 37.7815 37.4928
OPUS-100 HG 38.2776 37.7797
FLORES+ 21.5442 22.0070
FLORES+ HG 21.6744 22.0411
EN-IT OPUS-100 30.6895 30.6468
OPUS-100 HG 30.2316 30.3133
FLORES+ 21.9172 21.8406
FLORES+ HG 21.9610 21.8537
EN-RO OPUS-100 32.2187 31.5070
OPUS-100 HG 32.3610 31.6651
FLORES+ 21.9333 22.1741
FLORES+ HG 21.9793 22.1883
EN-SV OPUS-100 31.5568 31.1292
OPUS-100 HG 30.8937 30.5175
FLORES+ 30.1542 27.8777
FLORES+ HG 30.5432 28.3570

Tables 6 and 7 present the BLEU scores for baseline and cued systems across the general and homograph-focused evaluation sets. Overall, the effect of cue injection is mixed, but several encouraging patterns emerge. Under BPE, the cued system improves over the baseline in many settings. These improvements are usually small, but they appear across both the full test sets and the homograph-focused subsets. At the same time, there are still cases in which the baseline remains stronger, such as EN–DE on OPUS-100 and EN–SV on FLORES+. A second pattern is that, for BPE, the gains are often more visible on FLORES+ than on OPUS-100. This is especially noticeable for EN–IT, EN–RO, and EN–DE. The homograph-focused subsets generally follow the same direction as the full test sets, although they do not consistently show larger gains. This suggests that the cues may influence translation behavior beyond the selected homograph cases, but not in a uniformly targeted way.

The UnigramLM results are less stable. Some language pairs show gains, such as EN–DE and EN–FR on OPUS-100 and EN–ES and EN–RO on FLORES+, but in other settings the baseline remains stronger, particularly for EN–SV. Compared with BPE, UnigramLM shows a less consistent response to cue injection across languages and evaluation sets, possibly because its probabilistic vocabulary selection makes it less sensitive to inserted cues.

Taken together, these results suggest that our cueing method is promising, but its effect is clearly tokenizer- and language-dependent. BPE appears to benefit more consistently from the cues, while UnigramLM produces a more mixed picture. Although the gains are modest, their repeated appearance across several settings supports the idea that lightweight language signals at the tokenizer level can have a meaningful downstream effect.

4.2.0.3 Statistical Robustness

For statistical robustness, we apply paired bootstrap resampling with 1,000 iterations for each evaluation set. In each case, we compute the bootstrap distribution of the BLEU difference, defined as cue BLEU minus baseline BLEU, and report its mean, standard deviation, and 95% confidence interval. This allows the observed BLEU differences to be examined beyond a single point estimate and helps assess whether the direction of the effect remains stable under repeated resampling. The full results are in 11. On BPE, two confidence intervals out of 24 do not cross zero, favoring the cued model: English–Italian on both FLORES+ and its homograph subset (mean diff 0.71 and 0.75, resp.). In UnigramLM, three confidence intervals favor the base model: English–Romanian on OPUS-100 (\(-\)​0.82), and English–Swedish on FLORES+ and its homograph subset (\(-\)​2.28 and \(-\)​2.17, resp.). The aggregate means for the bootstrap setup are \(+\)​0.1724 for BPE, and \(-\)​0.2495 for UnigramLM, greatly dominated by the two Swedish FLORES+ datasets (without which the difference drops to 0.0699).

The BPE results seem to suggest that the cue-based system often moves in a favorable direction, echoing the relatively stronger results (compared to UnigramLM) on Rényi efficiency and perplexity. UnigramLM’s results do not replicate the overall success cues had on intrinsic and language modeling benchmarks. While the differences are still small in magnitude, the number of language pairs and setups considered allow us to speculate as to the reason these two algorithms behave differently: BPE is bottom-up, merging tokens based on their components’ co-occurrence statistics, which focuses the cues’ role as alphabet items that follow similar patterns as the characters they replaced; tokens with cues will form at a slower rate than tokens with the original characters but at a similar order, which will eventually lend consistency to the resulting vocabulary. UnigramLM, on the other hand, is a top-down algorithm prioritizing candidate token likelihood, which causes it to be less sensitive to low-frequency tokens like the ones cues appear in, making its behavior on them more erratic and denying them consistency. The cues’ differentiating role may be enough to improve intrinsic statistics and LM prediction, but the semantics-heavy task of translation requires more.

4.2.0.4 Instance Analysis

It is difficult to find examples in well-established translation datasets where false friends occur in contexts that can throw English-to-L2 translations off. However, we found several instances where homograph words were translated into native words in the cued models, where the baseline kept the source form, as borrowed-from-English variants. One example is the word tour in the English sentence the rock band was due to tour the united states and canada until september 16. The baseline Spanish model translated this to la banda de rock se debió al tour a los estados unidos y a canadá hasta el 16 de septiembre., while the cued model produced la banda de rock se debía a la gira por los estados unidos y canadá hasta el 16 de septiembre. In another example, the English italy’s national football, along with german national football team is the second most successful team in the world and were the fifa world cup champions in 2006. was translated by the baseline Italian model to il calcio nazionale dell’italia, insieme alla nazionale di calcio tedesca, è il secondo team di successo nel mondo ed è stato il campionato della fifa nel 2006., with the cued model preferring squadra.

5 Conclusion↩︎

Multilingual tokenization relies on shared vocabularies in order to represent many languages within a limited number of subword units. While this sharing is often beneficial, it can also create cases in which identical surface forms are treated too uniformly across languages, even when their meanings or usage differ. We explored this problem through cross-lingual homographs and proposed a simple way to introduce language information earlier in the tokenization process.

The results presented in this work are modest, but generally encouraging. The proposed language cues do not lead to consistent gains across all settings, and their effect depends on the tokenizer, the language pair, and the evaluation set. At the same time, the repeated appearance of small improvements suggests that this type of intervention may be capturing a limitation of standard multilingual tokenization. This leaves several promising directions for future work, such as exploring whether language cues can be developed into a more general tokenization method rather than remaining a targeted intervention, or extending them to multi-script settings.

Limitations↩︎

One limitation of this work is its experimental scope. The downstream evaluation is restricted to English-to-L2 machine translation task for a specific set of languages, most of which are fairly related and use Latin-based scripts. This means that the findings should be interpreted with caution, since it is not yet clear how well the same behavior would carry over to more distant language pairs, other writing systems, or broader multilingual settings.

The proposed cueing method is also intentionally narrow: it applies only to a selected set of cross-lingual homographs, and therefore does not address other forms of potentially problematic token sharing. Other forms of cross-lingual ambiguity may not be captured by this design. At the same time, the empirical gains are generally modest and not fully consistent across tokenizers, datasets, and language pairs. Taken together, these limitations suggest that the current results are best viewed as encouraging initial evidence rather than as a complete solution. Future work will be needed to test whether similar ideas remain useful in larger multilingual models, on other tasks, and in more general language-aware tokenization schemes.

Acknowledgements↩︎

This research was supported by the Israel Science Foundation (grant No. 1166/23).

6 Cue Replacement Mappings↩︎

image

¿tbl:tab:cue95table? presents the full mapping between English ASCII characters and those for other languages.

The language cues were selected from the Extended Latin Unicode block. This choice was made for practical reasons related to SentencePiece training. First, these characters remain compatible with SentencePiece normalization. Second, they make it possible to keep the split_by_unicode_script argument set to true, which is preferred in order to avoid mixing characters from unrelated scripts within the same token. At the same time, because the cues belong to a Latin-based block, they can still participate in merge operations during tokenization training.

7 Earth Mover’s Distance↩︎

Earth mover’s distance (EMD) is used for comparing two distributions where the between the points on the supports are meaningful. For geographic histograms, this is the most natural: euclidean distance dictates the amount of effort needed to from one location to another; EMD then minimizes the total effort needed given the complete distributions. For less-trivial cases like ours, custom distance functions can be defined. The function we implement for \(d(x,y)\) is given in 8, intended to distance bins that have different counts of identical tokenizations and bring closer the bins where the multilingual vocabulary behaves regularly.

Table 8: Earth Mover’s Distance between tokenizer vocabulary consistency bins.
\(x\) / \(y\) EN=M L2=M EN=L2 Same Diff
EN=Mult 0.0
L2=Mult 0.5 0.0
EN=L2 0.7 0.7 0.0
Same 1.0 1.0 1.0 0.0
Diff 1.0 1.0 1.0 2.0 0.0

8 Intrinsic Results on All Language Pairs↩︎

Figures 5, 6, 7, and 8 present the fertility comparisons for English and Spanish, Italian, Swedish, and Romanian, respectively.

a

b

Figure 5: Token fertility comparison between baseline and cue-based multilingual tokenizers for EN–ES, using BPE (top) and UnigramLM (bottom)..

a

b

Figure 6: Token fertility comparison between baseline and cue-based multilingual tokenizers for EN–IT, using BPE (top) and UnigramLM (bottom)..

a

b

Figure 7: Token fertility comparison between baseline and cue-based multilingual tokenizers for EN–SE, using BPE (top) and UnigramLM (bottom)..

a

b

Figure 8: Token fertility comparison between baseline and cue-based multilingual tokenizers for EN–RO, using BPE (top) and UnigramLM (bottom)..

9 GPT Experimental Setup↩︎

The parameters used for the language model experiments are presented in 9.

Table 9: GPT training and model configuration parameters.
Parameter Value
Block size 128
Stride 64
Vocabulary size 8,000
Embedding dimension 256
Transformer layers 4
Attention heads 8
Epochs 3
Training batch size 16
Evaluation batch size 16
Learning rate \(5 \times 10^{-4}\)
Weight decay 0.01

10 NMT Experimental Setup↩︎

All machine translation experiments were conducted using the fairseq-based [27] implementation described by [28]. The only modification made to fairseq was in the post-processing of the validation and test outputs, so that BLEU would be computed on the correctly reconstructed text. Final BLEU scores were computed with SacreBLEU after detokenization, matching the post-processing pipeline used for the generated outputs. Apart from this step, the training pipeline followed the standard fairseq workflow, with parameters provided in 10. The tokenizer used in all experiments was SentencePiece with the standard settings. The translation architecture used in all experiments was transformer_iwslt_de_en. As a result, each model used a single tokenizer with a shared vocabulary of size 8,000, trained either with BPE or with UnigramLM. Training took between 2 and 4 hours for all models on a given setup (baseline / cues \(\times\) BPE / Unigram) on an NVidia GeForce RTX 4090 GPU server.

Table 10: Fairseq model hyperparameters used in the experiments (Encoder and Decoder).
Parameter Value
Architecture transformer_iwslt_de_en
Embedding dimension 512
FFN dimension 1024
Attention heads 4
Layers 6
Dropout 0.1
Vocabulary size 8,000
Tokenizer software SentencePiece
Tokenizer BPE / UnigramLM
Embedding sharing All embedding matrices shared
Total parameter count 35.6 million

11 Bootstrap MT↩︎

Tables 11 and 12 present full results for the bootstrap tests on BPE and UnigramLM, respectively.

Table 11: Bootstrap BLEU results for BPE across all language pairs and evaluation sets. Bold values mark the better BLEU mean between the baseline and cued systems.
Language Dataset Base Mean Cued Mean CI CI Mean CI STD
Pair
EN-DE OPUS-100 30.5622 30.2333 [-1.7228, 1.0483] -0.3288 0.7068
OPUS-100 HG 30.0941 30.01661 [-1.5112, 1.4028] -0.0775 0.7465
FLORES+ 24.7009 25.0357 [-0.5123, 1.2048] 0.3348 0.4339
FLORES+ HG 24.6783 25.0447 [-0.4346, 1.2098] 0.3663 0.4223
EN-FR OPUS-100 34.477 34.6005 [-1.0017, 0.9755] 0.1235 0.4991
OPUS-100 HG 34.7592 35.1839 [-0.2267, 1.172] 0.4246 0.3777
FLORES+ 38.2764 38.317 [-0.8081, 0.8337] 0.0406 0.4068
FLORES+ HG 38.2576 38.3066 [-0.7785, 0.8528] 0.0489 0.4138
EN-ES OPUS-100 37.2876 37.4389 [-0.4958, 0.8399] 0.1513 0.3419
OPUS-100 HG 37.5327 37.5313 [-0.7809, 0.8577] -0.0015 0.4277
FLORES+ 21.8463 21.9726 [-0.4088, 0.6504] 0.1263 0.2687
FLORES+ HG 21.9148 21.9713 [-0.5555, 0.669] 0.0565 0.3111
EN-IT OPUS-100 30.4669 30.7343 [-0.3476, 0.9778] 0.2673 0.3481
OPUS-100 HG 30.0792 30.2757 [-0.5437, 1.0203] 0.1965 0.3891
FLORES+ 21.5773 22.388 [0.1406, 1.2879] 0.7107 0.3013
FLORES+ HG 21.7211 22.4678 [0.1791, 1.3498] 0.7467 0.309
EN-RO OPUS-100 31.6467 31.6821 [-0.7409, 0.7931] 0.0353 0.3912
OPUS-100 HG 31.8597 31.7761 [-1.0102, 0.819] -0.0836 0.47
FLORES+ 21.6031 22.0766 [-0.2505, 1.1854] 0.4735 0.3727
FLORES+ HG 21.6132 22.1975 [-0.1953, 1.3399] 0.5843 0.3842
EN-SV OPUS-100 31.6725 31.6634 [-0.64, 0.6581] -0.009 0.3471
OPUS-100 HG 31.2091 31.2311 [-0.7806, 0.8409] 0.022 0.3947
FLORES+ 29.4778 29.4790 [-0.7923, 0.74077] 0.0011 0.3991
FLORES+ HG 30.0811 30.86 [-0.8853, 0.7854] -0.0724 0.4326

4pt

Table 12: Bootstrap BLEU results for UnigramLM across all language pairs and evaluation sets. Bold values mark the better BLEU mean between the baseline and cued systems.
Language Pair Dataset Base Mean Cued Mean CI CI Mean CI STD
EN-DE OPUS-100 31.0801 31.0872 [-1.0589, 0.8544] 0.007 0.4961
OPUS-100 HG 30.4799 30.788 [-0.5922, 1.1497] 0.3081 0.4499
FLORES+ 25.0344 24.8776 [-1.0065, 0.6529] -0.1568 0.4222
FLORES+ HG 25.0487 24.8476 [-1.0939, 0.7092] -0.201 0.4582
EN-FR OPUS-100 34.6611 35.0633 [-0.583, 1.6067] 0.4022 0.5898
OPUS-100 HG 34.9245 35.5875 [-0.3081, 2.0328] 0.6629 0.6242
FLORES+ 38.2886 38.0368 [-1.0739, 0.5733] -0.2517 0.4273
FLORES+ HG 38.3081 37.9923 [-1.2065, 0.5239] -0.3158 0.4383
EN-ES OPUS-100 37.7693 37.4949 [-0.914, 0.3236] -0.2743 0.3091
OPUS-100 HG 38.3088 37.8305 [-1.2022, 0.2749] -0.4782 0.3825
FLORES+ 21.5271 21.9784 [-0.0441, 0.9376] 0.4512 0.2658
FLORES+ HG 21.6727 22.0392 [-0.1863, 0.963] 0.3664 0.2913
EN-IT OPUS-100 30.6927 30.6533 [-0.7915, 0.7298] -0.0394 0.3796
OPUS-100 HG 30.258 30.3367 [-0.7897, 1.0717] 0.0787 0.4733
FLORES+ 21.9055 21.8184 [-0.6979, 0.5808] -0.0871 0.3244
FLORES+ HG 21.9552 21.8576 [-0.6841, 0.5635] -0.0975 0.3205
EN-RO OPUS-100 32.2069 31.3905 [-1.7053, -0.0142] -0.8164 0.4356
OPUS-100 HG 32.3069 31.5472 [-1.6286, 0.1514] -0.7596 0.462
FLORES+ 21.9203 22.1662 [-0.4249, 0.943] 0.2458 0.3466
FLORES+ HG 21.9923 22.168 [-0.5265, 0.8436] 0.1756 0.349
EN-SV OPUS-100 31.5023 31.084 [-1.1569, 0.2807] -0.4182 0.3724
OPUS-100 HG 30.8659 30.5252 [-1.1369, 0.4566] -0.3406 0.4566
FLORES+ 30.1383 27.8624 [-3.1942, -1.4039] -2.2759 0.4591
FLORES+ HG 30.5154 28.343 [-3.0399, -1.2409] -2.1723 0.4659

4pt

References↩︎

[1]
Roee Aharoni, Melvin Johnson, and Orhan Firat. 2019. https://doi.org/10.18653/v1/N19-1388. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 3874–3884, Minneapolis, Minnesota. Association for Computational Linguistics.
[2]
Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. 2020. http://arxiv.org/abs/1911.02116.
[3]
Tomasz Limisiewicz, Jiří Balhar, and David Mareček. 2023. https://doi.org/10.18653/v1/2023.findings-acl.350. In Findings of the Association for Computational Linguistics: ACL 2023, pages 5661–5681, Toronto, Canada. Association for Computational Linguistics.
[4]
Davis Liang, Hila Gonen, Yuning Mao, Rui Hou, Naman Goyal, Marjan Ghazvininejad, Luke Zettlemoyer, and Madian Khabsa. 2023. https://doi.org/10.18653/v1/2023.emnlp-main.813. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 13142–13152, Singapore. Association for Computational Linguistics.
[5]
Giorgos Vernikos and Andrei Popescu-Belis. 2021. https://doi.org/10.18653/v1/2021.findings-emnlp.224. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 2633–2647, Punta Cana, Dominican Republic. Association for Computational Linguistics.
[6]
Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. https://doi.org/10.18653/v1/P16-1162. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1715–1725, Berlin, Germany. Association for Computational Linguistics.
[7]
Taku Kudo. 2018. https://doi.org/10.18653/v1/P18-1007. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 66–75, Melbourne, Australia. Association for Computational Linguistics.
[8]
Shaked Yehezkel and Yuval Pinter. 2023. https://doi.org/10.18653/v1/2023.eacl-main.45. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 623–635, Dubrovnik, Croatia. Association for Computational Linguistics.
[9]
Telmo Pires, Eva Schlinger, and Dan Garrette. 2019. https://doi.org/10.18653/v1/P19-1493 In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4996–5001, Florence, Italy. Association for Computational Linguistics.
[10]
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. https://doi.org/10.18653/v1/N19-1423. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics.
[11]
Julie Kallini, Dan Jurafsky, Christopher Potts, and Martijn Bartelds. 2025. http://arxiv.org/abs/2509.18750.
[12]
Yuka Kitamura, Jiahao Huang, and Akiko Aizawa. 2025. https://doi.org/10.18653/v1/2025.ijcnlp-long.96. In Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics, pages 1779–1794, Mumbai, India. The Asian Federation of Natural Language Processing and The Association for Computational Linguistics.
[13]
Eshaan Tanwar, Gayatri Oke, and Tanmoy Chakraborty. 2026. http://arxiv.org/abs/2501.09127.
[14]
Guillaume Lample and Alexis Conneau. 2019. http://arxiv.org/abs/1901.07291.
[15]
aari1995. 2026. False friends english–german. https://huggingface.co/datasets/aari1995/false_friends_en_de. Hugging Face dataset, accessed March 11, 2026.
[16]
Wiktionary contributors. 2026. Appendix: Glossary of false friends. https://en.wiktionary.org/wiki/Appendix:Glossary_of_false_friends. Wiktionary, accessed March 11, 2026.
[17]
Taku Kudo and John Richardson. 2018. http://arxiv.org/abs/1808.06226.
[18]
Dirk Goldhahn, Thomas Eckart, and Uwe Quasthoff. 2012. https://aclanthology.org/L12-1154/. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC’12), pages 759–765, Istanbul, Turkey. European Language Resources Association (ELRA).
[19]
Leipzig Corpora Collection. 2021. https://wortschatz.uni-leipzig.de/en/download/. This work used the following Leipzig corpora for tokenizer training: [English Wikipedia 2016 1M, German Wikipedia 2021 1M, French Wikipedia 2021 1M, Spanish Wikipedia 2021 1M, Italian Wikipedia 2021 1M, Romanian Wikipedia 2021 1M, Swedish Wikipedia 2021 1M]. Available from the Leipzig Corpora Collection download portal.
[20]
Eymen Efe Altun. 2026. all-words-in-all-languages. https://github.com/eymenefealtun/all-words-in-all-languages. GitHub repository, accessed March 11, 2026.
[21]
Vilém Zouhar, Clara Meister, Juan Gastaldi, Li Du, Mrinmaya Sachan, and Ryan Cotterell. 2023. https://doi.org/10.18653/v1/2023.acl-long.284. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5184–5207, Toronto, Canada. Association for Computational Linguistics.
[22]
Alec Radford, Karthik Narasimhan, Tim Salimans, Ilya Sutskever, et al. 2018. Improving language understanding by generative pre-training.
[23]
Biao Zhang, Philip Williams, Ivan Titov, and Rico Sennrich. 2020. https://doi.org/10.18653/v1/2020.acl-main.148. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1628–1639, Online. Association for Computational Linguistics.
[24]
Jörg Tiedemann. 2012. http://www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper.pdf. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC’12), pages 2214–2218, Istanbul, Turkey. European Language Resources Association (ELRA).
[25]
NLLB Team, Marta R. Costa-jussà, James Cross, Onur Çelebi, Maha Elbayad, Kenneth Heafield, Kevin Heffernan, Elahe Kalbassi, Janice Lam, Daniel Licht, Jean Maillard, Anna Sun, Skyler Wang, Guillaume Wenzek, Al Youngblood, Bapi Akula, Loic Barrault, Gabriel Mejia Gonzalez, Prangthip Hansanti, John Hoffman, Semarley Jarrett, Kaushik Ram Sadagopan, Dirk Rowe, Shannon Spruit, Chau Tran, Pierre Andrews, Necip Fazil Ayan, Shruti Bhosale, Sergey Edunov, Angela Fan, Cynthia Gao, Vedanuj Goswami, Francisco Guzmán, Philipp Koehn, Alexandre Mourachko, Christophe Ropers, Safiyyah Saleem, Holger Schwenk, and Jeff Wang. 2024. https://doi.org/10.1038/s41586-024-07335-x. Nature, 630(8018):841–846.
[26]
Open Language Data Initiative. 2024. Flores+: A multilingual dataset for evaluation. https://huggingface.co/datasets/openlanguagedata/flores_plus. Hugging Face dataset card, accessed April 11, 2026.
[27]
Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. 2019. fairseq: A fast, extensible toolkit for sequence modeling. In Proceedings of NAACL-HLT 2019: Demonstrations.
[28]
Junyoung Lee, Marco Cognetta, Sangwhan Moon, and Naoaki Okazaki. 2025. https://doi.org/10.18653/v1/2025.loresmt-1.8. In Proceedings of the Eighth Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2025), pages 66–80, Albuquerque, New Mexico, U.S.A. Association for Computational Linguistics.

  1. SentencePiece version [17].↩︎

  2. In all experiments, we lowercased the data in pre-processing.↩︎

  3. Similar patterns are observed across the remaining language pairs; the corresponding tables and fertility plots are provided in 8.↩︎