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

最大化你的数据潜力:通过两阶段预训练增强LLM准确率

Maximize Your Data's Potential: Enhancing LLM Accuracy with Two-Phase Pretraining

NVIDIA(英伟达);Stanford University(斯坦福大学);Boston University(波士顿大学)

Steven Feng, Shrimai Prabhumoye, Kezhi Kong, Dan Su, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro

AI总结:

研究提出两阶段预训练方法,通过策略性数据选择与混合提升LLM准确率,在1T tokens规模设计混合方案并有效扩展至15T tokens和25B模型,平均准确率比随机排序和自然分布分别提升3.4%和17%。

摘要:

有效地预训练大型语言模型需要策略性的数据选择、混合和排序。然而,关于数据混合的关键细节,特别是它们在更长token训练量和更大模型规模上的可扩展性,由于模型开发者披露有限,仍然未被充分探索。为了解决这个问题,我们形式化了两阶段预训练的概念,并进行了广泛的系统性研究,探讨如何为这两个阶段选择和混合数据以最大化模型准确率。我们的研究结果表明,两阶段预训练方法在平均准确率上分别比随机数据排序和token的自然分布高出3.4%和17%。我们基于数据源质量和训练轮数提供了制定最佳混合比例的深入指导。我们提出在1T tokens的较小规模上使用下采样数据设计混合方案,然后展示了我们的方法向15T tokens的更大token训练量和25B模型规模的有效扩展。这些见解为从业者提供了一系列可遵循的步骤,以设计和扩展他们的数据混合方案。

英文摘要:

Pretraining large language models effectively requires strategic data selection, blending and ordering. However, key details about data mixtures especially their scalability to longer token horizons and larger model sizes remain underexplored due to limited disclosure by model developers. To address this, we formalize the concept of two-phase pretraining and conduct an extensive systematic study on how to select and mix data to maximize model accuracies for the two phases. Our findings illustrate that a two-phase approach for pretraining outperforms random data ordering and natural distribution of tokens by 3.4% and 17% on average accuracies. We provide in-depth guidance on crafting optimal blends based on quality of the data source and the number of epochs to be seen. We propose to design blends using downsampled data at a smaller scale of 1T tokens and then demonstrate effective scaling of our approach to larger token horizon of 15T tokens and larger model size of 25B model size. These insights provide a series of steps practitioners can follow to design and scale their data blends.

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

↑