arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.00808cs.CL
收藏

预测性数据选择:能预测的数据就是能教学的数据

Predictive Data Selection: The Data That Predicts Is the Data That Teaches

Vivo AI Lab(Vivo人工智能实验室)

Kashun Shum, Yuzhen Huang, Hongjian Zou, Qi Ding, Yixuan Liao, Xiaoxin Chen, Qian Liu, Junxian He

AI总结:

本文提出预测性数据选择(PreSelect)方法,利用fastText评分器选择能预测下游能力的数据,实现30B token训练超越300B基线,计算量减少10倍。

摘要:

语言模型预训练涉及在广泛语料库上进行训练,其中数据质量起着关键作用。在这项工作中,我们旨在直接估计预训练期间数据的贡献,并以高效的方式选择预训练数据。具体来说,我们从最近的发现中汲取灵感,这些发现表明,当文本领域与下游基准测试对齐时,不同模型在某些文本上的压缩效率(即归一化损失)与其下游性能强相关(Huang等人,2024)。基于这一观察,我们假设模型损失能够预测下游能力的数据也有助于有效学习,这与Thrush等人(2024)的直觉相似。为了利用这一见解,我们引入了预测性数据选择(PreSelect),一种轻量级且高效的数据选择方法,仅需训练和部署一个基于fastText的评分器。通过使用1B和3B参数模型进行的全面实验,我们证明,使用PreSelect选择的30B token训练的模型超越了在300B token上训练的普通基线的性能,实现了计算需求减少10倍。此外,在3B模型规模上使用100B token训练时,PreSelect显著优于其他竞争性数据选择基线,如DCLM和FineWeb-Edu。我们在https://github.com/hkust-nlp/PreSelect开源了我们训练的数据选择评分器以及精选的数据集。

英文摘要:

Language model pretraining involves training on extensive corpora, where data quality plays a pivotal role. In this work, we aim to directly estimate the contribution of data during pretraining and select pretraining data in an efficient manner. Specifically, we draw inspiration from recent findings showing that compression efficiency (i.e., the normalized loss) of diverse models on certain text correlates strongly with their downstream performance, when the text domain aligns with the downstream benchmarks(Huang et al., 2024). Building on this observation, we hypothesize that data on which model losses are predictive of downstream abilities also contribute effectively to learning, which shares similar intuition with Thrush et al.(2024). To leverage this insight, we introduce predictive data selection (PreSelect), a lightweight and efficient data selection method that requires training and deploying only a fastText-based scorer. Through comprehensive experiments with 1B and 3B parameter models, we demonstrate that models trained on 30B tokens selected with PreSelect surpass the performance of the vanilla baseline trained on 300B tokens, achieving a 10x reduction in compute requirements. Furthermore, PreSelect significantly outperforms other competitive data selection baselines, such as DCLM and FineWeb-Edu on a scale of 3B models trained on 100B tokens. We open-source our trained data selection scorer along with the curated datasets at https://github.com/hkust-nlp/PreSelect.

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

↑