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

生成式整理为预训练大语言模型(LLM)提供更多更优质的数据

Generative Curation Yields Bigger and Better Data for Pretraining LLMs

Stanford University(斯坦福大学);Atlantic-CC(大西洋-CC)

Michael J. Ryan, William Held, Suhas Kotha, Yejin Choi, Diyi Yang, Percy Liang

AI总结:

该研究提出GC-LLM及蒸馏后的GC-Cascade方法,在Common Crawl数据上生成更多优质预训练token,使不同规模LLM的bpb降低,还构建了17.1T token的Atlantic-CC数据集并发布相关资源。

摘要:

现代大语言模型(LLM)的预训练大多基于从互联网整理而来的数据。由于网络规模庞大,预训练依赖低成本的整理方式:即使用启发式规则和分类器从HTML中提取文本并过滤文档。我们提出了基于LLM的生成式整理(GC-LLM),它用一个LLM和有用训练数据的自然语言规范取代了上述两个阶段。该LLM遵循规范将原始HTML转换为训练文本或丢弃不合适的文档。在固定的Common Crawl数据池中,GC-LLM产生的训练token数量是DCLM的13.5倍,是Nemotron-CC的1.3倍。在参数规模为1.57亿、10亿和29亿的模型以及两个LM评估套件上,基于这些token预训练的模型的每字节比特数(bpb)比两个基线模型低,最高达12.9%。为使该方法在网络规模下实用,我们将GC-LLM蒸馏为一个快速级联模型,包括FastText、一个26M参数的Transformer和一个68M参数的BERT模型,我们将其称为级联生成式整理(GC-Cascade)。GC-Cascade与LLM整理器的过滤决策一致率达94.6%,并在10亿和29亿参数模型上进一步将观测到的最佳bpb降低了5.3%-9.1%。我们使用该级联构建了17.1T token的数据集Atlantic-CC,并发布代码和模型以复现我们的数据。

英文摘要:

Modern large language models (LLMs) are pretrained largely on data curated from the internet. Because of the web's vast scale, pretraining relies on inexpensive curation: heuristic rules and classifiers to extract text from HTML and filter documents. We introduce Generative Curation with LLMs (GC-LLM), which replaces both stages with an LLM and a natural language specification of useful training data. The LLM follows the spec to transform raw HTML into training text or discard unsuitable documents. On a fixed pool of Common Crawl data, GC-LLM yields 13.5 times as many training tokens as DCLM and 1.3 times as many as Nemotron-CC. Across models with 157M, 1B, and 2.9B parameters and two LM evaluation suites, models pretrained on these tokens achieve lower bits per byte (bpb) than both baselines by up to 12.9%. To make this approach practical at web scale, we distill GC-LLM into a fast cascade comprising FastText, a 26M-param transformer, and a 68M-param BERT model, which we call Generative Curation with Cascade (GC-Cascade). GC-Cascade agrees with the LLM curator on 94.6% of filtering decisions and further reduces best observed bpb by 5.3-9.1% on 1B and 2.9B models. We use this cascade to construct Atlantic-CC, a 17.1T-token dataset, and release code and models to reproduce our data.

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

↑