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

精细指令:将合成指令扩展到预训练规模

FineInstructions: Scaling Synthetic Instructions to Pre-Training Scale

University of Pennsylvania(宾夕法尼亚大学);University of Toronto(多伦多大学);Vector Institute(向量研究所)

Ajay Patel, Colin Raffel, Chris Callison-Burch

AI总结:

研究针对大语言模型监督训练数据有限的问题,提出将互联网规模预训练文档知识转化为合成指令和答案训练对的程序,生成FineInstructions数据集,经实验验证该方法在预训练中表现优于其他技术。

摘要:

由于监督训练数据有限,大语言模型通常通过在大量非结构化文本数据上进行自监督的“预测下一个单词”目标来预训练。为使模型对用户有用,还会在由指令和响应的监督训练示例组成的少量“指令微调”数据上进一步训练。为克服监督数据量有限的问题,我们提出一种程序,可将互联网规模预训练文档中的知识转化为数十亿个合成指令和答案训练对。由此产生的数据集FineInstructions使用从真实用户编写的查询和提示中创建的约1800万个指令模板。这些指令模板与非结构化预训练语料库中的人工编写源文档匹配并实例化。利用这种规模生成的“监督”合成训练数据,大语言模型可以仅通过指令微调目标从头开始预训练,这与大语言模型预期的下游使用(响应用户提示)更符合分布。我们进行了逐token的受控训练实验,发现在衡量自由形式响应质量的标准基准上,在FineInstructions上进行预训练优于标准预训练和其他提出的合成预训练技术。我们的资源可在这个https网址找到。

英文摘要:

Due to limited supervised training data, large language models (LLMs) are typically pre-trained via a self-supervised "predict the next word" objective on a vast amount of unstructured text data. To make the resulting model useful to users, it is further trained on a far smaller amount of "instruction-tuning" data comprised of supervised training examples of instructions and responses. To overcome the limited amount of supervised data, we propose a procedure that can transform the knowledge in internet-scale pre-training documents into billions of synthetic instruction and answer training pairs. The resulting dataset, called FineInstructions, uses ~18M instruction templates created from real user-written queries and prompts. These instruction templates are matched to and instantiated with human-written source documents from unstructured pre-training corpora. With "supervised" synthetic training data generated at this scale, an LLM can be pre-trained from scratch solely with the instruction-tuning objective, which is far more in-distribution with the expected downstream usage of LLMs (responding to user prompts). We conduct controlled token-for-token training experiments and find pre-training on FineInstructions outperforms standard pre-training and other proposed synthetic pre-training techniques on standard benchmarks measuring free-form response quality. Our resources can be found at https://huggingface.co/fineinstructions .

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

↑