Abstract
Sailor2 is a family of cutting-edge multilingual language models for South-East Asian (SEA) languages, available in 1B, 8B, and 20B sizes to suit diverse applications. Building on Qwen2.5, Sailor2 undergoes continuous pre-training on 500B tokens (400B SEA-specific and 100B replay tokens) to support 13 SEA languages while retaining proficiency in Chinese and English. Sailor2-20B model achieves a 50-50 win rate against GPT-4o across SEA languages. We also deliver a comprehensive cookbook on how to develop the multilingual model in an efficient manner, including five key aspects: data curation, pre-training, post-training, model customization and evaluation. We hope that Sailor2 model (Apache 2.0 license) will drive language development in the SEA region, and Sailor2 cookbook will inspire researchers to build more inclusive LLMs for other under-served languages.
Introduction
Despite the global explosion of Large Language Models (LLMs), South-East Asia—a region with 11 countries and over 675 million people—remains significantly under-served. Most state-of-the-art models are optimized for English and Chinese, often leading to "language degeneration" or poor cultural nuance when adapted to SEA languages. Existing regional models often struggle to compete with closed-source giants like GPT-4o due to the scarcity of high-quality regional data and the technical difficulty of training on diverse scripts.
Sailor2 addresses these hurdles by providing a family of open-source models specifically engineered for 13 SEA languages. By utilizing model expansion and a massive 500B-token continual pre-training regime, the Sailor2-20B model achieves parity with GPT-4o on regional benchmarks, marking a major milestone for open-source regional AI.
Methodology
The authors built Sailor2 on top of the Qwen2.5 architecture using several sophisticated techniques designed for multilingual efficiency and performance:
- Model Expansion: Instead of standard fine-tuning, a block-expansion mechanism was used to add new layers. This allows the model to absorb new SEA knowledge in new parameters without overwriting original English or Chinese capabilities.
- Two-Stage Continual Pre-training (CPT): The models were trained on 500 billion tokens. Stage 1 used a balanced data mixture to build a broad foundation, while Stage 2 (Annealing) used high-quality tokens to sharpen performance.
- Advanced Post-Training: The team employed Length-Regularized Direct Preference Optimization (LR-DPO) to prevent "verbosity hacks" and integrated a language consistency classifier to ensure the model maintains the correct language for a given prompt.
- Efficiency Tools: Speculative decoding (GliDe) was implemented to achieve a ~2x speedup in inference, and AnchorAttention was used to extend the context window to 128K tokens.
Data Curation and Benchmarking
The project involved a massive data curation effort to support under-served languages:
- Pre-training Data: 400B SEA-specific tokens (sourced via the SailCraft tool) and 100B replay tokens (English/Chinese/Math).
- SEA-UltraChat: A newly curated instruction-tuning dataset with 4.8M examples across 14 languages.
- SEA-WildBench: A new benchmark created by translating WildBench into eight SEA languages to test real-world chat capabilities.
- CulturalBench & BLEND: Used to evaluate local cultural knowledge, such as understanding Filipino traditions or Indonesian cuisine.
Key Insights
During development, several critical insights emerged regarding multilingual training:
- Data Selection Sweet Spot: For instruction tuning, data with high perplexity (new information to the model) but high reward (high quality) proved most valuable.
- Mitigating Catastrophic Forgetting: By expanding the model (e.g., taking a 14B base to 20B), the researchers successfully mitigated the loss of English and Chinese proficiency that typically plagues regional fine-tuning.
- Regional Synergy: Models showed better performance between linguistically similar pairs (like Indonesian and Malay), suggesting the model successfully learns language family relationships.
Results
Sailor2-20B achieved a 50.4% win rate against GPT-4o on the SEA-WildBench, a first for an open-source model of this size in the region. Furthermore, Sailor2-8B and 20B consistently outperformed much larger models, such as Llama-3.1-70B, on regional tasks like IndoMMLU and Thai MMLU.
In terms of inference, speculative decoding allowed the models to achieve generation speeds up to 2.5x faster for languages like Burmese, which typically suffer from high tokenization overhead. Additionally, the authors successfully pruned the 20B model down to a 14B version that still significantly outperformed the standard Qwen2.5-14B on regional tasks.
Limitations and Future Work
While Sailor2 makes significant strides, "low-resource" remains a spectrum. Languages like Minangkabau and Acehnese still have fewer than 1 million tokens available. Future work will focus on synthetic data curation using larger models to generate high-quality training data for the most underserved languages and exploring tokenizer-free models to bypass the difficulties of complex scripts like Khmer or Lao.
Summary updated