Expanding a Large Language Model’s (LLM) vocabulary to support new languages usually feels like trying to add a new wing to a house while people are already living in it. It’s expensive, it bloats the structure, and the new rooms often feel "unfinished" because they haven't seen as much use as the rest of the house.
In their new paper, researchers from the National University of Singapore, SAP, and CMU introduce MATE, a method that lets new languages "borrow" the furniture from English to make the expansion 8x more efficient and significantly more effective.
TL;DR
MATE (Multilingual Alignment for Token Embeddings) expands an LLM's vocabulary by partially "tying" the weights of new foreign-language tokens to their semantically equivalent English counterparts. This allows new tokens to inherit rich, pre-trained features, resulting in 8x fewer additional parameters and superior performance on multilingual benchmarks.
What Problem Does This Paper Address?
Most LLMs are born and raised on English. When you try to use them for languages like Burmese or Amharic, they struggle with tokenization. Because the model doesn't "know" these words, it fragments them into tiny, meaningless byte-level pieces. For example, the authors note that OLMo 2 tokenizes Burmese text into a sequence 12 times longer than its English equivalent. This leads to high latency, higher costs, and "diluted" meaning.
The standard fix is Vocabulary Expansion: adding new tokens for the target language. But this has two major flaws:
- Parameter Bloat: Adding 50,000 tokens to a 7B model adds billions of new parameters.
- The Cold Start Problem: These new tokens are initialized from scratch (or randomly). They never receive as many training steps as the original English tokens, leading to subpar performance and "catastrophic forgetting" of the original languages.
Methods
The researchers propose a "shared-private" architecture for embeddings. Instead of treating a new token (like the Vietnamese word for book, Sách) as a totally independent entity, they link it to an English "anchor" token (Book).
The MATE pipeline works in three main phases:
- Word Mapping: They use parallel corpora and alignment tools (
fast_align) to build a high-quality dictionary. They filter out noise, stopwords, and rare words to ensure only strong semantic pairs remain. - Token-ID Mapping: They ensure every new foreign token is mapped to exactly one English anchor token that already exists in the model’s original vocabulary.
- Embedding Weight Tying: This is the clever bit. They split the embedding vector into two parts:
- Shared (87.5%): These dimensions are physically tied to the English anchor. They don't take up extra space and they benefit from all the pre-training the English token already had.
- Private (12.5%): These are new, learnable parameters that allow the model to capture the unique nuances and grammar of the target language.
Datasets
The authors trained and evaluated MATE across ten diverse languages (Amharic, Belarusian, Spanish, Indonesian, Khmer, Lao, Burmese, Tamil, Thai, and Chinese).
- Training Data: They used massive parallel sentence datasets including NLLB, OPUS, and FineTranslations. (See the scale in Figure 2).
- Evaluation Benchmarks:
- FLORES-200: For translation (English $\leftrightarrow$ Target).
- XQuAD: For cross-lingual question answering.
- Belebele: For reading comprehension.
- Multilingual MMLU: For general world knowledge.
- Quality Control: They used Muse Spark 1.3 to evaluate the quality of their word mappings.
Key Insights and Ideas
- Semantic "Free-Riding": If "Book" and "Sách" mean the same thing, why re-learn the concept of "book-ness" from scratch? By tying the weights, the new token hits the ground running.
- Partial Tying is Key: Previous attempts at full alignment often failed because they ignored language-specific nuances. MATE’s "Private" dimensions provide the necessary wiggle room for the model to learn that a word might function differently in Vietnamese than in English.
- Efficiency = Equity: By reducing the number of tokens needed to represent a sentence (the Compression Ratio), MATE makes LLMs faster and cheaper for speakers of low-resource languages.
Key Results
MATE consistently outperformed standard vocabulary expansion methods while using a fraction of the parameters.
- Tokenization Efficiency: MATE achieved an average Compression Ratio of 1.70, compared to the baseline's 5.79. This means text is represented much more compactly. (See Figure 4).
- Downstream Performance: On the XQuAD benchmark, MATE scored 44.96% (Exact Match), crushing the baseline's 30.65%.
- Parameter Savings: As shown in the ablation study (Figure 6), MATE (at the 87.5% ratio) requires only +0.39B additional parameters for a 7B model, whereas a full expansion (+PVE) would require +3.12B.
Limitations and Future Work
While MATE is a significant step forward, the authors note a few hurdles:
- Language Scope: The study was limited to 10 languages. Expanding this to hundreds of languages is the next logical step.
- Model Scale: They tested up to 7B parameters. It remains to be seen if the 87.5% sharing ratio holds up for "frontier" models in the 70B+ range.
- Instruction Tuning: The experiments were done on base models. Future work needs to explore how MATE interacts with RLHF and instruction-following fine-tuning.
- Data Dependency: The method relies on high-quality parallel data to create the initial word mappings. For extremely rare languages, this data might still be a bottleneck.
Summary updated