合成数据也能像真实数据一样按规模增长,让大模型越训越强。
Scaling Laws of Synthetic Data for Language Models
- 用图算法提取重组文档中的高阶概念,自动生成多样化合成数据。
- 合成数据在3000亿tokens后性能趋于饱和,大模型用更少数据达最优。
- 适合想低成本扩展训练数据的研究者和工业界团队。
大型语言模型(LLM)的优异表现主要依赖于预训练阶段使用的高质量网络数据,但近年来这类数据正迅速枯竭。合成数据成为潜在替代方案,但其是否具备与原始数据相似的可预测扩展规律仍不明确。本文提出SynthLLM框架,通过图算法自动提取并重组多文档中的高层概念,生成多样且高质量的合成数据集。在多个模型规模上的数学实验表明:(1)合成数据稳定遵循修正后的缩放定律;(2)性能在约3000亿令牌后达到平台期;(3)大模型以更少训练数据即可逼近最优性能——例如80亿模型在1万亿令牌时达峰值,而30亿模型需4万亿。与现有方法对比显示,SynthLLM在性能和可扩展性上均更优。结果证明合成数据是有机预训练语料的可靠、可扩展替代方案,为持续提升模型性能提供了可行路径。
原文摘要 · Abstract (English)
Large language models (LLMs) achieve strong performance across diverse tasks, largely driven by high-quality web data used in pre-training. However, recent studies indicate this data source is rapidly depleting. Synthetic data emerges as a promising alternative, but it remains unclear whether synthetic datasets exhibit predictable scalability comparable to raw pre-training data. In this work, we systematically investigate the scaling laws of synthetic data by introducing SynthLLM, a scalable framework that transforms pre-training corpora into diverse, high-quality synthetic datasets. Our approach achieves this by automatically extracting and recombining high-level concepts across multiple documents using a graph algorithm. Key findings from our extensive mathematical experiments on SynthLLM include: (1) SynthLLM generates synthetic data that reliably adheres to the rectified scaling law across various model sizes; (2) Performance improvements plateau near 300B tokens; and (3) Larger models approach optimal performance with fewer training tokens. For instance, an 8B model peaks at 1T tokens, while a 3B model requires 4T. Moreover, comparisons with existing synthetic data generation and augmentation methods demonstrate that SynthLLM achieves superior performance and scalability. Our findings highlight synthetic data as a scalable and reliable alternative to organic pre-training corpora, offering a viable path toward continued improvement in model performance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。