arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10681cs.CLcs.LG
收藏

RePro:训练语言模型忠实回收网络数据用于预训练

RePro: Training Language Models to Faithfully Recycle the Web for Pretraining

Language Technologies Institute, Carnegie Mellon University(卡内基梅隆大学语言技术研究所)

Zichun Yu, Chenyan Xiong

AI总结:

RePro通过强化学习训练小型语言模型,忠实改写网络数据用于预训练,在多个模型规模上显著提升下游任务准确率,并提高数据效率2-3倍。

摘要:

高质量数据是大语言模型(LLM)预训练的基石,但其增长未能跟上前沿模型的需求。在本文中,我们提出了RePro,一种新颖的网络数据回收方法,通过强化学习训练一个相对较小的语言模型,以生成有效且忠实的预训练数据改写。具体而言,我们设计了一个质量奖励和三个忠实性奖励,优化语言模型改写器,将有机数据转化为高质量改写,同时保持其核心语义和结构。在我们的实验中,我们训练了一个仅1B参数的改写器,用于回收从DCLM-RefinedWeb采样的72B tokens。在400M、1.4B和2.8B模型上的预训练结果表明,RePro在22个下游任务上相比仅使用有机数据的基线,实现了3.7%-14.5%的相对准确率提升,是现有最先进的网络回收方法(提示70B改写器)所取得性能提升的两倍。不同回收数据量的实验强调,RePro将有机数据效率提高了2-3倍。个体和分布分析验证了,与基于提示的方法相比,RePro保留了更多关键信息,并忠实地反映了有机数据的特征。这些结果共同表明,RePro为有效回收有机数据用于预训练提供了一条高效且可控的路径。我们的代码可在以下网址获取:此https URL。

英文摘要:

High-quality data is a cornerstone of large language model (LLM) pretraining, yet its growth has not kept pace with the needs of frontier models. In this paper, we introduce RePro, a novel web recycling method that trains a relatively small LM with reinforcement learning to generate effective and faithful rephrasings of pretraining data. Specifically, we design one quality reward and three faithfulness rewards, optimizing the LM rephraser to convert organic data into high-quality rephrasings while maintaining its core semantics and structure. In our experiment, we train a rephraser as small as 1B parameters to recycle 72B tokens sampled from DCLM-RefinedWeb. Pretraining results on 400M, 1.4B, and 2.8B models demonstrate that RePro delivers 3.7%-14.5% relative accuracy gains over organic-only baseline on 22 downstream tasks, doubling the performance gains achieved by the state-of-the-art web recycling method that prompts a 70B rephraser. Experiments with different amounts of recycled data highlight that RePro improves organic data efficiency by 2-3x. Individual and distributional analyses validate that RePro preserves more critical information and faithfully reflects the characteristics of organic data compared to prompting-based methods. Together, these results show that RePro provides an efficient and controllable path to effectively recycle organic data for pretraining. Our code is available at https://github.com/cxcscmu/RePro.

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

↑