Abstract
Large Language Models (LLMs) demonstrate remarkable translation capabilities in high-resource language tasks, yet their performance in low-resource languages is hindered by insufficient multilingual data during pre-training. To address this, we conduct extensive multilingual continual pre-training on the LLaMA series models, enabling translation support across more than 100 languages. Through a comprehensive analysis of training strategies, such as vocabulary expansion and data augmentation, we develop LLaMAX. Remarkably, without sacrificing its generalization ability, LLaMAX achieves significantly higher translation performance compared to existing open-source LLMs (by more than 10 spBLEU points) and performs on-par with specialized translation model (M2M-100-12B) on the Flores-101 benchmark. Extensive experiments indicate that LLaMAX can serve as a robust multilingual foundation model.
Introduction
While Large Language Models (LLMs) like LLaMA excel at tasks in high-resource languages, their performance typically plummets for low-resource languages due to a lack of representative data during initial pre-training. Existing attempts to bridge this gap often involve language-specific fine-tuning or vocabulary expansion. However, these methods frequently encounter "catastrophic forgetting"—where the model loses general reasoning skills—or "language collapse," where the model fails to adhere to the target language constraints. LLaMAX addresses these challenges by establishing a multilingual foundation that supports over 100 languages without compromising general intelligence.
Methodology
The development of LLaMAX relies on three core technical strategies:
- Multilingual Continual Pre-training: The models underwent large-scale training on 64 billion tokens across 102 languages using the LLaMA series as a base.
- Vocabulary Stability: Contrary to common practice, the researchers opted not to expand the model's vocabulary. Testing revealed that adding language-specific tokens can degrade internal representations. The original Byte-level Byte Pair Encoding (BBPE) proved adequate for supporting 100+ languages.
- Dictionary-based Data Augmentation: To bolster performance in low-resource languages, the team used "code-switching" to create pseudo-parallel data. By replacing words in sentences with equivalents from different languages using dictionaries like MUSE or PanLex, the model learned to bridge the gap between English and rare languages.
The training corpus included massive datasets such as MC4 and MADLAD-400 for monolingual data, and Lego-MT for parallel translation data.
Evaluation and Results
LLaMAX was evaluated primarily on the Flores-101 benchmark, with additional tests on Flores-200 to assess generalization to unseen languages.
Translation Performance
LLaMAX achieved an average improvement of over 10 spBLEU points compared to base LLaMA models. Notably, it performs on par with M2M-100-12B, a model specialized exclusively for translation, despite LLaMAX retaining its general-purpose nature.
The model also demonstrated strong zero-shot generalization. Training on 102 languages provided a "rising tide" effect, significantly improving performance even for languages in the Flores-200 set that were not included in the training data.
General Intelligence and Cross-Lingual Reasoning
A critical finding was the absence of "brain drain." On the MMLU benchmark, LLaMAX2-Alpaca scored 44.60, slightly exceeding the base model's 44.22. Furthermore, when fine-tuned for specific tasks, LLaMAX outperformed standard LLaMA models in non-English contexts.
Discussion and Conclusion
The research highlights that vocabulary expansion is often a "trap" that complicates linguistic generalization. Instead, maintaining the original vocabulary allows the LLM to use English as an internal "pivot" or bridge, mapping rare languages into a shared representational space.
While LLaMAX represents a significant step forward, the quality of web-scraped data remains a bottleneck. Future work will focus on improved data filtering and the release of instruction-tuned versions optimized for complex multilingual dialogue and reasoning.
Summary updated