在LLM预训练中扩展领域数据的重复使用

·

观点分析 · 2026/08/17

随着大型语言模型规模的扩大,其训练token预算也必须增加,以维持适当的每参数token数(TPP)。然而,高质量领域数据比通用网页数据更难扩展。随着模型规模和训练token预算的增加,高质量数据在训练混合中的比例往往下降。重复使用可用的高质量数据是抵消这种稀释的有效方法,但过度重复可能导致过拟合。我们在实际LLM扩展场景下研究这一权衡,其中训练token预算随模型规模成比例增长。对于固定领域,我们首先发现,令人惊讶的是,在固定TPP下,最优重复次数随模型规模略有增加。在不同领域间,我们发现最优重复次数与领域的最终验证损失呈强烈负相关:损失较低的领域通常能从更多重复中受益。相反,唯一领域数据量与最优重复次数的关系较弱。这些发现表明,在相同TPP下,在较小的代理模型上调优的重复次数可以为较大模型提供实用估计。

该研究为LLM预训练中高质量领域数据的重复使用提供了实用指导,揭示了重复次数与模型规模、验证损失的关系,并提出了可迁移的调优方法,对资源受限的团队具有重要参考价值。

As large language models scale, their training-token budgets must also increase to maintain an appropriate tokens-per-parameter ratio (\(TPP\)). However, high-quality domain data is much harder to scale than general web data. As model size and the training-token budget increase, its fraction in the training mixture tends to decrease. Repeating the available high-quality data provides an effective way to counteract this dilution, but excessive repetition may lead to overfitting. We study this trade-off under practical LLM scaling, where the training-token budget grows proportionally with model size. For a fixed domain, we first find that, surprisingly at a fixed \(TPP\), the optimal repetition count mildly increases with model size. Across different domains, we find that the optimal repetition count is strongly negatively correlated with the final validation loss of a domain: domains with lower loss can generally benefit from more repetitions. In contrast, the amount of unique domain data is only weakly related to the optimal repetition count. These findings suggest that repetition counts tuned on smaller proxy models with the same \(TPP\) can provide a practical estimate for larger models.

阅读原文

参与讨论