Abstract
Multilingual Large Language Models (LLMs) often suffer from inefficient tokenization in non-English languages, particularly those with non-Latin scripts like Korean and Japanese. This "tokenization tax" results in excessive fragmentation, leading to slower inference and higher computational costs. We present MuMo, a framework that introduces a language-specific output head to predict larger linguistic units. By utilizing a two-step inference process with a verification mechanism, MuMo achieves up to a 2x speedup in text generation while maintaining the original model's reasoning capabilities and output quality.
Introduction: The Tokenization Tax
Most modern LLMs, such as Llama-2, are trained on corpora dominated by English data (often exceeding 90%). Consequently, their tokenizers are optimized for English subwords. When these models process non-Roman scripts—specifically Chinese, Japanese, and Korean (CJK)—they encounter excessive fragmentation.
As shown in Figure 1, languages like Korean and Japanese require significantly more tokens to represent the same information compared to Latin-based languages. A single word that should be one or two tokens may be shredded into 4–12 byte-level fragments. Since LLMs generate text autoregressively (one token at a time), this fragmentation directly slows down inference for non-English users. While retraining a model with a new vocabulary is a potential solution, it is prohibitively expensive and risks degrading the model's general capabilities.
The MuMo Framework
To address this, researchers from KRAFTON introduced MuMo (Accelerating Multilingual language models for a targeted Monolingual text generation). The framework optimizes inference without modifying the core weights of the base LLM.
1. Targeted LM Head
Instead of altering the base model, MuMo adds a secondary "fast-lane" output head consisting of a small Feed-Forward Network (FFN) and a language-specific vocabulary. This head is trained to predict larger, more meaningful units (e.g., full morphemes or words) using a native tokenizer for the target language.
2. Two-Step Inference with Verification
The core innovation of MuMo is its inference strategy, which ensures speed without sacrificing accuracy:
- Step 1 (Top-k Selection): The MuMo head proposes the most likely "large" tokens from its specialized vocabulary.
- Step 2 (Verification): The original, frozen multilingual model acts as a validator. It calculates the log-joint probability of the sub-tokens that constitute the proposed large token. If the base model confirms the sequence is highly probable, the word is accepted.
This verification mechanism allows the model to "jump" over multiple steps of the original tokenizer in a single iteration, effectively bypassing the fragmentation bottleneck while relying on the "wisdom" of the pre-trained base model.
Experimental Results
The framework was evaluated using Llama-2 (7B and 13B) fine-tuned on approximately 44 million tokens of translated Korean and Japanese instruction data.
- Significant Speedup: MuMo achieved a 1.92x speedup for Korean and a 2.02x speedup for Japanese in summarization tasks (XLSum) compared to standard decoding.
- Quality Preservation: Evaluation on MT-Bench and FLoRes-200 showed that MuMo maintains competitive quality. In some instances, it even improved scores by preventing the model from losing coherence across excessive sub-token fragments.
- Efficiency: By using a single architecture with an auxiliary head, MuMo avoids the memory and management overhead associated with "Speculative Decoding," which typically requires a separate draft model.
Conclusion and Future Work
MuMo successfully mitigates the efficiency gap for excessively tokenized languages through a parameter-efficient, plug-and-play architecture. While currently focused on CJK languages, future research aims to expand this framework to other fragmented scripts (e.g., Arabic, Tamil) and address the "token tax" on the input side to further optimize context window usage.
Summary updated