Nemotron-CLIMB: 基于聚类的迭代数据混合自助法用于语言模型预训练
Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training
AI总结:
本文提出Nemotron-CLIMB方法,通过聚类和迭代优化提升预训练数据混合效果,实验显示其在预训练性能上优于现有模型,同时提供了一个大规模数据集用于研究。
摘要:
预训练数据集通常从网络内容收集,缺乏内在领域划分。例如,广泛使用的Common Crawl数据集不包含显式领域标签,而手动整理标注数据集如The Pile则耗时费力。因此,确定最优预训练数据混合仍是一个具有显著预训练性能效益的挑战性问题。为了解决这些挑战,我们提出了基于聚类的迭代数据混合自助法(Nemotron-CLIMB),一种自动框架,能够在预训练设置中发现、评估和优化数据混合。具体而言,Nemotron-CLIMB在语义空间中嵌入和聚类大规模数据集,然后使用较小的代理模型和预测器迭代搜索最佳混合物。当持续训练4000亿token时,我们的1000亿参数模型在预训练性能上超过了Llama-3.2-1B模型2.0%。此外,我们观察到针对特定领域(如社会科学)优化可使随机采样提升5%。最后,我们介绍了Nemotron-ClimbLab,一个经过过滤的1.2万亿token语料库,包含20个聚类作为研究平台,以及Nemotron-ClimbMix,一个紧凑而强大的4000亿token数据集,用于高效预训练,其在同等token预算下表现优异。我们分析了最终的数据混合,阐明了最优数据混合的特性。我们的数据可在:https://research.nvidia.com/labs/lpr/climb/获取。
英文摘要:
Pre-training datasets are typically collected from web content and lack inherent domain divisions. For instance, widely used datasets like Common Crawl do not include explicit domain labels, while manually curating labeled datasets such as The Pile is labor-intensive. Consequently, identifying an optimal pre-training data mixture remains a challenging problem, despite its significant benefits for pre-training performance. To address these challenges, we propose CLustering-based Iterative Data Mixture Bootstrapping (Nemotron-CLIMB), an automated framework that discovers, evaluates, and refines data mixtures in a pre-training setting. Specifically, Nemotron-CLIMB embeds and clusters large-scale datasets in a semantic space and then iteratively searches for optimal mixtures using a smaller proxy model and a predictor. When continuously trained on 400B tokens with this mixture, our 1B model exceeds the state-of-the-art Llama-3.2-1B by 2.0%. Moreover, we observe that optimizing for a specific domain (e.g., Social Sciences) yields a 5% improvement over random sampling. Finally, we introduce Nemotron-ClimbLab, a filtered 1.2-trillion-token corpus with 20 clusters as a research playground, and Nemotron-ClimbMix, a compact yet powerful 400-billion-token dataset designed for efficient pre-training that delivers superior performance under an equal token budget. We analyze the final data mixture, elucidating the characteristics of an optimal data mixture. Our data is available at: https://research.nvidia.com/labs/lpr/climb/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。