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

GPT-4o作为黄金标准:一种可扩展且通用的语言模型预训练数据过滤方法

GPT-4o as the Gold Standard: A Scalable and General Purpose Approach to Filter Language Model Pretraining Data

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Ohio State University, Columbus(俄亥俄州立大学哥伦布分校)

Jifan Zhang, Ziyue Luo, Jia Liu, Ness Shroff, Robert Nowak

AI总结:

本文提出轻量级数据过滤方法SIEVE,通过主动学习将GPT-4o与轻量级文本分类模型无缝集成,以不到1%的成本匹配GPT-4o的准确率,并在DataComp-LM挑战中超越现有最先进方法。

摘要:

大型语言模型需要大量高质量的训练数据,但有效过滤网络规模的数据集仍然是一个重大挑战。本文表明,GPT-4o在识别高质量训练数据方面极为有效,但其高昂的成本使其在网络规模上不切实际。我们提出了SIEVE,这是一种轻量级的替代方案,以不到1%的成本匹配了GPT-4o的准确率。SIEVE能够以一次GPT-4o过滤调用的成本执行多达500次过滤操作。SIEVE的关键在于将GPT-4o与轻量级文本分类模型无缝集成,使用主动学习在后台通过少量调用GPT-4o来微调这些模型。一旦训练完成,它以极低的成本表现得与GPT-4o一样好。通过不同的过滤提示,SIEVE能够从网络规模的语料库中高效地为通用或专业领域策划高质量数据——鉴于当前高质量特定领域数据集的稀缺性,这是一项宝贵的能力。使用自动和人工评估指标进行的大量实验表明,SIEVE和GPT-4o在五个高度特定的过滤提示上实现了相似的性能。此外,在对网络爬取数据集执行质量过滤时,我们证明了SIEVE在DataComp-LM挑战中能够进一步超越用于选择LLM预训练数据的最先进质量过滤方法。

英文摘要:

Large language models require vast amounts of high-quality training data, but effective filtering of web-scale datasets remains a significant challenge. This paper demonstrates that GPT-4o is remarkably effective at identifying high-quality training data, but its prohibitive cost makes it impractical at web-scale. We propose SIEVE, a lightweight alternative that matches GPT-4o accuracy at less than 1\% of the cost. SIEVE can perform up to 500 filtering operations for the cost of one GPT-4o filtering call. The key to SIEVE is a seamless integration of GPT-4o and lightweight text classification models, using active learning to fine-tune these models in the background with a small number of calls to GPT-4o. Once trained, it performs as well as GPT-4o at a tiny fraction of the cost. Through different filtering prompts, SIEVE can efficiently curate high quality data for general or specialized domains from web-scale corpora -- a valuable capability given the current scarcity of high-quality domain-specific datasets. Extensive experiments using automatic and human evaluation metrics show that SIEVE and GPT-4o achieve similar performance on five highly specific filtering prompts. In addition, when performing quality filtering on web crawl datasets, we demonstrate SIEVE can further improve over state-of-the-art quality filtering methods in the DataComp-LM challenge for selecting LLM pretraining data.

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

↑