arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.05816cs.CLcs.LGstat.ML
收藏

利用困惑度相关性改进预训练数据

Improving Pretraining Data Using Perplexity Correlations

Stanford University(斯坦福大学)

Tristan Thrush, Christopher Potts, Tatsunori Hashimoto

AI总结:

本文提出基于困惑度-基准相关性的预训练数据选择框架,利用90个大语言模型估计相关性,在多个规模和基准上优于DSIR等现有方法。

摘要:

高质量的预训练数据通常被视为高性能语言模型的关键。然而,由于数据选择实验所需的预训练运行成本高昂,对预训练数据的理解进展缓慢。我们提出了一个框架,避免这些成本,并在不自行训练任何大语言模型的情况下选择高质量预训练数据。我们的工作基于一个简单的观察:大语言模型在许多预训练文本上的损失与下游基准性能相关,选择高相关性文档是一种有效的预训练数据选择方法。我们围绕困惑度-基准相关性的估计构建了一个新的统计数据选择框架,并使用来自 Open LLM Leaderboard 的 90 个大语言模型样本,对数万个网络域中的文本进行数据选择。在 160M 参数规模、8 个基准上的受控预训练实验中,我们的方法在每个基准上都优于 DSIR,同时与 DataComp-LM 中发现的最佳数据选择器——一种手工设计的二元分类器——表现相当。我们现在还更新了本文,纳入了预注册实验的结果,这些实验使用新的预训练数据,在多达 22 个基准的聚合上扩展到 1.4B 规模,显示我们的方法在更大规模下相比其他方法的改进越来越大。带有完整文档的 pip 包可在此处找到:https://github.com/TristanThrush/perplexity-correlations。

英文摘要:

Quality pretraining data is often seen as the key to high-performance language models. However, progress in understanding pretraining data has been slow due to the costly pretraining runs required for data selection experiments. We present a framework that avoids these costs and selects high-quality pretraining data without any LLM training of our own. Our work is based on a simple observation: LLM losses on many pretraining texts are correlated with downstream benchmark performance, and selecting high-correlation documents is an effective pretraining data selection method. We build a new statistical framework for data selection centered around estimates of perplexity-benchmark correlations and perform data selection using a sample of 90 LLMs taken from the Open LLM Leaderboard on texts from tens of thousands of web domains. In controlled pretraining experiments at the 160M parameter scale on 8 benchmarks, our approach outperforms DSIR on every benchmark, while matching the best data selector found in DataComp-LM, a hand-engineered bigram classifier. We have now also updated this paper to include results from preregistered experiments with new pretraining data on an aggregation of 22 benchmarks up to the 1.4B scale, showing increasing improvements of our method over others with more scale. A pip package with full documentation can be found here: https://github.com/TristanThrush/perplexity-correlations.

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

↑