arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.13252cs.CL
收藏

使用机器翻译数据进行多语言语言模型预训练

Multilingual Language Model Pretraining using Machine-translated Data

Centre for Artificial Intelligence, University College London(伦敦大学学院人工智能中心);Together AI;Mila, McGill University(米拉-麦吉尔大学);Research and Development Center for Large Language Models, National Institute of Informatics(国立信息学研究所大语言模型研发中心)

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

AI总结:

本文提出将高质量英文数据集FineWeb-Edu机器翻译为九语构建TransWebEdu,并预训练TransWebLLM,以更少数据在多项非英语推理任务上达到或超越现有强模型。

摘要:

英语等高资源语言使得高质量大语言模型(LLM)的预训练成为可能。但大多数其他语言并非如此,因为LLM在非英语语言上的表现仍然不佳,这可能源于现有多语言预训练语料库在质量和多样性方面的差距。在本研究中,我们发现,来自单一高质量源语言的机器翻译文本能够显著提升多语言LLM的预训练质量。我们将高质量英文网络数据集FineWeb-Edu翻译成九种语言,得到一个包含1.7万亿token的数据集,将其命名为TransWebEdu,并在该数据集上从零开始预训练一个拥有13亿参数的模型TransWebLLM。在九项非英语推理任务上,我们表明,尽管使用的数据量少一个数量级,TransWebLLM仍能匹敌或超越使用封闭数据训练的最先进多语言模型,例如Llama3.2、Qwen2.5和Gemma。我们证明,加入少于5%的TransWebEdu作为领域特定预训练数据,可在阿拉伯语、意大利语、印度尼西亚语、斯瓦希里语和威尔士语的理解及常识推理任务上确立新的最先进水平。为促进可复现性,我们依据开放源代码促进会(Open Source Initiative)批准的许可证发布语料库、模型和训练流程。

英文摘要:

High-resource languages such as English, enables the pretraining of high-quality large language models (LLMs). The same can not be said for most other languages as LLMs still underperform for non-English languages, likely due to a gap in the quality and diversity of the available multilingual pretraining corpora. In this work, we find that machine-translated texts from a single high-quality source language can contribute significantly to the pretraining quality of multilingual LLMs. We translate FineWeb-Edu, a high-quality English web dataset, into nine languages, resulting in a 1.7-trillion-token dataset, which we call TransWebEdu and pretrain a 1.3B-parameter model, TransWebLLM, from scratch on this dataset. Across nine non-English reasoning tasks, we show that TransWebLLM matches or outperforms state-of-the-art multilingual models trained using closed data, such as Llama3.2, Qwen2.5, and Gemma, despite using an order of magnitude less data. We demonstrate that adding less than 5% of TransWebEdu as domain-specific pretraining data sets a new state-of-the-art in Arabic, Italian, Indonesian, Swahili, and Welsh understanding and commonsense reasoning tasks. To promote reproducibility, we release our corpus, models, and training pipeline under Open Source Initiative-approved licenses.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑