It’s late, you’ve spent all day debugging or reading documentation, and you just want to know: does the way we chop up text into tokens actually change how a Large Language Model (LLM) "thinks" across different languages?
The short answer from this paper is: Yes, but not in the way you’d expect.
TL;DR
Giving a model a "fairer" tokenizer—one that doesn't ignore low-resource languages—makes its internal representations of different languages look much more alike and encourages neurons to share knowledge. However, surprisingly, this internal "alignment" doesn't actually make the model better at transferring skills from one language to another. It turns out that the "script barrier" (the difficulty of moving between, say, English and Arabic) is a deep-seated issue that a better tokenizer alone can't fix.
What Problem Does This Paper Address?
Most LLMs are "English-first." Their tokenizers—the tools that break sentences into the sub-word chunks the model actually sees—are often optimized for English. This leads to high fertility in other languages: a single word in Arabic might be chopped into five tiny, meaningless fragments, while the English equivalent is just one token.
We know this hurts performance, but we didn't know how it affected the model's internal architecture during pretraining. Does a bad tokenizer prevent the model from realizing that "cat" and "قط" (qit) are the same thing? Does it stop the model from using the same "knowledge neurons" for both? And if we fix the tokenizer, does the model suddenly become a cross-lingual superstar?
Methods
The authors conducted a massive, controlled experiment. They pretrained 39 different 1B-parameter models (LLaMA-style decoders) on 30 billion tokens. They kept almost everything constant—the data quality, the model size—but swapped out the tokenizers.
They compared:
- "Starved" Tokenizers: Replicating common practice where a single tokenizer covers 419 languages, leaving very little "room" for any single non-English language.
- "Fair" Tokenizers: Optimized specifically for the five study languages (English, German, French, Arabic, and Chinese) using "byte-premium" adjustments to ensure each language got a fair share of the vocabulary.
To see what was happening inside, they used MEXA (a way to measure how similar internal representations are) and Causal Ablation (literally "killing" specific neurons to see if it damaged factual recall in both languages simultaneously).
Datasets
- Training: FineWeb-HQ (for English) and FineWeb2-HQ (for German, French, Arabic, and Chinese). These are high-quality, curated web datasets.
- Alignment Evaluation: FLORES+, a standard benchmark for parallel sentences across languages.
- Knowledge Evaluation: PolyFact, a dataset designed to test if a model knows the same fact across different languages.
- Downstream Benchmarks: A suite of 7 tasks including ARC, HellaSwag, and XNLI.
Key Insights and Ideas
- The Alignment-Transfer Dissociation: This is the "aha" moment. Usually, researchers assume that if a model's internal representations are well-aligned (i.e., "cat" and "قط" look similar in the hidden layers), then the model will be better at cross-lingual transfer. This paper proves that's not necessarily true. You can have great alignment without better transfer.
- The Magic is in the Middle: Previous studies mostly looked at the final output layer. This paper shows that a fair tokenizer dramatically improves alignment in the early-to-mid layers (0–8).
- Earlier Commitment: With a fair tokenizer, the model "decides" on the correct answer much earlier in its layers. Using a technique called the "Logit Lens," the authors showed that the model starts surfacing the correct factual answer several layers sooner than it does with a starved tokenizer.
- The Script Barrier is Real: Even with a perfectly "fair" tokenizer, transfer between English and Arabic (different scripts) is much lower than between English and French (same script). This suggests the difficulty isn't just a tokenizer artifact; it's baked into the nature of the data.
Key Results
- Alignment Boost: Fair tokenizers increased representation alignment (MEXA) significantly in layers 0-8. For example, in the EN-DE pair, the first layer to reach high alignment moved from layer 13 down to layer 10.
- Knowledge Sharing: The Causal Transfer Rate (CTR)—a measure of how much knowledge is shared in the same neurons—jumped from 0.34 to 0.56 for French and 0.10 to 0.33 for Arabic when moving from a starved to a fair tokenizer.
- Transfer Stagnation: Despite these internal improvements, the Bilingual Transfer Score (BTS)—how much English data helps the model learn a second language—remained essentially unchanged across all tokenizer types.
Limitations and Future Work
- Scale: The study was limited to 1B-parameter models and 30B tokens. It's possible that at the 70B+ scale or with trillions of tokens, these dynamics change.
- English Anchor: All bilingual models used English as one of the two languages. We don't yet know if these findings hold for pairs like Arabic-Chinese.
- Script vs. Family: Because the study only used a few languages, "different script" is often confounded with "different language family." Future work could disentangle this by looking at languages like Turkish (which switched scripts historically).
In short: Better tokenization makes for a more "organized" and "efficient" internal model brain, but it isn't a magic wand that solves the fundamental difficulty of learning across different writing systems.
Summary updated