返回列表
论文卡
HQ、QA 与 textbook 合成数据在不同模型规模和数据预算下的最佳混合比例。
最佳合成比例取决于数据类型与尺度;rephrased 数据趋近约 30%,textbook 数据需要更低比例。 原文图源 ↗

论文详情

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

解密大模型预训练中的合成数据:标度律、收益与陷阱的系统研究

Feiyang Kang、Newsha Ardalani、Michael Kuchnik、Youssef Emad、Mostafa Elhoushi、Shubhabrata Sengupta、Shang-Wen Li、Ramya Raghavendra、Ruoxi Jia、Carole-Jean Wu · 预印本 · arXiv:2510.01631 · 论文原文 ↗

高质量自然文本有限,合成数据被视为替代来源,但“更干净”与“更少多样性”同时存在。论文问:纯 rephrased、QA-rephrased、textbook-generated 数据和它们与 CommonCrawl 的混合,分别如何改变 data/model scaling;最佳 synthetic ratio 是否随模型和预算变化;单轮 synthetic training 是否出现 model-collapse 型标度恶化?

正式评级:未评级

研究问题

  • 高质量自然文本有限,合成数据被视为替代来源,但“更干净”与“更少多样性”同时存在。论文问:纯 rephrased、QA-rephrased、textbook-generated 数据和它们与 CommonCrawl 的混合,分别如何改变 data/model scaling;最佳 synthetic ratio 是否随模型和预算变化;单轮 synthetic training 是否出现 model-collapse 型标度恶化?

背景

  • 作者统一使用 Llama-3 风格 decoder-only 架构、相同 tokenizer/optimization protocol,并把验证损失拟合为 \(\widehat L(D)=B D^{-\beta}+E\) 或 \(\widehat L(N)=A N^{-\alpha}+E\)。其中 \(E\) 是数据混合的拟合 irreducible loss,不应解释为真实熵率的无偏测量。
  • Figure 4 不再只比较两条 loss 曲线,而是在 HQ、QA、TXBK 三类合成数据上直接画出不同 \(N,D\) 下的最优混合比例,揭示“合成数据是否有用”不是二元问题。

模型与方法

  • 自然基线为 unfiltered CommonCrawl;HQ/QA 数据通过模型重写自然文档,TXBK 为模型生成的教材式文本。主 scaling sweep 使用 0%、33%、67%、100% 比例,并在固定 1B 模型扫描 \(D=1\)–200B tokens、固定 50B tokens 扫描 \(N=100\)\(M\)–3B;每条件通常有 3–5 个 variants。
  • 额外 grid search 在模型规模和 data budget 上寻找最佳比例;generator ablation 比较 Llama-3 3B/8B/70B 生成的数据。data law 用不超过 100B 的点预测 200B,model law 用不超过 2B 的模型预测 3B,避免把更远的 400B 外推当作观测。

核心结果与证据

  • Figure 4 显示 HQ rephrased 的最佳比例在所测尺度约 30%,QA 从小规模约 50% 向大规模约 30% 收敛;TXBK 在小预算通常低于 5%,随规模上升但仍显著更低。这比“固定 50% synthetic”规则更接近一个带 data-type 依赖的相图。
  • data-scaling holdout 的 RMABE 为 0.41%,model-scaling holdout 为 0.30%。在较大数据预算下,约 1/3 rephrased synthetic + 2/3 natural 达到同 validation loss 可快 5–10 倍;纯 rephrased 并不比自然文本更快,纯 TXBK 在多域尤其小预算下损失更高。
  • 33% HQ + 67% CC 给出最低拟合 \(E\);8B generator 明显优于 3B,但 70B 不再改善 downstream validation loss。作者因此只得到 mixed evidence:单轮 rephrased mixtures 未见预期退化,TXBK mixtures 则出现 model-collapse 理论所预言的坏趋势。
Figure 4 · Rephrased data approaches a roughly 30 percent optimum while textbook data remains much lower. 物理解读:The optimum is empirical and limited to the tested corpora, models and budgets. 来源:paper.pdf \(p\). 8, Figure 4

有效性与局限

  • 实验上限是 3B/200B,远低于现代 frontier pretraining;400B 模型曲线只是参数外推。主要指标为 perplexity/loss,缺少深入 human evaluation;数据领域以网页与英文任务为主,generator family 和 prompts 也有限。
  • 研究只做单轮 \(n=1\) synthetic generation,不检验递归多代 model collapse。CommonCrawl 本身并非无偏自然分布,训练/评估泄漏与语料质量难以完全排除。5–10× 是达到同 loss 的 token efficiency,不是 wall-clock 或总生成成本加速。

复现与资源

  • 原文:https://arxiv.org/abs/2510.01631。全文 25 页,PDF SHA-256:a7e3ac5091b434b390013576c19664e9e30ff9dfe235d496b144cc64076f4703。
  • 复现需固定 CommonCrawl snapshot、HQ/QA/TXBK prompts、generator checkpoint、dedup/contamination filters、mixture sampler、tokenizer、\(N,D\) grid、seeds、fit window 与 RMABE definition。应同时核算 synthetic generation FLOPs,而非只计 downstream pretraining tokens。
  • Evidence status: full-text verified; no independent reproduction performed.

阅读指南

  • 先看 Figure 4,建立 data type–model size–budget 三维依赖;再读 Figures 1–3 的 holdout scaling fits,区分实测范围和外推。随后看 generator ablation 与 model-collapse discussion,最后核对 Limitations,避免把“约 30%”当作跨语料、跨模型的普适常数。

Discussion

评论与讨论

在 GitHub 查看

评论公开保存在 GitHub Discussions;阅读无需登录,发表评论需要 GitHub 账号。