arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.13169cs.CLcs.LG
收藏

预训练者的训练数据指南:衡量数据年龄、领域覆盖、质量与毒性的影响

A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity

MIT(麻省理工学院);Cornell University(康奈尔大学);Google Research(谷歌研究院);OpenAI

Shayne Longpre, Gregory Yauney, Emily Reif, Katherine Lee, Adam Roberts, Barret Zoph, Denny Zhou, Jason Wei, Kevin Robinson, David Mimno, Daphne Ippolito

AI总结:

通过预训练28个1.5B参数模型,系统研究数据年龄、质量与毒性过滤及领域组成对语言模型性能的影响,发现时间偏移导致性能下降且微调无法弥补,并验证异构数据源广泛有益。

摘要:

预训练是开发高性能语言模型(LM)的初步且基础步骤。尽管如此,预训练数据的设计在文献中记录严重不足,且常常受到缺乏实证支持的直觉指导。为解决这一问题,我们预训练了28个1.5B参数的仅解码器模型,训练数据经过不同时间点(1)、不同毒性和质量过滤(2)以及不同领域组成(3)的筛选。首先,我们量化了预训练数据年龄的影响。评估数据与预训练数据之间的时间偏移会导致性能下降,且这种下降无法通过微调来克服。其次,我们探讨了质量与毒性过滤的影响,展示了在标准基准测试性能与毒性生成风险之间存在权衡。我们的研究结果表明,不存在一种适用于所有情况的训练数据过滤解决方案。我们还发现,不同类型的过滤效果无法从文本领域特征中预测。最后,我们实证验证了包含异构数据源(如书籍和网页)具有广泛益处,并值得给予更高优先级。这些发现构成了最大规模的实验集合,用以验证、量化和揭示许多关于文本预训练的未记录直觉,我们希望这些发现有助于在LM开发中支持更明智的数据中心决策。

英文摘要:

Pretraining is the preliminary and fundamental step in developing capable language models (LM). Despite this, pretraining data design is critically under-documented and often guided by empirically unsupported intuitions. To address this, we pretrain 28 1.5B parameter decoder-only models, training on data curated (1) at different times, (2) with varying toxicity and quality filters, and (3) with different domain compositions. First, we quantify the effect of pretraining data age. A temporal shift between evaluation data and pretraining data leads to performance degradation, which is not overcome by finetuning. Second, we explore the effect of quality and toxicity filters, showing a trade-off between performance on standard benchmarks and risk of toxic generations. Our findings indicate there does not exist a one-size-fits-all solution to filtering training data. We also find that the effects of different types of filtering are not predictable from text domain characteristics. Lastly, we empirically validate that the inclusion of heterogeneous data sources, like books and web, is broadly beneficial and warrants greater prioritization. These findings constitute the largest set of experiments to validate, quantify, and expose many undocumented intuitions about text pretraining, which we hope will help support more informed data-centric decisions in LM development.

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

↑