2025-04-18 · 进阶 · 机器学习 · 自然语言处理

CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training

本文提出了一种基于聚类的迭代数据混合引导方法(CLIMB),用于优化语言模型预训练数据,显著提升了模型在特定任务和领域上的性能。

更新于 2025-04-18。作者:Shizhe Diao、Yu Yang、Yonggan Fu、Xin Dong、Dan Su、Markus Kliegl、Zijia Chen、Peter Belcak、Yoshi Suhara、Hongxu Yin、Mostofa Patwary、Yingyan、Lin、Jan Kautz、Pavlo Molchanov。

中文摘要

预训练数据集通常从网络内容中收集,缺乏内在的领域划分。例如,广泛使用的数据集如Common Crawl并不包含显式的领域标签,而手动编纂的带有标签的数据集如The Pile则需要大量的劳动投入。因此,在预训练性能方面,尽管识别最优数据混合具有显著的好处,但这仍然是一个具有挑战性的问题。为了解决这些挑战,我们提出了基于聚类的迭代数据混合引导方法(CLIMB),这是一个自动化的框架,可以在预训练环境中发现、评估和优化数据混合。具体来说,CLIMB在一个语义空间中嵌入和聚类大规模数据集,然后使用一个较小的代理模型和预测器迭代搜索最优混合。当使用这个混合持续训练4000亿个标记时,我们的100亿参数模型在性能上超过了当时最先进的Llama-3.2-1B,提高了2.0%。此外,我们还观察到,针对特定领域(例如,社会科学)进行优化可以在随机抽样基础上提高5%。最后,我们介绍了ClimbLab,这是一个带有20个聚类的过滤后的120万亿标记语料库,作为研究平台;以及ClimbMix,这是一个紧凑且功能强大的4000亿标记数据集,旨在高效地进行预训练,并在等量的标记预算下提供更优的性能。我们分析了最终的数据混合,阐明了最优数据混合的特征。我们的数据可在以下链接获取: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 (CLIMB), an automated framework that discovers, evaluates, and refines data mixtures in a pre-training setting. Specifically, 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 ClimbLab, a filtered 1.2-trillion-token corpus with 20 clusters as a research playground, and 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/

解读

一句话总结

本文提出了一种基于聚类的迭代数据混合引导方法(CLIMB),用于优化语言模型预训练数据,显著提升了模型在特定任务和领域上的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源