arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.06603cs.LGcs.AI
收藏

规模依赖的数据复制

Scale Dependent Data Duplication

Department of Statistics, Stanford University;AI4Science, EPFL;Department of Computer Science, Stanford University;ServiceNow Research;Department of XXX, University of YYY, Location, Country;School of ZZZ, Institute of WWW, Location, Country;École Polytechnique F\'ed\'erale de Lausanne (EPFL), CH-1015 Lausanne, Switzerland

Joshua Kazdan, Noam Levi, Rylan Schaeffer, Jessica Chudnovsky, Abhay Puri, Bo He, Mehmet Donmez, Sanmi Koyejo, David Donoho

AI总结:

研究发现数据复制在不同规模下表现不同,模型能力提升导致语义相似性梯度一致,大规模下语义碰撞加速,提出明确的规模定律以提高预测准确性。

摘要:

在预训练过程中数据复制会降低泛化能力并导致记忆化,这促使了严格的去重流程。然而,在网络规模下,什么是“复制”仍然不清楚:除了表面形式匹配外,语义等价的文档(例如翻译)在模型足够强大时可能会产生冗余的训练信号。实际上,这意味着语义上的复制在训练过程中越来越像精确的复制。我们提供了证据表明复制是规模依赖的两种方式。第一,随着模型能力的提高,语义等价文档的交叉熵损失梯度变得更加一致。相比之下,较小的模型产生的梯度反映的是表面相似性(例如共享的词)而不是语义相似性。第二,我们使用EmbeddingGemma-300m对所有1.92亿个FineWeb-Edu-Dedup文档进行了嵌入。对于中等规模的语料库,最近邻之间的余弦相似度遵循各向同性的幂律基线。然而,当语料库规模增长到数十亿个词时,最近邻的相似度急剧偏离,表明语义碰撞加速。最后,受控的预训练在从有限独特文档池中采样替换的数据上进行,结果显示有限的唯一性对小型模型有轻微的降级影响,但对大型模型则迅速增加损失惩罚,打破朴素的规模外推。我们推导了明确的规模定律,使从业者能够估计由于预训练语料库语义不唯一性导致的偏离程度。我们的结果识别并解决了一个未研究的规模依赖源,使在大规模下的预测更加准确。

英文摘要:

Data duplication during pretraining can degrade generalization and lead to memorization, motivating aggressive deduplication pipelines. However, at web scale, it is unclear what constitutes a ``duplicate'': beyond surface-form matches, semantically equivalent documents (e.g. translations) may induce redundant training signals once models become sufficiently capable. Practically, this means that semantic duplicates operate increasingly like exact duplicates during training. We present evidence that duplication is scale-dependent in two ways. First, as model capability increases, cross-entropy loss gradients for semantically equivalent documents become more aligned. Smaller models, by contrast, produce gradients that reflect surface similarity (e.g., shared tokens) rather than semantic similarity. Second, we embedded all 192 million FineWeb-Edu-Dedup documents using EmbeddingGemma-300m. For moderate corpus sizes, the cosine similarity between nearest-neighbors follows an isotropic power law baseline. However, as corpus size grows to hundreds of billions of tokens, the nearest-neighbor similarities deviate sharply, indicating accelerated semantic collisions. Finally, controlled pretraining on data sampled with replacement from pools of finite unique documents shows that limited uniqueness yields mild degradation for small models, but rapidly increasing loss penalties for larger models, breaking naive scaling extrapolation. We derive explicit scaling laws that allow practitioners to estimate deviation from expected scaling due to limited semantic uniqueness of the pretraining corpus. Our results identify and resolve an unstudied source of scale-dependence, allowing for more accurate prediction at scale.

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

↑