LLaMAX: Scaling Linguistic Horizons of LLM by Enhancing Translation Capabilities Beyond 100 Languages
Yinquan Lu, Wenhao Zhu, Lei Li, Yu Qiao, Fei Yuan
TL;DR
This work addresses the translation performance gaps of large language models for low-resource languages by performing massive multilingual continual pre-training on LLaMA2, yielding LLaMAX that supports over 100 languages. It systematically analyzes vocabulary design and data augmentation, finding that preserving the original vocabulary and leveraging parallel data for augmentation provides the best balance between multilingual coverage and performance. Through large-scale training and subsequent instruction-tuning, LLaMAX achieves substantial gains in Flores-101 and Flores-200 benchmarks, closing the gap with specialized translation systems while maintaining general capabilities and mitigating catastrophic forgetting. The approach offers a robust multilingual foundation model with open-source resources for broad multilingual NLP tasks and downstream fine-tuning.
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. The code \footnote{\url{https://github.com/CONE-MT/LLaMAX/.}} and the models \footnote{\url{https://huggingface.co/LLaMAX/.}} are publicly available.
