Multilingual Language Model Pretraining using Machine-translated Data

Jiayi Wang, Yao Lu, Maurice Weber, Max Ryabinin, David Ifeoluwa Adelani, Yihong Chen, Raphael Tang, Pontus Stenetorp

Abstract: Jiayi Wang, Yao Lu, Maurice Weber, Max Ryabinin, David Ifeoluwa Adelani, Yihong Chen, Raphael Tang, Pontus Stenetorp. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing.

2025.

Introduction

The "multilingual gap" in artificial intelligence remains a significant hurdle for global accessibility. While English-centric web data is abundant and high-quality, most other languages suffer from a scarcity of high-quality training data. Current web-crawled multilingual corpora are often noisy, poorly filtered, or lack diversity. This data scarcity is particularly acute for low-resource languages like Welsh or Swahili. This research investigates a "cold-start" strategy: bypassing the lack of native data by translating high-quality English educational content into other languages to pretrain competitive foundation models.

Methodology

The researchers developed a systematic pipeline to create TransWebEdu, a massive, multi-way parallel corpus of 1.7 trillion tokens across ten languages (Arabic, English, French, German, Indonesian, Italian, Russian, Spanish, Swahili, and Welsh).

Data Pipeline

The process began with a 100B-token subset of FineWeb-Edu, an English corpus curated for high educational value. To maintain document-level structure during translation, the authors employed a three-step reconstruction process:

  1. Segmentation: English documents were split into individual sentences.
  2. Translation: The NLLB-200-1.3B model translated each sentence into the target languages.
  3. Reconstruction: Translated sentences were concatenated back into full documents.
The systematic pipeline for document translation and reconstruction.

Model Training

The primary model, TransWebLLM (1.3B parameters), was trained from scratch on this 1.7T token mixture. The authors also explored two variants: TransWebLLM-web, which incorporates a small amount of real web data, and TransWebLLM-cool, which includes a final "cooldown" phase using rephrased synthetic data, Python code, and QA pairs.

Key Results

TransWebLLM demonstrated remarkable efficiency, matching or outperforming established models like Llama 3.2 (1.3B) and Qwen 2.5 (1.5B) on non-English tasks, despite those models being trained on significantly larger datasets (up to 18T tokens).

Performance comparison of TransWebLLM against state-of-the-art multilingual and language-specific models.

Performance Highlights

  • Low-Resource Languages: For Swahili and Welsh, TransWebLLM achieved accuracy improvements of 13% and 19% respectively compared to Qwen3 (1.7B).
  • State-of-the-Art Benchmarks: The "TransWebLLM-cool" variant became the top-performing model of its size for Arabic, Indonesian, and Welsh on understanding and commonsense reasoning tasks.
  • Cross-Lingual Transfer: In French, TransWebLLM (trained on 150B translated tokens) surpassed CroissantLLM, which utilized 3T tokens, half of which were native French.

Discussion and Insights

The findings suggest that quality trumps authenticity in pretraining data. "Translationese"—machine-translated text derived from high-quality educational content—proved more valuable than native but low-quality web-crawled text.

Furthermore, "logit lens" analysis revealed that TransWebLLM avoids the "English pivot" common in other models. While models like Llama and Qwen often "think" in English in their middle layers before translating back to the target language, TransWebLLM showed a gradual, native-like alignment with the target language throughout its layers.

Conclusion and Future Work

This study confirms that machine translation is a scalable and effective way to bootstrap models for languages lacking high-quality native data. Future research will explore whether these benefits scale to larger parameter counts (70B+) and investigate the optimal mixing ratios of translated versus native web data. While sentence-level translation can occasionally impact document coherence, the overall gains in linguistic proficiency and reasoning are substantial.

Summary updated

BibTeX
@misc{wang2025multilingual,
  author = {Jiayi Wang and Yao Lu and Maurice Weber and Max Ryabinin and David Ifeoluwa Adelani and Yihong Chen and Raphael Tang and Pontus Stenetorp},
  title = {{Multilingual Language Model Pretraining using Machine-translated Data}},
  year = {2025},
  eprint = {2502.13252},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.13252},
}
Figure