arXiv:2510.01631cs.LGcs.AI2025-10EMNLP被引 20

合成数据能提速但有讲究,用对比例才有效。

Demystifying Synthetic Data in LLM Pre-training: A Systematic Study of Scaling Laws, Benefits, and Pitfalls

  • 用重写式合成数据+自然数据混合训练,可提速5-10倍。
  • 纯合成数据训练效果差,尤其小数据时损失更高。
  • 合成数据占比约30%最佳,大生成模型未必更好。

训练数据对大语言模型的扩展至关重要,但高质量数据有限。合成数据技术为突破此限制提供了可能。我们通过大规模实证研究(超过1000个LLM,超10万GPU小时),采用统一协议和缩放定律,对比了自然网页数据、多种合成数据类型(重写文本、生成教材)及两者混合的效果。发现仅用重写式合成数据预训练,并不比自然网页数据快;但将1/3重写式合成数据与2/3自然网页数据混合,可在大数据预算下实现5-10倍加速(达到相同验证损失)。仅用教材风格合成数据预训练,在多个下游领域表现显著更差,尤其在小数据预算下。合成数据的理想比例取决于模型规模和数据预算,经验上收敛于约30%的重写式合成数据。更大的生成模型并不一定优于约80亿参数的模型。研究对单轮(n=1)大规模合成数据训练中的“模型坍塌”现象提供混合证据:重写式合成数据训练未见性能退化,而纯生成教材类数据混合训练则表现出预期的模型坍塌特征。本工作揭示了合成数据在预训练中的条件性优势,提供了实用指导。

原文摘要 · Abstract (English)

Training data plays a crucial role in Large Language Models (LLM) scaling, yet high quality data is of limited supply. Synthetic data techniques offer a potential path toward sidestepping these limitations. We conduct a large-scale empirical investigation (>1000 LLMs with >100k GPU hours) using a unified protocol and scaling laws, comparing natural web data, diverse synthetic types (rephrased text, generated textbooks), and mixtures of natural and synthetic data. Specifically, we found pre-training on rephrased synthetic data \textit{alone} is not faster than pre-training on natural web texts; while pre-training on 1/3 rephrased synthetic data mixed with 2/3 natural web texts can speed up 5-10x (to reach the same validation loss) at larger data budgets. Pre-training on textbook-style synthetic data \textit{alone} results in notably higher loss on many downstream domains especially at small data budgets. "Good" ratios of synthetic data in training data mixtures depend on the model size and data budget, empirically converging to ~30% for rephrased synthetic data. Larger generator models do not necessarily yield better pre-training data than ~8B-param models. These results contribute mixed evidence on "model collapse" during large-scale single-round (n=1) model training on synthetic data--training on rephrased synthetic data shows no degradation in performance in foreseeable scales whereas training on mixtures of textbook-style pure-generated synthetic data shows patterns predicted by "model collapse". Our work demystifies synthetic data in pre-training, validates its conditional benefits, and offers practical guidance.

合成数据预训练缩放定律LLM

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。